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 | |||
return "l" -- long nouns | |||
else return "s" -- strong nouns | else return "s" -- strong nouns | ||
end | end | ||
end | end | ||
| Line 68: | Line 70: | ||
local tonic_vowel = stressed_components(word) | local tonic_vowel = stressed_components(word) | ||
if gender and quality then | if gender and quality then | ||
local decl = gender .. "-" .. tonic_vowel .. "-" ..quality | |||
local decl = gender .. "-" .. tonic_vowel .. "-" .. quality | |||
return decl | return decl | ||
else | |||
return | |||
end | end | ||
end | end | ||