Module:mg-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 91: Line 91:
{"(" .. consonants .. ")(·ˈ?)([βðɣ])", function(foo, bar, baz) return foo .. bar .. desoften[baz] end},
{"(" .. consonants .. ")(·ˈ?)([βðɣ])", function(foo, bar, baz) return foo .. bar .. desoften[baz] end},
--{"ʧ", "(t)ʃ"}, {"a([^" .. RET .. "])", "a" .. CEN .. "%1"}, {"a" .. CEN .. NASAL, "a" .. RET .. NASAL},
{"ʧ", "(t)ʃ"}, {"a([^" .. RET .. "])", "a" .. CEN .. "%1"}, {"a" .. CEN .. NASAL, "a" .. RET .. NASAL},
{"·ˈ", "ˈ"}, {"·", "."},  
{"·ˈ", "ˈ"}, {"·", "."},  
}
}
Line 111: Line 111:
term = gsub(term, "([ɡɣ])", g and "%1" or "h")
term = gsub(term, "([ɡɣ])", g and "%1" or "h")
term = gsub(term, "hɑ" .. ADV, "ha" .. CEN)
term = gsub(term, "hɑ" .. ADV, "ha" .. CEN)
term = gsub(term, "a" .. CEN .. "(" .. velar .. ")", "ɑ" .. ADV .. "%1")
term = gsub(term, "(ˈ..?a" .. CEN .. ")", "%1ː")  
term = gsub(term, "(ˈ..?a" .. CEN .. ")", "%1ː")