45,647
edits
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
term = gsub(term, "·(" .. consonants .. ")$", "%1") | term = gsub(term, "·(" .. consonants .. ")$", "%1") | ||
term = gsub(term, "·(" .. consonants .. ")(" .. consonants .. ")", "%1·%2") | term = gsub(term, "·(" .. consonants .. ")(" .. consonants .. ")", "%1·%2") | ||
term = gsub(term, "·$ | term = gsub(term, "·$") | ||
syllables = split(term, "·") | syllables = split(term, "·") | ||
Line 49: | Line 49: | ||
else penult = "ˈ" .. penult end | else penult = "ˈ" .. penult end | ||
return | return #syllables | ||
end | end | ||