45,647
edits
No edit summary |
No edit summary |
||
Line 56: | Line 56: | ||
local lastipa = match(pron(word), ".ː?$") | local lastipa = match(pron(word), ".ː?$") | ||
local pautable = {["a"] = "н", ["e"] = "ч", ["ɛ"] = "н", ["i"] = "ч", ["o"] = "ӈ", ["ɔ"] = "ӈ", ["ø"] = "ч", ["u"] = "ӈ", ["y"] = "ч"} | local pautable = {["a"] = "н", ["e"] = "ч", ["ɛ"] = "н", ["i"] = "ч", ["o"] = "ӈ", ["ɔ"] = "ӈ", ["ø"] = "ч", ["u"] = "ӈ", ["y"] = "ч"} | ||
data.pau = lastipa | data.pau = pautable.lastipa or gsubh("Bӈ",{["b"]="о̆",["f"]="э̆", ["ab"]="о̆"}) | ||
data.pl = { | data.pl = { | ||
["i"] = (pron(word) | ["i"] = (match(pron(word), voiceless .. "ː?$") and "ш" or "ж") .. gsubh("Bд",{["b"]="о̆",["e"]="э̆", ["ab"]="о̆"}), | ||
["a"] = (pron(word) | ["a"] = (match(pron(word), voiceless .. "ː?$") and "ф" or "в") .. gsubh("Rд",{["r"]="ө",["u"]="э", ["ar"]="э"}), | ||
} | } | ||
Line 114: | Line 114: | ||
local decl = { | local decl = { | ||
["nom"] = "", | ["nom"] = "", | ||
["acc"] = pron(w_number[n_sh]) | ["acc"] = match(pron(w_number[n_sh]), vowel .. "ː?$") and "дза" or match(pron(w_number[n_sh]), voiced .. "ː?$") and "да" or "та", | ||
["dat"] = pron(w_number[n_sh]) | ["dat"] = match(pron(w_number[n_sh]), vowel .. "ː?$") and "ша" or match(pron(w_number[n_sh]), voiced .. "ː?$") and "за" or "са", | ||
["gen"] = "ля", | ["gen"] = "ля", | ||
["ins"] = pron(w_number[n_sh]) | ["ins"] = match(pron(w_number[n_sh]), vowel .. "ː?$") and "лза" or gsubh("Rлз",{["r"]="ө",["u"]="э",["ar"]="ө"}), | ||
["pro"] = gsubh("сRц",{["r"]="ө",["u"]="э", ["ar"]="ө"}), | ["pro"] = gsubh("сRц",{["r"]="ө",["u"]="э", ["ar"]="ө"}), | ||
["ade"] = "ляц", | ["ade"] = "ляц", |