Module:siwa-noun: Difference between revisions

No edit summary
No edit summary
Line 60: Line 60:
if match(stressed, vowels .. vowels .. vowels .. "?") or match(stressed, "ː") or n>=3 then
if match(stressed, vowels .. vowels .. vowels .. "?") or match(stressed, "ː") or n>=3 then
return "w" -- weak nouns
return "w" -- weak nouns
elseif match(stressed, vowels .. vowels .. vowels .. "?") or match(stressed, "ː") or n<3 then
elseif (match(stressed, vowels .. vowels .. vowels .. "?") or match(stressed, "ː")) and n<3 then
return "l" -- long nouns  
return "l" -- long nouns  
else return "s" -- strong nouns
else return "s" -- strong nouns