Module:xchc-noun: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Undo revision 474001 by Sware (talk))
No edit summary
 
Line 24: Line 24:
local vowel = "[ыиэеаяүөуюоёӯӣɜɔ]" --"[aeɛioɔuyø]"
local vowel = "[ыиэеаяүөуюоёӯӣɜɔ]" --"[aeɛioɔuyø]"
local genders = {["a"] = "animate", ["i"] = "inanimate"}
local genders = {["a"] = "animate", ["i"] = "inanimate"}
local function pron(w)
--return m_ipa.crux(w)
return w
end


local function gsubh(word, pat, repl, def)
local function gsubh(word, pat, repl, def)
Line 143: Line 138:
  or "са",
  or "са",
["gen"] = "ля",
["gen"] = "ля",
["ins"] = match(w_number[n_sh], vowel .. "$") and "лза"
["ins"] = match(w_number[n_sh], vowel .. "$") and "лз"
  or gsubh(w_number[n_sh], "Rлз",{["r"]="ө",["u"]="э",["ar"]="ө"}),
  or gsubh(w_number[n_sh], "Rлз",{["r"]="ө",["u"]="э",["ar"]="ө"}),
["pro"] = gsubh(w_number[n_sh], "сRц",{["r"]="ө",["u"]="э", ["ar"]="ө"}),
["pro"] = gsubh(w_number[n_sh], "сRц",{["r"]="ө",["u"]="э", ["ar"]="ө"}),

Navigation menu