Module:xchc-noun: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 54: Line 54:
data.g = g
data.g = g
data.sg = ""
data.sg = ""
data.pau = wordpron(word):match("[eiøy]ː?$") and "ч"
data.pau = wordpron(word):match("[eiøy]ː?$") and "ч" or wordpron(word):match("[ɛa]ː?$") and "н" or wordpron(word):match("[uoɔ]ː?$") and "ӈ" or gsubh("Bӈ",{["b"]="о̆",["f"]="э̆", ["ab"]="о̆"})
  or wordpron(word):match("[ɛa]ː?$") and "н"
  or wordpron(word):match("[uoɔ]ː?$") and "ӈ"
  or gsubh("Bӈ",{["b"]="о̆",["f"]="э̆", ["ab"]="о̆"})
data.pl = {
data.pl = {
["i"] = (wordpron(word):match(voiceless .. "ː?$") and "ш" or "ж") .. gsubh("Bд",{["b"]="о̆",["e"]="э̆", ["ab"]="о̆"}),
["i"] = (wordpron(word):match(voiceless .. "ː?$") and "ш" or "ж") .. gsubh("Bд",{["b"]="о̆",["e"]="э̆", ["ab"]="о̆"}),