Module:IPA/data: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
automatically link to the key. ]=] | automatically link to the key. ]=] | ||
local langcodes = { | local langcodes = { | ||
"afat", | |||
"ast", | "ast", | ||
"azra", | |||
"bodz", | |||
"cast", | "cast", | ||
"doth", | "doth", | ||
"gand", | |||
"gern", | |||
"gvun", | |||
"indo", | |||
"inha", | |||
"irat", | |||
"kam", | "kam", | ||
"kinu", | |||
"lish", | |||
"meer", | |||
"munj", | |||
"noal", | |||
"övüs", | |||
"ppla", | "ppla", | ||
"shiv", | "shiv", | ||
"sond", | |||
"trig", | "trig", | ||
"val", | "val", | ||
"veda", | |||
"yuli", | |||
} | } | ||
Revision as of 18:00, 13 December 2019
- The following documentation is located at Module:IPA/data/documentation. [edit]
- Useful links: root page • root page's subpages • transclusions • testcases • sandbox
This module provides a list of the languages that have pronunciation info pages, a list of nonstandard IPA symbols, and some lists of phonemes that are used in the phonemic transcriptions of particular languages. These lists are used by Module:IPA to link to pronunciation info pages, to categorize entries that use nonstandard IPA symbols using the nonstandard symbol as sortkey, and to color incorrect phonemic symbols red and categorize entries that use the incorrect phonemic symbols in language-specific categories.
For data associated with individual IPA symbols, see Module:IPA/data/symbols. For the table used by the function that converts X-SAMPA to IPA, see Module:IPA/data/X-SAMPA.
See also: Module:IPA/testcases
nonstandard
m.nonstandard
local data = {}
--[=[ Please add language codes for new pronunciation keys to the list below.
This will allow [[Template:IPA]] and the functions in [[Module:IPA]] to
automatically link to the key. ]=]
local langcodes = {
"afat",
"ast",
"azra",
"bodz",
"cast",
"doth",
"gand",
"gern",
"gvun",
"indo",
"inha",
"irat",
"kam",
"kinu",
"lish",
"meer",
"munj",
"noal",
"övüs",
"ppla",
"shiv",
"sond",
"trig",
"val",
"veda",
"yuli",
}
data.langs_with_infopages = {}
--[=[ This goes through the list of langcodes, and fills
the table data.langs_with_infopages with items
such as ["ca"] = true, ["cy"] = true, ... ,
so that [[Module:IPA]] can easily access them. ]=]
for _, langcode in ipairs(langcodes) do
data.langs_with_infopages[langcode] = true
end
-- Non-standard or obsolete IPA symbols.
data.nonstandard = {
--[[ The following symbols consist of more than one character,
so we can't put them in the line below. ]]
"ɑ̢", "d̂", "t̂", "n̂", "l̂", "k̫", "ɔ̗", "ɔ̖",
"[ʦʣʧʤʨʥ?ƍσƺƪƻƾƞᶀᶁᶂᶃᶄᶅᶆᶈᶇᶉᶊᶋƫᶌᶍᶎʓʆλƛłščžǰǧǯẋᵻᵿⱻʚ"
.. "ɷωıȹȸ∅ØƥƭƈƙʠʇʗʖʞɩɼȣяɿʅʮʯᴀᴀᴇGRŒQȡȶȵȴKPT]"
}
-- See valid IPA characters at [[Module:IPA/data/symbols]].
data.phonemes = {}
data.phonemes["ast"] = {
"a", "e", "y", "i", "o", "u",
"p", "t", "k","q",
"b", "d", "g",
"d͡ʒ",
"v","θ","s","z","ʃ","ʒ","x","χ","ɣ","h","ɦ",
"m", "n", "ŋ","ɴ",
"r","ɾ","ʁ","l","ʎ","j","ɟ","w",
"ˈ", "ˌ", ".", " ",
}
data.phonemes["cast"] = {
"a", "e", "i", "o", "u",
"p", "t", "k",
"b", "d", "g",
"t͡ʃ", "d͡ʒ",
"f","v","θ","ð","s","z","ʃ","ʒ","h",
"m", "n", "ɲ","ŋ",
"ɾ","ɾʲ","l","ʎ","j","w",
"ˈ", "ˌ", ".", " ",
}
data.phonemes["doth"] = {
"a", "ɑ", "e", "ɛ", "i", "o", "ɔ",
"t", "t̪", "k","q",
"d", "d̪", "g",
"t͡ʃ", "d͡ʒ",
"f","v","θ","s","z","ʃ","ʒ","x","h","ħ",
"m", "n̪", "n",
"r","ɾ","l","l̪","w","j",
"ˈ", "ˌ", ".", " ", "ː",
}
data.phonemes["kam"] = {
"a", "e", "i", "o", "u", "ɛ", "ǝ", "ɔ",
"p", "t", "k", "ʔ",
"v", "f", "h",
"m", "n",
"j", "l", "ɾ", "w",
"ˈ", "ˌ", ".", " ",
}
data.phonemes["ppla"] = {
"a", "ɑ", "e", "ɛ", "i", "o", "ɔ", "u", "ǝ", "ɨ",
"p", "t", "t̪", "k","q",
"b", "d", "d̪", "g",
"t͡ʃ", "d͡ʒ",
"f","v","θ", "ɬ", "ɬ̪","s","z","ʃ","ʒ","x", "ɣ","h","ħ",
"m", "n̪", "n",
"r","ɾ","l","l̪","w","j",
"ˈ", "ˌ", ".", " ", "ː",
}
data.phonemes["shiv"] = {
"ɑ", "e", "i", "o", "u", "y", "ø", "æ",
"p", "t", "c", "k",
"d", "ɟ", "g", "ɡ", "g",
"t͡ʃ", "d͡ʒ",
"f", "v", "θ", "ð", "s", "ʃ", "h",
"m", "n̪", "n", "ɲ", "ŋ",
"r", "ɾ", "l", "ʎ", "j",
"ˈ", "ˌ", ".", " ", "ː",
}
data.phonemes["trig"] = {
"a", "ɑ", "e", "ɛ", "i", "o", "ɔ", "u", "ə", "æ", "ǝ",
"p", "t", "k",
"b", "d", "g", "ɡ",
"t͡ʃ", "d͡ʒ",
"f","v","θ","s","z","ʃ","h",
"m", "n", "ŋ",
"ɹ","ɾ","l","w","j",
"ˈ", "ˌ", ".", " ", "ː",
}
data.phonemes["val"] = {
"a", "e", "y", "i", "o", "u",
"p", "t", "k","q",
"b", "d", "g",
"d͡ʒ",
"v","θ","s","z","ʃ","ʒ","x","χ","ɣ","h",
"m", "n", "ɲ", "ŋ", "ɴ",
"r","ɾ","ʁ","r̥","l","ʎ","j","ɟ","w",
"ˈ", "ˌ", ".", " ", "ː",
}
return data