Module:IPA/data

From The Languages of David J. Peterson
Revision as of 00:26, 30 January 2020 by Djp (talk | contribs) (Yes, v SHOULD be in Azrán.)
Jump to navigation Jump to search

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",
	"kama",
	"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["azra"] = {
	"a", "e", "i", "o", "u", 
	"p", "t", "k",
	"b", "d", "g", "ɡ",
	"t͡ʃ", "d͡ʒ",
	"f","v","s","z","ʃ","ʒ","x","χ","ɣ",
	"m", "n", "ŋ", "ɲ",
	"r","ɾ","l","j","w",
	"ˈ", "ˌ", ".", " ", "ː",
	"˥","˩","↘","↓","↑",
	}

data.phonemes["bodz"] = {
	"a", "ɛ", "y", "i", "ɔ", "u", "œ", "ɨ", "ǝ", "ǝ", "ə",
	"p", "t", "k", "q",
	"b", "d", "g", "ɡ",
	"t͡ʃ", "d͡ʒ",
	"f","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", "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["kama"] = {
	"a", "e", "i", "o", "u", "ɛ", "ǝ", "ɔ",
	"p", "t", "k", "ʔ",
	"v", "f", "h",
	"m", "n",
	"j", "l", "ɾ", "w",
	"ˈ", "ˌ", ".", " ",
	}

data.phonemes["meer"] = {
	"a", "e", "i", "o", "u", 
	"p", "t", "k",
	"b", "d", "g", "ɡ",
	"f","v","θ","ð","s","z","ʃ","ʒ","x","ɣ",
	"m", "n", "ŋ","ɴ",
	"r","ɾ","l","ʎ","j","w",
	"ˈ", "ˌ", ".", " ",
	}

data.phonemes["munj"] = {
	"a", "i", "o", "u",
	"p", "t", "k", "ʔ",
	"b", "d", "g", "ɡ",
	"t͡ʃ", "d͡ʒ",
	"f", "v", "s", "z", "ʃ", "ʒ", "h",
	"m", "n", "ŋ",
	"ɾ", "l", "w",
	"ˈ", "ˌ", ".", " ", "ː",
	}

data.phonemes["noal"] = {
	"ɑ", "ɛ", "i", "œ", "ɔ", "u", "ǝ", "ǝ", "ɪ", "y", "ʏ", "ʊ", "ə",
	"p", "t", "t̪", "k",
	"b", "d", "d̪", "g", "ɡ",
	"t͡ʃ", "d͡ʒ",
	"f", "v", "θ", "ð", "s", "ʃ", "ʒ", "h",
	"m", "n̪", "n", "ɲ", "ŋ",
	"ɾ", "l", "j",
	"ˈ", "ˌ", ".", " ", "ː",
	}

data.phonemes["övüs"] = {
	"ɑ", "e", "i", "o", "u", "ɯ", "y", "ø", "ɤ",
	"p", "t", "k",
	"b", "d", "g", "ɡ",
	"t͡ʃ", "d͡ʒ",
	"f", "v", "θ", "s", "ʃ", "h",
	"m", "n", "ŋ",
	"ɾ", "l", "j",
	"ˈ", "ˌ", ".", " ", "ː",
	}

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["sond"] = {
	"ɑ", "a", "e", "i", "o", "u", "ɐ̃", "ɔ̃", "ɛ̃",
	"p", "t", "k",
	"b", "d", "g", "ɡ",
	"f", "v", "s", "z", "ʒ", "h",
	"m", "n", "ɲ", "ŋ",
	"ɾ", "l", "j", "w",
	"ˈ", "ˌ", ".", " ", "ː",
	}

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",
	"ˈ", "ˌ", ".", " ", "ː",
	}

data.phonemes["yuli"] = {
	"a", "e", "i", "o", "u", "y", "ø", "ǝ", "ǝ",
	"p", "t", "k",
	"b", "d", "g", "ɡ",
	"t͡ʃ", "d͡ʒ",
	"f", "v", "s", "z", "ʃ", "x", "χ", "h",
	"m", "n", "ɲ", "ŋ",
	"w", "l", "j", "ʀ",
	"ˈ", "ˌ", ".", " ", "ː",
	}

return data