45,647
edits
No edit summary |
No edit summary |
||
Line 39: | Line 39: | ||
syllables = split(term, "·") | syllables = split(term, "·") | ||
for i, syllable in ipairs(syllables) do | for i, syllable in ipairs(syllables) do | ||
weight[i] = match(syllable, "[aeiouy" .. NONSYLLABIC .. "]$") and "l" or "h" | weight[i] = match(syllable, "[aeiouy" .. NONSYLLABIC .. "]$") and "l" or "h" | ||
end | end |