Module:rad-IPA/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 27: Line 27:
*: <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}}|rhyme}}<nowiki>}}</nowiki></code> → {{#invoke:rad-IPA|generate|hmanþs|rhyme}}
*: <code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hmanþs}}|rhyme}}<nowiki>}}</nowiki></code> → {{#invoke:rad-IPA|generate|hmanþs|rhyme}}
<includeonly>[[Category:Radestrian modules]]</includeonly>

Revision as of 10:56, 21 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}} → ˈ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