Module:qhv-noun: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 43: Line 43:
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 (not find(IPA, "ˈ")) and (find(IPA, NONSYLLABIC .. ".$") or find(IPA, DIPHTHONG .. vowel .. ".$")) then
elseif (not find(IPA, "ˈ")) and (find(IPA, NONSYLLABIC .. "?ː?.$") or find(IPA, DIPHTHONG .. vowel .. ".$")) then
return "3-s-h", {sub(word, 1, -2)}
return "3-s-h", {sub(word, 1, -2)}
else
else