Module:xchc-noun: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 116: Line 116:
local decl = {
local decl = {
["nom"] = "",
["nom"] = "",
["acc"] = w_number[n_sh]:match(vowel .. "ː?$") and "дза" or w_number[n_sh]:match(voiced .. "ː?$") and "да" or "та",
["acc"] = wordpron(w_number[n_sh]):match(vowel .. "ː?$") and "дза" or wordpron(w_number[n_sh]):match(voiced .. "ː?$") and "да" or "та",
["dat"] = w_number[n_sh]:match(vowel .. "ː?$") and "ша" or w_number[n_sh]:match(voiced .. "ː?$") and "за" or "са",
["dat"] = wordpron(w_number[n_sh]):match(vowel .. "ː?$") and "ша" or wordpron(w_number[n_sh]):match(voiced .. "ː?$") and "за" or "са",
["gen"] = "ля",
["gen"] = "ля",
["ins"] = w_number[n_sh]:match(vowel .. "ː?$") and "лза" or gsubbh("Bлз",{["o"]="ө",["e"]="э"},"ɔ"),
["ins"] = wordpron(w_number[n_sh]):match(vowel .. "ː?$") and "лза" or gsubbh("Bлз",{["o"]="ө",["e"]="э"},"ɔ"),
["pro"] = gsubbh("сBц",{["o"]="ө",["e"]="э"}, "ɔ"),
["pro"] = gsubrh("сRц",{["r"]="ө",["u"]="э"}, "r"),
["ade"] = "ляц",
["ade"] = "ляц",
["abl"] = gsubrh("сR",{["r"]="u",["u"]="i"},"r") .. gsubbh("шB",{["o"]="о̄̆",["e"]="э̄̆"},"ɛ"),
["abl"] = gsubrh("сR",{["r"]="u",["u"]="i"},"r") .. gsubbh("шB",{["o"]="о̄̆",["e"]="э̄̆"},"ɛ"),