45,640
edits
No edit summary |
No edit summary |
||
Line 41: | Line 41: | ||
if match(syllable, "'") then | if match(syllable, "'") then | ||
syllable = gsub(syllable, "'", "ˈ") | syllable = gsub(syllable, "'", "ˈ") | ||
return table.concat( | return table.concat(syllables) | ||
end | end | ||
weight[i] = match(syllable, "[aeiouy" .. NONSYLLABIC .. "]$") and "l" or "h" | weight[i] = match(syllable, "[aeiouy" .. NONSYLLABIC .. "]$") and "l" or "h" |