Module:rad-IPA/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 24: Line 24:
* <code>rhyme</code>
* <code>rhyme</code>
*: <code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hmanþs}}}}<nowiki>}}</nowiki></code> → {{#invoke:rad-IPA|generate|hmanþs}}
*: <code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hmanþs}}}}<nowiki>}}</nowiki></code> → {{#invoke:rad-IPA|generate|hmanþs}}
*: <code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hmanþs}}|format}}<nowiki>}}</nowiki></code> → {{#invoke:rad-IPA|generate|hmanþs|format}}
*: <code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hmanþs}}|rhyme}}<nowiki>}}</nowiki></code> → {{#invoke:rad-IPA|generate|hmanþs|rhyme}}

Revision as of 19:27, 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}} → ˈa.ies, not *ˈai.ɛs, which would be spelt *aiès.

Irregular spellings are recognised in data:

{{#invoke:rad-IPA|generate|heņrecjes}} → ˈ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}}}} → ˈriŋɡlɛs u ˈa.ieɡ.

Parameters

  • hj: hjádvanþs standard
    {{#invoke:rad-IPA|generate|hjas}}}} → ʃas
    {{#invoke:rad-IPA|generate|hjas|hj}}}} → ças
  • format
    {{#invoke:rad-IPA|generate|hmanþs}}}} → hmanθs
    {{#invoke:rad-IPA|generate|hmanþs|format}}}}/hmanθs/
    {{#invoke:rad-IPA|generate|hmanþs|format|phon}}}}[xmãˑθs]
  • phon: renders the phonetic realisation
    {{#invoke:rad-IPA|generate|hmanþs}}}} → hmanθs
    {{#invoke:rad-IPA|generate|hmanþs|phon}}}} → xmãˑθs
  • rhyme
    {{#invoke:rad-IPA|generate|hmanþs}}}} → hmanθs
    {{#invoke:rad-IPA|generate|hmanþs|rhyme}}}} → anθs