Module:rad-IPA/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 22: Line 22:


<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hmanþs}}|phon}}<nowiki>}}</nowiki></code> will generate {{#invoke:rad-IPA|generate|hmanþs|phon}}.
<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hmanþs}}|phon}}<nowiki>}}</nowiki></code> will generate {{#invoke:rad-IPA|generate|hmanþs|phon}}.
If you would like the IPA formatted, rather than just returning a value, add the <code>format</code> parameter.
<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}}|format}}<nowiki>}}</nowiki></code> will generate {{#invoke:rad-IPA|generate|hmanþs|format}}.

Revision as of 18:33, 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.

If you would like the IPA formatted, rather than just returning a value, add the format parameter.

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

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