45,647
edits
No edit summary |
No edit summary |
||
Line 38: | Line 38: | ||
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 | |||
return #syllables | return #syllables |