45,646
edits
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
local syllable = "(" .. consonants .. "*" .. vowels .. "ː?" .. consonants .. "-)" | local syllable = "(" .. consonants .. "*" .. vowels .. "ː?" .. consonants .. "-)" | ||
term = term:gsub(syllable, ".%1.") | term = term:gsub(syllable, ".%1.") | ||
term = term:gsub("^%.", "") | term = term:gsub("^%.", "") | ||
term = term:gsub("%.$", "") | term = term:gsub("%.$", "") | ||
term = term:gsub("%.+", ".") | term = term:gsub("%.+", ".") | ||
term = term:gsub("%.([nlɾs])([pβmtʧkxʷʞƕː])", "%1.%2") | |||
term = term:gsub("%.([tmnlɾs])$", "%1") | |||
return term | return term |