Modul:ferhengok/dane
Belgekirina modulê[nîşan bide] [biguhêre] [rojane bike]
- Ev belge ji Modul:ferhengok/dane/belge hatiye girtin.
Binêre
biguhêrelocal labels = {}
local aliases = {}
local interwiki = {}
local deprecated = {}
local replacements = {
labels = {},
aliases = {},
deprecated = {},
}
-- -ê, -a, -yê, ya
labels['ê'] = {
display = 'ê',
omit_preComma = true,
omit_preSpace = true,
}
labels['a'] = {
display = 'a',
omit_preComma = true,
omit_preSpace = true,
}
labels['yê'] = {
display = 'yê',
omit_preComma = true,
omit_preSpace = true,
}
labels['ya'] = {
display = 'ya',
omit_preComma = true,
omit_preSpace = true,
}
-- Helper labels
labels['?'] = {
omit_preComma = true,
omit_preSpace = true,
}
labels['_'] = {
display = '',
omit_preComma = true,
omit_postComma = true,
}
labels['li gor'] = {
omit_postComma = true,
}
labels['herwiha'] = {--"also"
omit_postComma = true,
}
labels['bo nimûne'] = {
omit_postComma = true,
}
labels['û'] = {
omit_preComma = true,
omit_postComma = true,
}
aliases['&'] = 'û'
labels['an'] = { --"or"
omit_preComma = true,
omit_postComma = true,
}
labels['yan'] = { --"or"
omit_preComma = true,
omit_postComma = true,
}
labels[';'] = {
omit_preComma = true,
omit_postComma = true,
omit_preSpace = true,
}
labels['by'] = {
omit_preComma = true,
omit_postComma = true,
}
labels['with'] = {
omit_preComma = true,
omit_postComma = true,
}
aliases['+'] = 'with'
-- combine with 'except in', 'outside'? or retain for entries like "wnuczę"?
labels['except'] = {
omit_preComma = true,
omit_postComma = true,
}
labels['outside'] = {
omit_preComma = true,
omit_postComma = true,
}
aliases['except in'] = 'outside'
labels["berfirehkirî"] = {
display = "[[berfireh]]kirî",
}
aliases["by extension"] = "berfirehkirî"
aliases["hence"] = "by extension"
-- Qualifier labels
labels['gelek'] = { --very
omit_postComma = true,
}
labels['zêde'] = { --very
omit_postComma = true,
}
labels['esasen'] = {
omit_postComma = true,
}
labels['bi gelemperî'] = {
omit_postComma = true,
}
labels['bi taybetî'] = {
omit_postComma = true,
}
aliases['xisûsen'] = 'bi taybetî'
labels['qismen'] = {
omit_postComma = true,
}
labels['ji xeynî'] = {
omit_postComma = true,
}
aliases['ji bilî'] = 'ji xeynî'
aliases['xeynî'] = 'ji xeynî'
labels['bi zêdeyî'] = {
omit_postComma = true,
}
labels['bi piranî'] = {
omit_postComma = true,
}
labels['bi yarîkî'] = { omit_postComma = true,
sense_categories = { "henekî" },
}
aliases['bi henekî'] = 'bi yarîkî'
aliases['henekî'] = 'bi yarîkî'
aliases['qerfî'] = 'bi yarîkî'
labels['including'] = {
omit_postComma = true,
}
labels['many'] = { -- e.g. "many dialects"
omit_postComma = true,
}
labels['markedly'] = {
omit_postComma = true,
}
labels['hinek'] = {--mildly
omit_postComma = true,
}
labels['niha'] = {
omit_postComma = true,
}
aliases['nowadays'] = 'niha'
aliases['Now'] = 'niha'
aliases['vê gavê'] = 'niha'
aliases['now'] = 'niha'
labels['of'] = {
omit_postComma = true,
}
labels['of a'] = {
omit_postComma = true,
}
labels['of an'] = {
omit_postComma = true,
}
labels['often'] = {
omit_postComma = true,
}
labels['originally'] = {
omit_postComma = true,
}
labels['possibly'] = {
omit_postComma = true,
}
-- aliases['perhaps'] = 'possibly'
labels['rarely'] = {
omit_postComma = true,
}
labels['sentence adverb'] = {
glossary = true,
pos_categories = { "sentence adverbs" },
}
labels['slightly'] = {
omit_postComma = true,
}
labels['carinan'] = {--sometimes
omit_postComma = true,
}
aliases['carina'] = 'carinan'
labels['somewhat'] = {
omit_postComma = true,
}
labels['strongly'] = {
omit_postComma = true,
}
labels['then'] = {
omit_postComma = true,
} -- e.g. "then colloquial, now dated"
labels['typically'] = {
omit_postComma = true,
}
labels['usually'] = {
omit_postComma = true,
}
-- Regional labels
local m_regional = require("Modul:ferhengok/dane/herêmî")
for key, val in pairs(m_regional.labels) do
labels[key] = val
end
for key, val in pairs(m_regional.aliases) do
aliases[key] = val
end
for key, val in pairs(m_regional.deprecated) do
deprecated[key] = val
end
-- Etîketên mijaran
local m_topical = require("Modul:dara kategoriyan/ferhengokkatbike/dane/ferhengok")
for key, val in pairs(m_topical.LABELS) do
labels[key] = val
end
for key, val in pairs(m_topical.aliases) do
aliases[key] = val
end
for key, val in pairs(m_topical.interwiki) do
interwiki[key] = val
end
for key, val in pairs(m_topical.deprecated) do
deprecated[key] = val
end
-- Etîketên rêzimanî
local m_pos = require("Modul:dara kategoriyan/ferhengokkatbike/dane/rêzimanî")
for key, val in pairs(m_pos.LABELS) do
labels[key] = val
end
for key, val in pairs(m_pos.aliases) do
aliases[key] = val
end
for key, val in pairs(m_pos.deprecated) do
deprecated[key] = val
end
-- Etîketên maneyan
local m_pos = require("Modul:dara kategoriyan/ferhengokkatbike/dane/mane")
for key, val in pairs(m_pos.LABELS) do
labels[key] = val
end
for key, val in pairs(m_pos.aliases) do
aliases[key] = val
end
for key, val in pairs(m_pos.deprecated) do
deprecated[key] = val
end
--[[ Add subvariety labels and the corresponding aliases
and deprecated labels if they have a language code
in the "languages" field. ]]
local m_subvarieties = require("Modul:ferhengok/dane/subvarieties")
for key, val in pairs(m_subvarieties.labels) do
if labels[key] then
replacements.labels[key] = labels[key]
end
if val.languages then
labels[key] = val
end
end
for key, val in pairs(m_subvarieties.aliases) do
if aliases[key] then
replacements.aliases[key] = aliases[key]
end
if labels[val] then
aliases[key] = val
end
end
for key, val in pairs(m_subvarieties.deprecated) do
if deprecated[key] then
replacements.deprecated[key] = deprecated[key]
end
if labels[key] then
deprecated[key] = val
end
end
return {
["labels"] = labels,
["aliases"] = aliases,
["interwiki"] = interwiki,
["deprecated"] = deprecated,
["replacements"] = replacements,
}