Module:rad-IPA/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{documentation subpage}}
This module is used to get the pronunciation estimation of a Radestrian word from a single parameter. The base generation runs backwards, due to Radestrian's 'latter bias' regarding vocalic polygraphs.
This module is used to get the pronunciation estimation of a Radestrian word from a single parameter. The base generation runs backwards, due to Radestrian's 'latter bias' regarding vocalic polygraphs.


<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|aies}}<nowiki>}}</nowiki></code> will generate <b>{{#invoke:rad-IPA|generate|aies}}</b>, not <b>*{{#invoke:rad-IPA|generate|aiès}}</b>, which would be spelt <i>*aiès</i>.
<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|aies}}<nowiki>}}</nowiki></code> will generate {{#invoke:rad-IPA|generate|aies}}, not *{{#invoke:rad-IPA|generate|aiès}}, which would be spelt <i>*aiès</i>.


Irregular spellings are recognised in data:
Irregular spellings are recognised in data:


<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|heņrecjes}}<nowiki>}}</nowiki></code> will generate <b>{{#invoke:rad-IPA|generate|heņrecjes}}</b>.
<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|heņrecjes}}<nowiki>}}</nowiki></code> will generate {{#invoke:rad-IPA|generate|heņrecjes}}.


It can also handle multiple words, but they must be in the same parameter.
It can also handle multiple words, but they must be in the same parameter.


<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|ryņles}} {{l|rad|u}} {{l|rad|aies|aieg}}}}<nowiki>}}</nowiki></code> will generate <b>{{#invoke:rad-IPA|generate|ryņles u aieg}}</b>.
<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|ryņles}} {{l|rad|u}} {{l|rad|aies|aieg}}}}<nowiki>}}</nowiki></code> will generate {{#invoke:rad-IPA|generate|ryņles u aieg}}.


If you would like the hjádvanþs standard, add the <code>hj</code> parameter.
If you would like the hjádvanþs standard, add the <code>hj</code> parameter.


<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hjas}}}}<nowiki>}}</nowiki></code> will generate <b>{{#invoke:rad-IPA|generate|hjas}}</b>.
<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hjas}}}}<nowiki>}}</nowiki></code> will generate {{#invoke:rad-IPA|generate|hjas}}.


<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hjas}}|hj}}<nowiki>}}</nowiki></code> will generate <b>{{#invoke:rad-IPA|generate|hjas|hj}}</b>.
<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hjas}}|hj}}<nowiki>}}</nowiki></code> will generate {{#invoke:rad-IPA|generate|hjas|hj}}.


If you would like to account for allophony (the phonetic transcription), add the <code>phon</code> parameter.
If you would like to account for allophony (the phonetic transcription), add the <code>phon</code> parameter.


<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hmanþs}}}}<nowiki>}}</nowiki></code> will generate <b>{{#invoke:rad-IPA|generate|hmanþs}}</b>.
<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hmanþs}}}}<nowiki>}}</nowiki></code> will generate {{#invoke:rad-IPA|generate|hmanþs}}.
 
<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hmanþs}}|phon}}<nowiki>}}</nowiki></code> will generate <b>{{#invoke:rad-IPA|generate|hmanþs|phon}}</b>.


The generation runs in 6 ‘stages’:
<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hmanþs}}|phon}}<nowiki>}}</nowiki></code> will generate {{#invoke:rad-IPA|generate|hmanþs|phon}}.
# <b>Base generation</b> (one-to-one grapheme to phoneme conversion, adhering to the observed orthographical finality bias, but may still contain pseudo-phonemes)
# <b>Vowel resolution</b> (vowel alternations and combinations are resolved)
# <b>Consonant resolution</b> (consonant alternations and combinations are resolved)
# <b>Syllabification</b>
## <b>Syllable tagging</b> (marking syllables for length, checkedness etc.)
# <b>Stress assignment</b>
# <b>Syllable resolution</b>

Revision as of 18:26, 20 August 2023

This module is used to get the pronunciation estimation of a Radestrian word from a single parameter. The base generation runs backwards, due to Radestrian's 'latter bias' regarding vocalic polygraphs.

{{#invoke:rad-IPA|generate|aies}} will generate ˈa.ies, not *ˈai.ɛs, which would be spelt *aiès.

Irregular spellings are recognised in data:

{{#invoke:rad-IPA|generate|heņrecjes}} will generate ˈhɛŋɡrɛtʃɛs.

It can also handle multiple words, but they must be in the same parameter.

{{#invoke:rad-IPA|generate|ryņles u aieg}}}} will generate ˈriŋɡlɛs u ˈa.ieɡ.

If you would like the hjádvanþs standard, add the hj parameter.

{{#invoke:rad-IPA|generate|hjas}}}} will generate ʃas.

{{#invoke:rad-IPA|generate|hjas|hj}}}} will generate ças.

If you would like to account for allophony (the phonetic transcription), add the phon parameter.

{{#invoke:rad-IPA|generate|hmanþs}}}} will generate hmanθs.

{{#invoke:rad-IPA|generate|hmanþs|phon}}}} will generate xmãˑθs.