Module:xchc-noun: Difference between revisions

No edit summary
No edit summary
Line 65: Line 65:
{"([эеыөү]" .. c.macron .. "?)$", "ч"}, {"([иӣ])$", "ч"},
{"([эеыөү]" .. c.macron .. "?)$", "ч"}, {"([иӣ])$", "ч"},
}
}
data.pau = nil
for _, ms in ipairs(pautable) do
--data.pau = nil
if word:match(ms[1]) then
if word:match(vowel .. "$") then
data.pau = ms[2]
for _, ms in ipairs(pautable) do
break
if word:match(ms[1]) then
data.pau = ms[2]
break
end
end
end
end
else
if not data.pau then
data.pau = gsubh(word, "Bӈ",{["b"]="о̆",["f"]="э̆", ["ab"]="о̆"})
data.pau = gsubh(word, "Bӈ",{["b"]="о̆",["f"]="э̆", ["ab"]="о̆"})
end
end