සැකිල්ල:pl-pronunciation/documentation
This template automatically provides pronunciation info, such as IPA, hyphenation and rhymes, for Polish terms. The template uses Module:pl-pronunciation as a back-end, which itself uses Module:pl-IPA.
Note that this template does not automatically recognize glottal stops, -np- change, other minute details etc. Do not use the template unless you know for certain how a word is pronounced.
The hyphenation and rhymes are generated automatically as long as the supplied pronunciation is not too different from the pronunciation based on the page title alone. However, either can be also manually supplied. Rhyme syllable counts will be automatically done, and the correct order willa lso automatically be done.
Parameters
[සංස්කරණය]1=
- The word that is to be converted. If omitted, the word is taken from the name of the current page. However, the following notes should be considered first:
- "Pronunciation respellings" of foreign words can be supplied as a parameter here.
- For words with exceptional stress on the third-from-last syllable (like Latinate names of disciplines, e.g. matematyka), the template will produce a pronunciation with improper (colloquial) stress. This can be corrected by adding an apostrophe in the place where the stress mark is expected.
- For non-assimilated (not phonetically spelled) loanwords it will produce a pronunciation as if they were spelled phonetically, e.g. jury will be /ˈju.rɨ/ instead of /ʐiˈri/. In such cases, the pronunciation should be completely overwritten with the phonetic spelling: i.e.
żi'ri
. - The generated syllable breaks may be unnatural or even wrong. They may be respelled using ' for primary stress and . for syllable breaks. Namely, prefixed words starting with consonant clusters in the stem will be incorrect. The template will naturally try to break it as wyt.wo.rzyć, and as such should be respelled as wy.two.rzyć.
- "Pronunciation respellings" of foreign words can be supplied as a parameter here.
2=
,3=
...- Supplies additional, alternative pronunciations. Hyphenations and rhyme data must be supplied manually using
h2=
,r2=
etc. If supplied, hyphenation or rhyme data will only be generated automatically for the first pronunciation, and if the hyphenation or rhyme info depends on the pronunciation, they must be supplied manually withh2=
,r2=
and so on (see below). a=
,audio=
- Adds an audio file to the pronunciation. The parameter is expected to be a full file name, including the .ogg ending, as would be supplied to Template:audio.
ac=
,caption=
- Customizes the caption for the audio file, which is "Audio" by default. Useful mostly for cases with multiple possible pronunciations.
q=
,q2=
,q3=
...- Adds labels or qualifiers for pronunciations.
h=
,hyphen=
- This allows overriding the default generated syllabification, or supplying a syllabification when one isn't created automatically. Syllables are separated with dots (
.
). You can also supply-
to hide the hyphenation. r=
,rhymes=
- This allows overriding the default generated rhyme data, or supplying some when not created automatically. It must be supplied like for
{{rhymes}}
, in IPA characters but without including the initial hyphen. You can also supply-
to hide the rhyme data. h2=
,h3=
...- Alternative hyphenations, mostly for alternative pronunciations with different hyphenations.
r2=
,r3=
...- Alternative rhyme infos, mostly for alternative pronunciations with different final syllables.
hp=
,hp2=
,hp3=
...- Adds labels to hyphenations, meant primarily to specify which hyphenation applies to which pronunciation.
rp2=
,rp2=
,rp3=
...- Adds labels to rhyme information lines, meant primarily to specify which rhyming pattern applies to which pronunciation.
hh=
,homophones=
- Lists homophones; if there are multiple, separate the homophones with a comma (,).
hhp=
,hhp2=
,hhp3=
...- Adds labels to homophones.
a2=
,a3=
...- Adds multiple audio files.
ac2=
,ac3=
...- Customizes captions for further audio files.
ipa=
,ipa2=
,ipa3=
...- This supplies a custom IPA pronunciation, overriding any other supplied pronunciations. The pronunciation must include slashes or brackets. If supplied, hyphenation or rhyme data will not be generated automatically.
nohyphen=
- If set to 1, hyphenation info is omitted.
norhymes=
- If set to 1, rhyme info is omitted.
fs=
,fixstress=
- Makes the module generate two pronunciations (stressed penultimately and antepenultimately). Turned on by default for 1st and 2nd person singular past verb forms. If set to 1, it will also work for loanwords ending with -ika, -yka and their forms. Setting this to 0 will turn it off completely, which would be used for words ending in -liście that are not verb forms.
mp=
- Calles Module:zlw-mpl-IPA, takes a respelling or a + if the module should call the page name. See
{{zlw-mpl-IPA}}
for more.
Examples
[සංස්කරණය]{{pl-pronunciation|a=Pl-akcyza.ogg}}
on akcyza:
{{pl-pronunciation|prze'świad.czyć}}
on przeświadczyć:
- IPA(key): /pʂɛˈɕfjat.t͡ʂɨt͡ɕ/
- Rhymes: -att͡ʂɨt͡ɕ
- Syllabification: prze‧świad‧czyć
{{pl-pronunciation|a=LL-Q809 (pol)-Olaf-przeżytek.wav}}
on przeżytek:
{{pl-pronunciation|a=LL-Q809 (pol)-Olaf-zaawansowany.wav}}
on zaawansowany:
{{pl-pronunciation|wy'two.rzyć|a=LL-Q809 (pol)-Olaf-wytworzyć.wav}}
on wytworzyć:
{{pl-pronunciation|a=Pl-niż.ogg|hh=nisz}}
on niż:
{{pl-pronunciation|a=LL-Q809 (pol)-Olaf-absentować się.wav|ac=Audio, ''absentować się''}}
on absentować:
- IPA(key): /ap.sɛnˈtɔ.vat͡ɕ/
Audio, absentować się: (file) - Rhymes: -ɔvat͡ɕ
- Syllabification: ab‧sen‧to‧wać
{{pl-pronunciation|a=LL-Q809 (pol)-Olaf-aklimatyzować.wav|a2=LL-Q809 (pol)-Olaf-aklimatyzować się.wav|ac=Audio 1, ''aklimatyzować''|ac2=Audio 2, ''aklimatyzować się''}}
on aklimatyzować:
- IPA(key): /ak.li.ma.tɨˈzɔ.vat͡ɕ/
Audio 1, aklimatyzować: (file) Audio 2, aklimatyzować się: (file) - Rhymes: -ɔvat͡ɕ
- Syllabification: ak‧li‧ma‧ty‧zo‧wać
{{pl-pronunciation}}
on widzieliśmy:
- IPA(key): (prescriptive standard; rarely used) /viˈd͡ʑɛ.liɕ.mɨ/
- IPA(key): (colloquial; overall more common) /vi.d͡ʑɛˈliɕ.mɨ/
- Rhymes: -iɕmɨ
- Syllabification: wi‧dzie‧liś‧my
{{pl-pronunciation|a=Pl-matematyka.ogg|fs=1}}
on matematyka:
- IPA(key): (standard) /ma.tɛˈma.tɨ.ka/
- IPA(key): (colloquial; common in casual speech) /ma.tɛ.maˈtɨ.ka/
ඕඩියෝ: (file) - Rhymes: -ɨka
- Syllabification: ma‧te‧ma‧ty‧ka
{{pl-pronunciation|a=LL-Q809 (pol)-Poemat-akrobatyka.wav|fs=1}}
on akrobatyka:
- IPA(key): (standard) /ak.rɔˈba.tɨ.ka/
- IPA(key): (colloquial; common in casual speech) /ak.rɔ.baˈtɨ.ka/
ඕඩියෝ: (file) - Rhymes: -ɨka
- Syllabification: ak‧ro‧ba‧ty‧ka
{{pl-pronunciation|a=Pl-gołąb.ogg|mp=gołą}}
on gołąb:
- IPA(key): /ˈɡɔ.wɔmp/
- (Middle Polish) IPA(key): /ˈɡɔ.ɫɔ̃pʲ/
ඕඩියෝ: (file) - Rhymes: -ɔwɔmp
- Syllabification: go‧łąb
{{pl-pronunciation|a=pl-mówić.ogg|mp=+}}
on mówić:
- IPA(key): /ˈmu.vit͡ɕ/
- (Middle Polish) IPA(key): /ˈmo.vit͡ɕ/
ඕඩියෝ: (file) - Rhymes: -uvit͡ɕ
- Syllabification: mó‧wić