734
edits
(typosquat) |
m (untone → detone) |
||
Line 1: | Line 1: | ||
-- either mw.ustring.toNFD or mw.ustring.match doesn't work properly, so resorting to this for the time being (lol) | -- either mw.ustring.toNFD or mw.ustring.match doesn't work properly, so resorting to this for the time being (lol) | ||
local | local detone = { | ||
["a"] = {"a", 1}, | ["a"] = {"a", 1}, | ||
["u"] = {"u", 1}, | ["u"] = {"u", 1}, | ||
Line 89: | Line 89: | ||
ix = postcoda | ix = postcoda | ||
end | end | ||
local nucleus, tone = unpack( | local nucleus, tone = unpack(detone[medial]) | ||
local glyphs = {initial, nucleus, tone} | local glyphs = {initial, nucleus, tone} | ||
if coda ~= "" then | if coda ~= "" then |