45,707
edits
Linguifex will be changing authoritative nameservers for the domain this weekend (3-5 jan 2025), the change has been carefully planned to not cause any outages, but there is always a risk of disruption. This is part of the 2025 improvement program to beef up Linguifex to be faster, snappier and less prone to outages. |
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
return decl, {sub(word, 1, -(#endings_reverse[decl] + 1))} | return decl, {sub(word, 1, -(#endings_reverse[decl] + 1))} | ||
else | else | ||
if find(word, "[aeiouyā]?[aeiouyāēīōūȳ].$") and require("Module:qhv-pron").write_stress(word, true) == 1 then | |||
return "3-s-h", {sub(word, 1, -2)} | |||
end | |||
for ending, decl in pairs(endings) do | for ending, decl in pairs(endings) do | ||
if find(word, ending .. "$") then | if find(word, ending .. "$") then | ||
return decl, {sub(word, 1, -(#ending + 1))} | return decl, {sub(word, 1, -(#ending + 1))} | ||
end | end | ||
return "6", {word} end | |||
end | end | ||
end | end |