Template:Siwa-noun: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
<!-- Extracts declension from final vowel -->
<!-- Extracts declension from final vowel -->
{{#vardefine: declension|{{#switch:{{str left|{{{stem|{{{2|}}}}}}|1}}|a|ả|au|ai|oa=A|e|ẻ|ę|ei|ay=E|i|ỉ|ie|ia=I|o|ỏ|ou|oi=O|u|ủ|uo|ui=U|y|ỷ|ů|ẻu|eu|ůi|ůa=Y|{{#switch: {{str left|{{{stem|{{{2|}}}}}}|2}}|a|ả|au|ai|oa=A|e|ẻ|ę|ei|ay=E|i|ỉ|ie|ia=I|o|ỏ|ou|oi=O|u|ủ|uo|ui=U|y|ỷ|ů|ẻu|eu|ůi|ůa=Y|{{#switch: {{str left|{{{stem|{{{2|}}}}}}|3}}|a|ả|au|ai|oa=A|e|ẻ|ę|ei|ay=E|i|ỉ|ie|ia=I|o|ỏ|ou|oi=O|u|ủ|uo|ui=U|y|ỷ|ů|ẻu|eu|ůi|ůa=Y|}}}}}}}}
{{#vardefine: declension|{{#switch:{{str left|{{{stem|{{{2|}}}}}}|1}}|a|ả|au|ai|oa=A|e|ẻ|ę|ei|ay=E|i|ỉ|ie|ia=I|o|ỏ|ou|oi=O|u|ủ|uo|ui=U|y|ỷ|ů|ẻu|eu|ůi|ůa=Y|{{#switch: {{str left|{{{stem|{{{2|}}}}}}|2}}|a|ả|au|ai|oa=A|e|ẻ|ę|ei|ay=E|i|ỉ|ie|ia=I|o|ỏ|ou|oi=O|u|ủ|uo|ui=U|y|ỷ|ů|ẻu|eu|ůi|ůa=Y|{{#switch: {{str left|{{{stem|{{{2|}}}}}}|3}}|a|ả|au|ai|oa=A|e|ẻ|ę|ei|ay=E|i|ỉ|ie|ia=I|o|ỏ|ou|oi=O|u|ủ|uo|ui=U|y|ỷ|ů|ẻu|eu|ůi|ůa=Y|}}}}}}}}
{{Void|Unsuccessful regex experiment:
<!-- If the word has a stressed long vowel or diphthong, it's a weak noun. Otherwise, it's a strong noun. There are also criteria based on syllable count but that will be calculated manually using {{{3}}} -->
<!-- If the word has a stressed long vowel or diphthong, it's a weak noun. Otherwise, it's a strong noun. There are also criteria based on syllable count but that will be calculated manually using {{{3}}} -->
{{#vardefine: wsl|{{#if: {{{manual|{{{3|}}}}}}|{{{manual|{{{3|}}}}}}|{{#switch:{{#regex:{{#var: stressedSyllable}}|(ả{{!}}ẻ{{!}}ỉ{{!}}ỏ{{!}}ủ{{!}}ỷ{{!}}ẻu{{!}}õu{{!}}ai{{!}}au{{!}}ay{{!}}ei{{!}}eu{{!}}ey{{!}}ia{{!}}ie{{!}}io{{!}}iu{{!}}iů{{!}}oa{{!}}oi{{!}}ou{{!}}ua{{!}}ui{{!}}uo{{!}}ůa{{!}}ůi)}}|ả|ẻ|ỉ|ỏ|ủ|ỷ|ẻu|õu|ai|au|ay|ei|eu|ey|ia|ie|io|iu|iů|oa|oi|ou|ua|ui|uo|ůa|ůi=w|s}}}}}}
{{#vardefine: wsl|{{#if: {{{manual|{{{3|}}}}}}|{{{manual|{{{3|}}}}}}|{{#switch:{{#regex:{{#var: stressedSyllable}}|(ả{{!}}ẻ{{!}}ỉ{{!}}ỏ{{!}}ủ{{!}}ỷ{{!}}ẻu{{!}}õu{{!}}ai{{!}}au{{!}}ay{{!}}ei{{!}}eu{{!}}ey{{!}}ia{{!}}ie{{!}}io{{!}}iu{{!}}iů{{!}}oa{{!}}oi{{!}}ou{{!}}ua{{!}}ui{{!}}uo{{!}}ůa{{!}}ůi)}}|ả|ẻ|ỉ|ỏ|ủ|ỷ|ẻu|õu|ai|au|ay|ei|eu|ey|ia|ie|io|iu|iů|oa|oi|ou|ua|ui|uo|ůa|ůi=w|s}}}}}}
<!-- Given the noun stem ({{PAGENAME}} without affixes), it prints out the stressed syllable, which is seemingly (C)V(C) -->
<!-- Given the noun stem ({{PAGENAME}} without affixes), it prints out the stressed syllable, which is seemingly (C)V(C) -->
{{#vardefine: syllableSeparator|{{#regexall: {{{stem|{{{2|}}}}}}|[mpbvntdḍsṡrlkįųgġh]{0,4}[aeiouảẻỉỏủỷyůõ]{1,3}[mpbvntdḍsṡrlkįųgġh]?|+}}}}
{{#vardefine: syllableSeparator|{{#regexall: {{{stem|{{{2|}}}}}}|[mpbvntdḍsṡrlkįųgġh]{0,4}[aeiouảẻỉỏủỷyůõ]{1,3}[mpbvntdḍsṡrlkįųgġh]?|¿}}}}
{{#vardefine: stressedSyllable|{{#explode: {{#var: syllableSeparator}}|+}}}}
{{#vardefine: stressedSyllable|{{#explode: {{#var: syllableSeparator}}|¿}}}} -->
 
}}


<div class="" style="border-collapse: collapse; margin: 0px 0px -1px 0px; padding: 2px; border: 1px solid #aaaaaa; text-align: center; font-size: 95%; overflow: auto; width: 70%;">
<div class="" style="border-collapse: collapse; margin: 0px 0px -1px 0px; padding: 2px; border: 1px solid #aaaaaa; text-align: center; font-size: 95%; overflow: auto; width: 70%;">

Revision as of 17:00, 6 December 2020



Siwa-noun — noun, -declension
Unmarked
agentive/dative
Marked
patientive/genitive
Locative
Inessive Illative Elative Adessive Allative Ablative
Siwa-noun Siwa-no