45,647
edits
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
term = gsub(term, pattern, "·%1") | term = gsub(term, pattern, "·%1") | ||
term = gsub(term, "^·", "") | term = gsub(term, "^·", "") | ||
term = gsub(term, "·$", "") | |||
term = gsub(term, "·(" .. consonants .. ")·", "·%1") | term = gsub(term, "·(" .. consonants .. ")·", "·%1") | ||
term = gsub(term, "·(" .. consonants .. ")$", "%1") | term = gsub(term, "·(" .. consonants .. ")$", "%1") | ||
Line 41: | Line 42: | ||
term = gsub(term, "([ptkbdɡ])·([rlṛsz])", "·%1%2") | term = gsub(term, "([ptkbdɡ])·([rlṛsz])", "·%1%2") | ||
term = gsub(term, "·(" .. consonants .. "?" .. consonants .. ")$", "%1") | term = gsub(term, "·(" .. consonants .. "?" .. consonants .. ")$", "%1") | ||
local syllables = split(term, "·") | local syllables = split(term, "·") |