Module:rad-IPA/documentation: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 1: Line 1:
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 {{#invoke:rad-IPA|generate|aies}}, not *{{#invoke:rad-IPA|generate|aiès}}, which would be spelt <i>*aiès</i>.
<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|aies}}<nowiki>}}</nowiki></code> {{#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 {{#invoke:rad-IPA|generate|heņrecjes}}.
<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|heņrecjes}}<nowiki>}}</nowiki></code> {{#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 {{#invoke:rad-IPA|generate|ryņles u aieg}}.
<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|ryņles}} {{l|rad|u}} {{l|rad|aies|aieg}}}}<nowiki>}}</nowiki></code> {{#invoke:rad-IPA|generate|ryņles u aieg}}.


If you would like the hjádvanþs standard, add the <code>hj</code> parameter.
== Parameters ==
 
* <code>hj</code>: ''[[Appendix:Radestrian_pronunciation|hjádvanþs]]'' standard
<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}}}}<nowiki>}}</nowiki></code> {{#invoke:rad-IPA|generate|hjas}}
 
*: <code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hjas}}|hj}}<nowiki>}}</nowiki></code> {{#invoke:rad-IPA|generate|hjas|hj}}
<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hjas}}|hj}}<nowiki>}}</nowiki></code> will generate {{#invoke:rad-IPA|generate|hjas|hj}}.
* <code>format</code>
 
*: <code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hmanþs}}}}<nowiki>}}</nowiki></code> → {{#invoke:rad-IPA|generate|hmanþs}}
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}}|format}}<nowiki>}}</nowiki></code> {{#invoke:rad-IPA|generate|hmanþs|format}}
 
*: <code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hmanþs}}|format|phon}}<nowiki>}}</nowiki></code> {{#invoke:rad-IPA|generate|hmanþs|format|phon}}
<code><nowiki>{{#invoke:rad-IPA|generate|</nowiki>{{l|rad|hmanþs}}}}<nowiki>}}</nowiki></code> will generate {{#invoke:rad-IPA|generate|hmanþs}}.
* <code>phon</code>: renders the phonetic realisation
 
*: <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}}|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> → {{#invoke:rad-IPA|generate|hmanþs|phon}}
 
* <code>rhyme</code>
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> {{#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}}}}<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}}.

Navigation menu