Template:fi-pronunciation
- The following documentation is located at Template:fi-pronunciation/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
This template automatically provides pronunciation info, such as IPA, hyphenation and rhymes, for Finnish terms. The template uses Module:fi-pronunciation as a back-end.
The IPA describes a careful pronunciation in Standard Spoken Finnish (yleispuhekieli).
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 is generated automatically as long as the supplied pronunciation is not too different from the pronunciation based on the page title alone. Rhymes are generated automatically even in most of those cases. However, either can be also manually supplied.
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:
- The character
*
can be used to indicate final gemination, i.e. that the initial consonant of the next word is geminated in pronunciation. This happens, for example, with the dictionary forms of verbs (the first infinitive) and at the end of nominals inflecting like hame (ending in ⟨-e⟩ in the nominative singular form and with a ⟨-tta⟩ or ⟨-ttä⟩ in the partitive singular form). More information can be found in the Wikipedia article for Finnish phonology, specifically its sandhi section. - A parameter
*
is equivalent to providing the current page name plus*
. For example, on hame,{{fi-pronunciation|*}}
is a shortcut for{{fi-pronunciation|hame*}}
. - For compound words, which have secondary stresses, you should separate the parts of the compound with a "
-
". For example, on yläosa,{{fi-pronunciation|ylä-osa}}
. The final gemination sign should be included with individual parts, if applicable. For example, on tervetuloa,{{fi-pronunciation|terve*-tuloa}}
.- For compound words with many components, separate the main two components with
/
, such as{{fi-pronunciation|juhla/jumalan-palvelus}}
(juhla + jumalanpalvelus). If ambiguous (slash could go in more than one spot), use only hyphens instead.
- For compound words with many components, separate the main two components with
+
can be used for secondary stresses that are not caused by (morphological) boundaries in compound words, such as for:- suffixes that may further incur secondary stresses in otherwise irregular locations, such as -oida (such that -Oi- is always in a stressed syllable), resulting in e.g.
dokumen+toiDa
for dokumentoida - for words, primarily loanwords, with a static secondary stress, e.g.
mole+kyyli
for molekyyli
- suffixes that may further incur secondary stresses in otherwise irregular locations, such as -oida (such that -Oi- is always in a stressed syllable), resulting in e.g.
- The template automatically recognises diphthongs and groups them as one syllabic unit. If a word has a vowel sequence that could be a diphthong but is really two syllables, insert a "
.
" between the two. For example, on cesium,{{fi-pronunciation|seesi.um}}
- For optional syllable breaks, use
(.)
, like for certain genitive forms: hien ({{fi-pronunciation|hi(.)en}}
) - In loanwords, some hyphenation splits are optional. These can be marked with
"
, e.g.mikro"skooppi
. It behaves as if it were-
, except if the preceding part only has a single syllable (or is followed by a stressed syllable, in which case it acts as if it were.
), and in addition, it may be ignored by hyphenation:mikro-skooppi
is only provided the hyphenation mik‧ro‧skoop‧pi, whilemikro"skooppi
is provided both mik‧ro‧skoop‧pi and mik‧ros‧koop‧pi. Note that it should by default not be used if at least one of the parts is 'native', e.g. viivaspektri must beviiva-spektri
(not ×viiva"spektri
). - "Pronunciation respellings" of foreign words can be supplied as a parameter here.
- Consonants or vowels spelled long but often pronounced short (in loanwords like renessanssi) can be specified with
%
; for example,renes%anssi
represents a word spelled renessanssi, but pronounced like renesanssi (or sometimes as spelled). - Likewise, consonants or vowels spelled short but usually (or possibly) pronounced long can be specified by adding
(:)
, after the sound, such asport(:)aali
. - The respelling should not be capitalized and should be in lowercase. The only exception is
D
, used for "native" /d/ (as a weak grade of /t/ in words like sade, voida, taide and tehdas (saDe
,voiDa
,taiDe
,tehDas
), as opposed to "borrowed" /d/ in words like demokratia and diodi. While these are not distinguished in Standard Finnish, they are in dialects where the native phoneme can have different realizations. - Borrowed /ts/ (in e.g. pizza) as opposed to native /ts/ (in e.g. metsä) can be marked as
t#s
(aliaszz
which can be used for words spelled with ⟨zz⟩). These two are not distinguished in Standard Finnish either, however. - The weak grade of the "native" /ts/ can be marked as
t!s
. - To add syllabification hints for parts of a word, you can use [brackets]. These should be placed after the word, and will apply until the previous hyphen, if any.
- If the first character after the left opening brace is a slash (/) or a quote ("), it is used as the delimiter instead. These will also always match against a stronger delimiter; quotes also match against hyphens, and hyphens also match against slashes.
- For example, the word baseball-pallo may be input as
beisbool[base.ball]-pallo
to tell the template that baseball in the word is pronounced as beisbool, but syllabified as base‧ball. - Abbreviations and individual letters should be grouped together in syllabification hints, not spelled out.
- Using syllabification hints is strongly preferred to providing syllabifications through the
h
parameters manually whenever possible, especially in compounds with parts that could be syllabified on their own by default.
- The character
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^
may be supplied as an additional pronunciation to mean "like in the title". 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. THe hyphenation is generated automatically from the syllabification by disqualifying certain break points, which cannot currently be overridden. Syllables are separated with
.
, while words (in compounds, etc.) should be separated with-
. You can also supply-
to hide the syllabification and hyphenation. Note that the syllabification and hyphenation given must match the spelling of the entry, not the (respelled) pronunciation. 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. If the syllable count should be overridden (e.g. ifr2
is for a different pronunciation with a different number of syllables), it can be done by adding a/
followed by a number at the end of the rhyme. 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.
csuffix=
- If set to 1, a suffix is considered a compound suffix (a suffix which is technically a part in a compound and has secondary stress), such as with many suffixes that have itself been derived with -inen.
Examples
{{fi-pronunciation|a=fi-aika.ogg}}
on aika:
{{fi-pronunciation|beisbool|h=base-ball}}
on baseball:
{{fi-pronunciation|tieto-kone*}}
on tietokone:
{{fi-pronunciation|la(ː)ser|la(ː)seri|r1=ɑser|r2=ɑːser|r3=ɑseri|r4=ɑːseri|rp1=pronunciation 1|rp2=pronunciation 1|rp3=pronunciation 2|rp4=pronunciation 2}}
on laser:
- IPA(key): /ˈlɑ(ː)ser/, [ˈlɑ̝(ː)s̠e̞r]
- IPA(key): /ˈlɑ(ː)seri/, [ˈlɑ̝(ː)s̠e̞ri]
- Rhymes: -ɑser, -ɑːser (pronunciation 1)
- Rhymes: -ɑseri, -ɑːseri (pronunciation 2)
- Hyphenation(key): la‧ser
{{fi-pronunciation|weils|wales|q2=rare}}
on Wales:
Respelling cheatsheet
Symbol | Meaning | Example |
---|---|---|
- | Between two parts of a compound word (or in some cases foreign words with e.g. prefixes); imparts secondary stress on the following syllable | yhdyssana [= yhdys- + sana] → yhdys-sana |
(-) | Optional secondary stress between two parts of a compound word, when the word is no longer readily understood as a compound | maailma → maa(-)ilma |
/ | Between the principal parts of a compound word that itself consists of compound words, with - used between the parts of the component words | maailmanensi-ilta [= maailma(n) + ensi-ilta] → maa(-)ilman/ensi-ilta |
+ | Secondary stress not caused by an independent part | dokumentoida → dokumen+toiDa* molekyyli → mole+kyyli |
" | In loanwords: between foreign parts, optional in hyphenation | mikroskooppi → mikro"skooppi |
* | Final gemination, e.g. with the first infinitive (dictionary form) of verbs | sade → saDe* kulkea → kulkea* (or just *) sadekausi [= sade + kausi] → saDe*-kausi jollekin → jolle*kin |
(*) | Optional final gemination | itse → itse(*) (or just (*)) itsepalvelu → itse(*)-palvelu |
. | Explicit syllable break | cesium → keesi.um |
(.) | Explicit optional syllable break, e.g. weak grade of k in certain words | lainsuoja → la(.)in-suoja |
% | The preceding consonant is spelled as long but usually pronounced short | renessanssi → renes%anssi |
(:) | The preceding sound is usually long even though it is spelled as short | portaali → port(:)aali pyramidi → pyrami(:)di |
D | "Native" D, only as a weak grade of ⟨t⟩ | nähdä → nähDä* voida → voiDa* sadas → saDas kädenjälki → käDen-jälki |
t#s | Foreign ts (in borrowings) | pitsi → pit#si hitsata → hit#sata* |
t!s | Weak grade of native ts | vitsas → vit!sas metsänhoito → met!sän-hoito |
[...] | Syllabification hint until previous hyphen or slash | cashewpähkinä → käšuu[ca.shew]-pähkinä |
[/...] | Syllabification hint until previous slash | MM-kilpailut → äm-äm[/MM]/kilpailut |
["...] | Syllabification hint until previous quote, hyphen or slash | klinozoisiitti → klino"t#soisiitti["zoi.siit.ti] |