Module:ábḫ-ipa: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 159: Line 159:
table.insert(newWord, "1")
table.insert(newWord, "1")
elseif ((result[i-1] == "m") or (result[i-1] == "n") or (result[i-1] == "j")) and (result[i+1] ~= nil) then
elseif ((result[i-1] == "m") or (result[i-1] == "n") or (result[i-1] == "j")) and (result[i+1] ~= nil) then
if mw.ustring.match(result[i+1], "[njt]") then
if mw.ustring.match(result[i+1], "[mnjPTt]") then
table.insert(newWord, "6")
table.insert(newWord, "6")
elseif result[i+1] == "k" then
elseif (result[i+1] == "k") or (result[i+1] == "K") then
table.insert(newWord, "7")
table.insert(newWord, "7")
elseif mw.ustring.match(result[i+1], "[%.ˌˈ]") then
elseif mw.ustring.match(result[i+1], "[%.ˌˈ]") then
if mw.ustring.match(result[i+2], "[njt]") then
if mw.ustring.match(result[i+2], "[mnjt]") then
table.insert(newWord, "6")
table.insert(newWord, "6")
elseif result[i+2] == "k" then
elseif (result[i+2] == "k") or (result[i+2] == "kK") then
table.insert(newWord, "7")
table.insert(newWord, "7")
else
else

Navigation menu