Template:Siwa-noun: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 70: Line 70:
|}</div></div>
|}</div></div>


<!--{{Void|Unsuccessful regex experiment:-->
{{Void|Unsuccessful regex experiment:
<!-- 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]?/u|¿}}}}
{{#vardefine: syllableSeparator|{{#regexall: {{{stem|{{{2|}}}}}}|/[mpbvntdḍsṡrlkįųgġh]{0,4}[aeiouảẻỉỏủỷyůõ]{1,3}[mpbvntdḍsṡrlkįųgġh]?/u|¿}}}}
{{#vardefine: stressedSyllable|{{#explode: {{#var: syllableSeparator}}|¿}}}}
{{#vardefine: stressedSyllable|{{#explode: {{#var: syllableSeparator}}|¿}}}}
 
}}
{{#var: syllableSeparator}}
{{#var: stressedSyllable}}