Jump to content

Module:Deranize: Difference between revisions

m
test
m (error reporting?)
m (test)
Line 104: Line 104:
     local v = medial..final
     local v = medial..final
     local is_diphthong = v == "aı" or v == "ao" or v == "eı" or v == "oı"
     local is_diphthong = v == "aı" or v == "ao" or v == "eı" or v == "oı"
     if is_diphthong and reform then medial = deranimap[v] final = "" end
     if is_diphthong and reform then medial, final = v, "" end
     local glyphs = {initial, tone, medial}
     local glyphs = {initial, tone, medial}
     if initial == "" and is_first_syllable then glyphs[1] = "'" end
     if initial == "" and is_first_syllable then glyphs[1] = "'" end