45,640
edits
No edit summary |
No edit summary |
||
Line 42: | Line 42: | ||
local decl = number .. "-" .. class | local decl = number .. "-" .. class | ||
return decl, {sub(word, 1, -(#endings_reverse[decl] + 1))} | return decl, {sub(word, 1, -(#endings_reverse[decl] + 1))} | ||
elseif find(IPA, | elseif find(IPA, DIPHTHONG .. ".?[ː" .. NONSYLLABIC .. "].$") and (syllables == 1 or syllables == 2) then | ||
return "3-s-h", {sub(word, 1, -2)} | return "3-s-h", {sub(word, 1, -2)} | ||
else | else |