This module contains data used by Module:headword and Module:headword/templates.

The function at the bottom of the module transforms the tables, so that they contain [item1] = true, [item2] = true, ....


local data = {}

data.invariable = {
	"cmavo",
	"cmene",
	"fu'ivla",
	"gismu",
	"Han tu",
	"hanzi",
	"hanja",
	"jyutping",
	"kanji",
	"lujvo",
	"phrasebook",
	"pinyin",
	"rafsi",
	"romaji",
}

data.lemmas = {
	"abbreviations",
	"acronyms",
	"panmidbid",
	"adnominals",
	"adpositions",
	"pan-abay",
	"affixo",
	"ambipositions",
	"articles",
	"circumfixo",
	"circumpositions",
	"classifiers",
	"cmavo",
	"cmavo clusters",
	"cmene",
	"combining forms",
	"conjunctions",
	"counters",
	"determiner",
	"diacritical marks",
	"equative adjectives",
	"fu'ivla",
	"gismu",
	"Han characters",
	"Han tu",
	"hanzi",
	"hanja",
	"idioma",
	"infixo",
	"interfixo",
	"initialisms",
	"interjections",
	"kanji",
	"letters",
	"ligatures",
	"lujvo",
	"morphemes",
	"non-constituents",
	"pangngaran",
	"numbers",
	"numeral symbols",
	"numerals",
	"particles",
	"phrases",
	"postpositions",
	"postpositional phrases",
	"predicatives",
	"prefixo",
	"prepositions",
	"prepositional phrases",
	"preverbs",
	"pronominal adverbo",
	"panangli",
	"proverbs",
	"pangngaran na pamidbid",
	"punctuation marks",
	"relativo",
	"ugat",
	"stems",
	"sufixo",
	"silaba",
	"na mga simbolo",
	"panhiro",
}

data.nonlemmas = {
	"active participles",
	"adjectival participles",
	"pormang panmidbid",
	"panmidbid na pambabayi",
	"panmidbid sa tangga nin pag-agid", -- TODO: replace with "comparative adjectives" or "comparative adjective forms", depending on which one the word is
	"adjective equative forms",
	"gulpihan na panmidbid",
	"panmidbid sa tangga nin palabi", -- TODO: replace with "superlative adjectives" or "superlative adjective forms", depending on which one the word is
	"pan-abay na porma",
	"adverb comparative forms", -- TODO: replace with "comparative adverbs" or "comparative adverb forms", depending on which one the word is
	"adverb superlative forms", -- TODO: replace with "superlative adverbs" or "superlative adverb forms", depending on which one the word is
	"adverbial participles",
	"agent participles",
	"article forms",
	"circumfix forms",
	"combined forms",
	"comparative adjective forms",
	"mga panmidbid na pag-agid",
	"comparative adverb forms",
	"comparative adverbs",
	"contractions",
	"converbs",
	"determiner comparative forms",
	"determiner forms",
	"determiner superlative forms",
	"diminutive nouns",
	"future participles",
	"gerunds",
	"infinitive forms",
	"infinitives",
	"interjection forms",
	"jyutping",
	"kanji readings",
	"misspellings",
	"negative participles",
	"nominal participles",
	"noun case forms",
	"noun dual forms",
	"porma kan pangngaran",
	"gulpihan na porma kan pangngaran",
	"noun possessive forms",
	"saroan na porma kan pangngaran",
	"numeral forms",
	"participles",
	"participle forms",
	"particle forms",
	"passive participles",
	"past active participles",
	"nag-aging kapanahunan ",
	"panhiro sa nag-aging kapanahunan",
	"past passive participles",
	"perfect active participles",
	"perfect participles",
	"perfect passive participles",
	"pinyin",
	"gulpihan",
	"postposition forms",
	"prefix forms",
	"preposition contractions",
	"preposition forms",
	"prepositional pronouns",
	"present active participles",
	"panhiro sa simpleng kapanahunan",
	"present passive participles",
	"pronoun forms",
	"pronoun possessive forms",
	"porma kan pangngaran na pamidbid",
	"gulpihan porma kan pangngaran na pamidbid",
	"rafsi",
	"romanizations",
        "root forms",
	"singulatives",
	"porma kan sufixo",
	"superlative adjective forms",
	"mga panmidbid na palabi",
	"superlative adverb forms",
	"superlative adverbs",
	"porma kan panhiro",
	"pangngaran na panhiro",
	"panhiro sa paabuton na kapanahunan",
	"panhiro sa presenteng kapanahunan",
}

data.notranslit = {
	"ams",
	"az",
	"bbc",
	"bug",
	"cia",
	"cjm",
	"cmn",
	"hak",
	"ja",
	"kzg",
	"lad",
	"lzh",
	"ms",
	"mul",
	"mvi",
	"nan",
	"oj",
	"okn",
	"pi",
	"ro",
	"ryn",
	"rys",
	"ryu",
	"sh",
	"tgt",
	"th",
	"tkn",
	"tly",
	"und",
	"vi",
	"xug",
	"yue",
	"yoi",
	"yox",
	"za",
	"zh",
}

-- Script codes for which a script-tagged display title will be added.	
data.toBeTagged = {
	"Ahom",
	"Arab",
	"Avst",
	"Bali",
	"Cham",
	"Copt",
	"Kali",
	"Hani",
	"Hebr",
	"Lana",
	"Linb",
	"Mand",
	"Mong",
	"polytonic",
	"Rjng",
	"Samr",
	"Sund",
	"Sylo",
	"Tang",
	"Tavt",
	"Xsux",
}

for key, list in pairs(data) do
	data[key] = require("Module:utils").list_to_set(list)
end

return data