45,638
edits
No edit summary |
No edit summary |
||
Line 37: | Line 37: | ||
local C = match(word, "^" .. vowel .. "?(" .. consonant .. "*)") | local C = match(word, "^" .. vowel .. "?(" .. consonant .. "*)") | ||
local V = mw.ustring.toNFD(match(word, consonant .. "*(" .. vowel .. "*)")) | local V = mw.ustring.toNFD(match(word, consonant .. "*(" .. vowel .. "*)")) | ||
V = V:gsub("ḛ", "e"); V = V:gsub("ḭ", "i"); V = V:gsub("ṵ", "u") | V = V:gsub("ḛ", "e"); V = V:gsub("ḭ", "i"); V = V:gsub("ṵ", "u"); V = V:gsub("v", "u") | ||
local r2 = match(word, C .. "(.*)") | local r2 = match(word, C .. "(.*)") |