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 = ""
local lastipa = pron(word):match(".ː?$")
local lastipa = match(pron(word), ".ː?$")
local pautable = {["a"] = "н", ["e"] = "ч", ["ɛ"] = "н", ["i"] = "ч", ["o"] = "ӈ", ["ɔ"] = "ӈ", ["ø"] = "ч", ["u"] = "ӈ", ["y"] = "ч"}
local pautable = {["a"] = "н", ["e"] = "ч", ["ɛ"] = "н", ["i"] = "ч", ["o"] = "ӈ", ["ɔ"] = "ӈ", ["ø"] = "ч", ["u"] = "ӈ", ["y"] = "ч"}
data.pau = lastipa-- or gsubh("Bӈ",{["b"]="о̆",["f"]="э̆", ["ab"]="о̆"})
data.pau = lastipa-- or gsubh("Bӈ",{["b"]="о̆",["f"]="э̆", ["ab"]="о̆"})