Module:rad-IPA: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 1,510: Line 1,510:
-- post rectifications --
-- post rectifications --
output = mw.ustring.gsub(output, "(ˈˌ)", "ˌ")
output = mw.ustring.gsub(output, "(ˈˌ)", "ˌ")
-- vowel length resolution
output = mw.ustring.gsub(output, "i.iː?e", "iːe")
output = mw.ustring.gsub(output, "i.iːː?", "iːː")
output = mw.ustring.gsub(output, "i.i", "iː")
output = mw.ustring.gsub(output, "iːiː?e", "iːe")
output = mw.ustring.gsub(output, "iːiː*", "iːː")
output = mw.ustring.gsub(output, "u.uː?o", "uːo")
output = mw.ustring.gsub(output, "u.uːː?", "uːː")
output = mw.ustring.gsub(output, "u.u", "uː")
output = mw.ustring.gsub(output, "uːuː?e", "uːo")
output = mw.ustring.gsub(output, "uːuː*", "uːː")
output = mw.ustring.gsub(output, "a.aːː?", "aːː")
output = mw.ustring.gsub(output, "a.a", "aː")
output = mw.ustring.gsub(output, "aːaː*", "aːː")
return output  
return output