Module:headword/data: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
Line 23: Line 23:
"pinyin",
"pinyin",
"rafsi",
"rafsi",
"romaji",
}, function(_, item)
}, function(item)
return item
return item
end)
end)


-- Irregular non-zero plurals AND any regular plurals where the singular ends in "s",
-- Irregular non-zero plurals AND any regular plurals where the singular ends in "s",
-- because the module assumes that inputs ending in "s" are plurals.
-- because the module assumes that inputs ending in "s" are plurals. The singular and
for k, v in next, {
-- plural both need to be added, as the module will generate a default plural if
-- the input doesn't match a key in this table.
for sg, pl in next, {
mora = "morae"
mora = "morae"
} do
} do
irregular_plurals[k] = v
irregular_plurals[sg], irregular_plurals[pl] = pl, pl
irregular_plurals[v] = v -- Ensures singular and plural inputs work as expected.
end
end


data.invariable = irregular_plurals -- To be removed.
data.irregular_plurals = irregular_plurals
data.irregular_plurals = irregular_plurals


Line 162: Line 161:
"passive participles",
"passive participles",
"past active participles",
"past active participles",
"past adverbial participles",
"past participles",
"past participles",
"past participle forms",
"past participle forms",
Line 176: Line 176:
"prepositional pronouns",
"prepositional pronouns",
"present active participles",
"present active participles",
"present adverbial participles",
"present participles",
"present participles",
"present passive participles",
"present passive participles",
"preverb forms",
"pronoun forms",
"pronoun forms",
"pronoun possessive forms",
"pronoun possessive forms",
Line 413: Line 415:
"fi", -- Finnish; hyphen used to separate components in compound words if the final and initial vowels match, respectively
"fi", -- Finnish; hyphen used to separate components in compound words if the final and initial vowels match, respectively
"hil", -- Hiligaynon; hyphens for mid-word glottal stops
"hil", -- Hiligaynon; hyphens for mid-word glottal stops
"hnn", -- Hanunoo; too many false positives
"ilo", -- Ilocano; hyphens for mid-word glottal stops
"ilo", -- Ilocano; hyphens for mid-word glottal stops
"kne", -- Kankanaey; hyphens for mid-word glottal stops
"kne", -- Kankanaey; hyphens for mid-word glottal stops
Line 437: Line 440:
"bbc",
"bbc",
"bug",
"bug",
"cdo",
"cia",
"cia",
"cjm",
"cjm",
"cjy",
"cmn",
"cmn",
"cnp",
"cpi",
"cpi",
"cpx",
"csp",
"czh",
"czo",
"gan",
"hak",
"hak",
"hnm",
"hsn",
"ja",
"ja",
"kzg",
"kzg",
"lad",
"lad",
"ltc",
"luh",
"lzh",
"lzh",
"mnp",
"ms",
"ms",
"mul",
"mul",
"mvi",
"mvi",
"nan",
"nan",
"nan-dat",
"nan-hbl",
"nan-hbl",
"nan-hnm",
"nan-hlh",
"nan-luh",
"nan-lnx",
"nan-tws",
"nan-tws",
"nan-zhe",
"nan-zsh",
"och",
"oj",
"oj",
"okn",
"okn",
Line 460: Line 480:
"ryu",
"ryu",
"sh",
"sh",
"sjc",
"tgt",
"tgt",
"th",
"th",
Line 467: Line 488:
"und",
"und",
"vi",
"vi",
"wuu",
"xug",
"xug",
"yoi",
"yoi",
Line 473: Line 495:
"za",
"za",
"zh",
"zh",
"zhx-sic",
"zhx-tai",
}
}


Line 658: Line 682:
det = "determiner",
det = "determiner",
cnum = "cardinal number",
cnum = "cardinal number",
compadj = "comparative adjective",
compadv = "comparative adverb",
conj = "conjunction",
conj = "conjunction",
conv = "converb",
conv = "converb",
Line 670: Line 696:
pn = "proper noun",
pn = "proper noun",
postp = "postposition",
postp = "postposition",
pre = "preposition",
pref = "prefix",
prep = "preposition",
prep = "preposition",
pro = "pronoun",
pron = "pronoun",
pron = "pronoun",
prop = "proper noun",
prop = "proper noun",
proper = "proper noun",
proper = "proper noun",
propn = "proper noun",
onum = "ordinal number",
onum = "ordinal number",
rom = "romanization",
suf = "suffix",
supadj = "superlative adjective",
supadv = "superlative adverb",
v = "verb",
v = "verb",
vb = "verb",
vb = "verb",

Navigation menu