Module:ábḫ-ipa: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 72: | Line 72: | ||
if mw.ustring.match(word[i+1], "[h]") then | if mw.ustring.match(word[i+1], "[h]") then | ||
table.insert(result, "ʑ") | table.insert(result, "ʑ") | ||
elseif i == 2 then | |||
if mw.ustring.match(word[i+1], "[áéíó]") then | |||
table.insert(result, "ᶮɟ̟") | |||
elseif mw.ustring.match(word[i+1], "[iea]") and mw.ustring.match(word[i+2], "[íéá]") then | |||
table.insert(result, "ᶮɟ̟") | |||
elseif mw.ustring.match(word[i+1], "[o]") and mw.ustring.match(word[i+2], "[úí]") then | |||
table.insert(result, "ᶮɟ̟") | |||
else | |||
table.insert(result, "ɲ̟") | |||
end | |||
else | else | ||
table.insert(result, " | if mw.ustring.match(word[i+1], "[áéíó]") then | ||
table.insert(result, "ɲ̟ɟ̟") | |||
elseif mw.ustring.match(word[i+1], "[iea]") and mw.ustring.match(word[i+2], "[íéá]") then | |||
table.insert(result, "ɲ̟ɟ̟") | |||
elseif mw.ustring.match(word[i+1], "[o]") and mw.ustring.match(word[i+2], "[úí]") then | |||
table.insert(result, "ɲ̟ɟ̟") | |||
else | |||
table.insert(result, "ɲ̟") | |||
end | |||
end | end | ||
elseif val == "k" then | elseif val == "k" then |