Module:rad-IPA/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 13: Line 13:
<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 <b>{{#invoke:rad-IPA|generate|ryņles u aieg}}</b>.


If you would like the hjádvanþs standard, add <code>true</code> as the second 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 <b>{{#invoke:rad-IPA|generate|hjas}}</b>.


<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hjas}}|true}}<nowiki>}}</nowiki></code> will generate <b>{{#invoke:rad-IPA|generate|hjas|true}}</b>.
<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hjas}}|hj}}<nowiki>}}</nowiki></code> will generate <b>{{#invoke:rad-IPA|generate|hjas|hj}}</b>.
 
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}}|phon}}<nowiki>}}</nowiki></code> will generate <b>{{#invoke:rad-IPA|generate|hmanþs|phon}}</b>.


The generation runs in 6 ‘stages’:
The generation runs in 6 ‘stages’:

Revision as of 18:20, 20 August 2023

Edit-copy green.svg Documentation for Module:rad-IPA. [edit]
This page contains usage information, categories, interwiki links and other content describing the module.

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.

The generation runs in 6 ‘stages’:

  1. Base generation (one-to-one grapheme to phoneme conversion, adhering to the observed orthographical finality bias, but may still contain pseudo-phonemes)
  2. Vowel resolution (vowel alternations and combinations are resolved)
  3. Consonant resolution (consonant alternations and combinations are resolved)
  4. Syllabification
    1. Syllable tagging (marking syllables for length, checkedness etc.)
  5. Stress assignment
  6. Syllable resolution