Module:xchc-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 14: Line 14:
local lang = require("Module:languages").getByCode("xchc")
local lang = require("Module:languages").getByCode("xchc")
local m_IPA = require("Module:IPA")
local m_IPA = require("Module:IPA")
local consonants = "[mnŋɲptbdkɡfvszʃʒxɣhʧʦʤʣlrɾʎ]"


local export = {}
local export = {}
Line 73: Line 75:
{"l[ьі]", "ʎ"}, {"n[ьі]", "ɲ"}, {"ь", "j"},
{"l[ьі]", "ʎ"}, {"n[ьі]", "ɲ"}, {"ь", "j"},
{"(" .. consonants .. ")(" .. consonants .. ")", function(c1,c2) return same(c1, c2) and c1 .. "ː" or c1 .. c2 end}
}
}