This template automatically generates pronunciation for Russian words, relying on Module:ru-pron.
NOTE: This documentation is incomplete. Please contact User:Benwing2 for questions.
Most of the time you can just use the regular spelling of the word, with appropriate accent marks. Use an acute accent for primary stress, and a grave accent for secondary stress.
Term | Template call | Output |
---|---|---|
чи́стить (čístitʹ) | {{ru-IPA|чи́стить}} |
IPA(key): |
де́ться (détʹsja) | {{ru-IPA|де́ться}} |
IPA(key): |
счастли́вый (sčastlívyj) | {{ru-IPA|счастли́вый}} |
IPA(key): |
антите́ло (antitélo) | {{ru-IPA|а̀нтите́ло}} |
IPA(key): |
Use a circumflex to indicate "tertiary stress", i.e. an unstressed syllable where the vowel isn't reduced when it normally would be.
Term | Template call | Output |
---|---|---|
ха́ос (xáos) | {{ru-IPA|ха́о̂с}} |
IPA(key): |
Sometimes you will have to respell a word; this especially happens in borrowed words where written е is pronounced as э. In such cases, use phon=, which causes the respelled form to be displayed.
Term | Template call | Output |
---|---|---|
ине́ртный (inɛ́rtnyj) | {{ru-IPA|phon=инэ́ртный}} |
IPA(key): (phonetic respelling: инэ́ртный) |
бисексуа́л (bisɛksuál) | {{ru-IPA|phon=бисэксуа́л}} |
IPA(key): (phonetic respelling: бисэксуа́л) |
почу́вствовать (počúvstvovatʹ) | {{ru-IPA|phon=почу́ствовать}} |
IPA(key): (phonetic respelling: почу́ствовать) |
Respelling is automatic in genitival -ого and -его, in что and related words, and in the sequences гк and гч. A list of exceptions is maintained where -ого and -его should be pronounced as-is.
Term | Template call | Output |
---|---|---|
до́брого пути́ (dóbrovo putí) | {{ru-IPA|до́брого пути́}} |
IPA(key): (phonetic respelling: до́брово пути́) |
мно́го (mnógo) | {{ru-IPA|мно́го}} |
IPA(key): |
будь что бу́дет (budʹ što búdet) | {{ru-IPA|будь что бу́дет}} |
IPA(key): (phonetic respelling: будь што бу́дет) |
мя́гкий (mjáxkij) | {{ru-IPA|мя́гкий}} |
IPA(key): (phonetic respelling: мя́хкий) |
Certain short words like не, ни, за, до, по, на, etc. are automatically rendered with reduced vowels and attached to the following word, as indicated by ‿
(similarly, certain words like -то are attached to the preceding word). This linking and vowel reduction won't happen if the word has a stress mark. You can force linking/reduction by explicitly joining words with ‿
.
Term | Template call | Output |
---|---|---|
до свида́ния (do svidánija) | {{ru-IPA|до свида́ния}} |
IPA(key): |
не зна́ю (ne znáju) | {{ru-IPA|не зна́ю}} |
IPA(key): |
то же (to že) | {{ru-IPA|то же}} |
IPA(key): |
како́й-то (kakój-to) | {{ru-IPA|како́й-то}} |
IPA(key): |
град идёт (grad idjót) | {{ru-IPA|град идёт}} |
IPA(key): |
{{ru-IPA|град‿идёт}} |
IPA(key): | |
{{ru-IPA|гра̂д‿идёт}} |
IPA(key): | |
ни за что́ (ni za štó) | {{ru-IPA|ни за что́}} |
IPA(key): (phonetic respelling: ни за што́) |
не́ за что (né za što) | {{ru-IPA|не́‿за‿что}} |
IPA(key): (phonetic respelling: не́зашто) |
Commas and dashes are rendered as IPA foot boundaries.
Term | Template call | Output |
---|---|---|
то́ же, что (tó že, što) | {{ru-IPA|то́ же, что}} |
IPA(key): (phonetic respelling: то́ же, што) |
век живи́ — век учи́сь (vek živí — vek učísʹ) | {{ru-IPA|век живи́ — век учи́сь}} |
IPA(key): |
Gemination can be controlled explicitly using |gem=y
to force gemination, |gem=n
to force no gemination, or |gem=opt
to force optional gemination. Otherwise, sensible defaults will be used; the exact rules are described below.
Term | Template call | Output |
---|---|---|
гру́ппа (grúppa) | {{ru-IPA|гру́ппа|gem=opt}} |
IPA(key): |
оргкомите́т (orgkomitét) | {{ru-IPA|о̀ргкомите́т|gem=y}} |
IPA(key): |
аннота́ция (annotácija) | {{ru-IPA|аннота́ция|gem=n}} |
IPA(key): |
а́ффикс (áffiks) | {{ru-IPA|а́ффикс|gem=n}} |
IPA(key): |
жи́зненный (žíznennyj) | {{ru-IPA|жи́зненный}} |
IPA(key): |
заключённый (zaključónnyj) | {{ru-IPA|заключённый}} |
IPA(key): |
The sequences зж and жж, except at prefix boundaries, automatically trigger the generation of two pronunciations, the first one with non-palatalized and the second with palatalized . This can be overridden using |zhpal=n
to prevent the generation of both variants, or |zhpal=y
to force the generation of both variants even at prefix boundaries. Use ӂӂ to indicate only palatalized and сж to indicate only non-palatalized . Examples:
Term | Template call | Output | Notes |
---|---|---|---|
брюзжа́ть (brjuzžátʹ) | {{ru-IPA|брюзжа́ть}} |
IPA(key): ~ | Note the effect of palatalized on adjoining vowels. |
съезжа́ем (sʺjezžájem) | {{ru-IPA|съезжа́ем}} |
IPA(key): ~ | |
дро́жжи (dróžži) | {{ru-IPA|дро́жжи}} |
IPA(key): ~ | Both variants are generated regardless of stress ... |
жжём (žžom) | {{ru-IPA|жжём}} |
IPA(key): ~ | ... and even with жж at the beginning of a word. |
разжа́ть (razžátʹ) | {{ru-IPA|разжа́ть}} |
IPA(key): | But not at a prefix boundary. |
разжа́ть (razžátʹ) | {{ru-IPA|разжа́ть|zhpal=y}} |
IPA(key): ~ | Force generation of both variants (incorrect in this case). |
жжём (žžom) | {{ru-IPA|жжём|zhpal=n}} |
IPA(key): | Disable generation of both variants, including only the non-palatalized variant. |
жжём (žžom) | {{ru-IPA|сжём}} |
IPA(key): | Another way to do the same thing. |
жжём (žžom) | {{ru-IPA|ӂӂём}} |
IPA(key): | Include only the palatalized variant. |
|1=
|phon=
is used). Can be either in Cyrillic or transliteration.|phon=
|1=
. If used, this should be Cyrillic. This is used, for example:
|noadj=
|noshto=
|gem=
y
, force gemination to be preserved in places it otherwise wouldn't. If n
, force degemination in places it otherwise would be preserved. If opt
, force optional gemination, including in places it wouldn't normally be preserved. Can also include multiple values separated by slashes, one per word. See below.|pos=
|raw=
|ann=
y
, display the result in |phon=
(if specified) or |1=
(although the value in |phon=
is rarely what you want); accent marks other than primary (acute) and secondary (grave) are suppressed in the output. If any other non-empty value, display that value. Example: {{ru-IPA|спа́ля̣т|ann=y}}
displays спа́лят: IPA(key): .|bracket=
|bracket=n
to suppress the bracket.|zhpal=
y
, and force generation of both and variants of words with зж or жж in them, even across prefix boundaries. If n
, generate only the variant in all cases.The value of the |pos=
parameter can be either a single part of speech code or a series of such codes separated by slashes. In the former case, the same part of speech applies to all words in a multi-word phrase. In the latter case, there should be as many codes as there are words (otherwise, an error will result, tell you the expected number of words). Rules for counting number of words:
As mentioned above, part of speech codes are currently only used in two circumstances:
The possible part of speech codes for final -е are:
def
= Default ( in the ending -ое, else same as mid
)n
or noun
= Neuter noun in the nominative/accusative (but not ending in adjectival -ое or -ее; those should be considered as adjectives)pre
= prepositional case singulardat
= dative case singular (treated same as prepositional)voc
= vocative case (currently treated as mid
)nnp
= noun nominative plural in -е (гра́ждане, боя́ре, армя́не); not adjectival plurals in -ие or -ые, including adjectival nouns (да́нные, а́вторские)inv
= invariable noun or other word (currently treated as mid
)a
or adj
= adjective or adjectival noun (typically either neuter in -ое or -ее, or plural in -ие, -ые, or -ье, or short neuter in unpaired sibilant + -е)c
or com
= comparative (typically either in -ее or sibilant + -е)adv
= adverbp
= preposition (treated same as adverb)v
, vb
, verb
= verbal ending (usually 2nd-plural in -те); not participle forms, which should be treated as adjectivespro
= pronoun (кое-, какие-, ваше, сколькие)num
= number (двое, трое, обе, четыре; currently treated as mid
)pref
= prefix (treated as high
because integral part of word)hi
or high
= force high values ( or )mid
= force mid values ( or )lo
, low
, schwa
= force low/schwa value ()The possible part of speech codes for final -ться are:
imp
= imperative, pronounced as {{ru-IPA|не́‿за‿што}}
becomes and {{ru-IPA|гра̂д‿идёт}}
becomes .The following sections detail some of the phonological rules used when generating pronunciation.
Geminated consonants (including cases like зж that become geminated after assimilation) may or may not be rendered with gemination. Use |gem=
to override the defaults, e.g.:
{{ru-IPA|да́нный|gem=y}}
becomes {{ru-IPA|да́нный|gem=n}}
becomes {{ru-IPA|да́нный|gem=opt}}
becomes As an exception, щ is always rendered , and ӂӂ is always rendered , regardless of |gem=
. The same thing applies to combinations that are pronounced as щ (e.g. some сч, see above), regardless of |gem=
.
Optional gemination can also be forced by writing C(C), e.g. {{ru-IPA|да́н(н)ый}}
becomes .
By default, gemination is normally preserved:
|gem=
.By default, gemination is normally rendered as optional:
{{ru-IPA|жа́ренный}}
becomes .By default, gemination is normally not preserved in all other circumstances. Note that this includes most occurrences of gemination not between vowels, e.g. {{ru-IPA|финн}}
becomes .
For multiword expressions, the value of |gem=
can include multiple codes, separated by slashes. For example, {{ru-IPA|phon=по̀сттравмати́ческое стрэ́ссовое расстро́йство|gem=y/n/|pos=a}}
produces . There must either be only one code and no slashes (in which case that code applies to all words), or as many codes as there are words. If the default behavior is desired for a particular word, use a blank code, as in the example just given.
сч is sometimes rendered as and sometimes as , according to the following rules:
As mentioned above, this can be overridden using щч to force the pronunciation , and щ to force the pronunciation . Hence счи́тывать must be written щчи́тывать , and несча́стье must be written неща́стье .
тс and дз are sometimes rendered with the "short" pronunciations and , and sometimes with the "long" pronunciations and . тш and дж always use "long" variants. Specifically: