Module:ábḫ-ipa/remake: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 47: Line 47:
["o"] = "ɔ",
["o"] = "ɔ",
["a"] = "ä",
["a"] = "ä",
["ḫ"] = "x",
["s"] = "ɕ",
["s"] = "ɕ",
["z"] = "θ",
["z"] = "θ",
}}, {"jh", "ʑ"}, {"j", "ɲ"}, {"y", "j"}, {"", ""}, {"", ""},  
}}, {"jh", "ʑ"}, {"j", "ɲ"}, {"y", "j"}, {"", "x"}, {"", ""},  
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},  
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},  
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},
Line 59: Line 58:
function export.test(frame)
function export.test(frame)
local word = frame.args[1]
local word = frame.args[1]
local letters = split(word, "")
for _, letter in ipairs(letters) do
for _, rule in ipairs(rules) do
for _, rule in ipairs(rules) do
word = word:gsub(rule[1], rule[2])
word = word:gsub(rule[1], rule[2])
end
end
end

Navigation menu