User:Vitalik/ru-decl-noun-z

From Wiktionary, the free dictionary
Jump to navigation Jump to search

Description

[edit]

Template for Russian nouns.

"-z" is for Zaliznyak because this template uses his algorithm.

Usage

[edit]
{{User:Vitalik/ru-decl-noun-z|<word_stressed>|<gender_animacy>|<stress_type>|<specific>}}

Parameters

[edit]

Numbered parameters

[edit]
  1. word_stressed: a word like in dictionaries with the stress mark (do not use it for monosyllables and words with stressed ё).
  2. gender_animacy:
    • m-in / m-an / m-inan: masculine  inanimate / animate / inanimate+animate
    • f-in / f-an / f-inan: feminine  inanimate / animate / inanimate+animate
    • n-in / n-an / n-inan: neuter  inanimate / animate / inanimate+animate
  3. stress_type: a / b / b' / c / d / d' / e / f / f' / f'' (see description below)
  4. specific:
    • *: for reduceables (e.g. лев → льва or кошка → кошек, see in examples below)
    • (1): irregular ending for nominative plural:
      • -а/-я  (for masculine, e.g. город → города́)
      • -и/-ы  (for neuter, e.g. яблоко → яблоки)
    • (2): irregular ending for genitive plural:
      • ∅  (for masculine, e.g. во́лос → воло́с)
      • -ей  (for feminine, e.g. корча → корчей)
      • -ов/-ёв/-ев  (for neuter, e.g. облако → облаков)
    • ё: for words having a change е → ё in the stem (e.g. звезда → звёзд)

Named parameters

[edit]

Description for stress types

[edit]
Form Stress type
a b b' c d d' e f f' f''
singular nominative stém-ending stem-énding like b stém-ending stem-énding like d stém-ending stem-énding like f like f
genitive stém-ending stem-énding stém-ending stem-énding stém-ending stem-énding
dative stém-ending stem-énding stém-ending stem-énding stém-ending stem-énding
accusative stém-ending stem-énding stém-ending stem-énding stém-ending stém-ending stem-énding stém-ending
instrumental stém-ending stem-énding stém-ending stém-ending stem-énding like d stém-ending stem-énding like f stém-ending
prepositional stém-ending stem-énding like b stém-ending stem-énding stém-ending stem-énding like f
plural nominative stém-ending stem-énding like b stem-énding stém-ending like d stém-ending stém-ending like f like f
genitive stém-ending stem-énding stem-énding stém-ending stem-énding stem-énding
dative stém-ending stem-énding stem-énding stém-ending stem-énding stem-énding
instrumental stém-ending stem-énding stem-énding stém-ending stem-énding stem-énding
prepositional stém-ending stem-énding stem-énding stém-ending stem-énding stem-énding

Examples

[edit]
{{User:Vitalik/ru-decl-noun-z|шабло́н|m-in|a}}   gives   Lua error in package.lua at line 80: module 'Module:utils' not found
{{User:Vitalik/ru-decl-noun-z|лев|m-an|b|*}}   gives   Lua error in package.lua at line 80: module 'Module:utils' not found
{{User:Vitalik/ru-decl-noun-z|ко́шка|f-an|a|*}}   gives   Lua error in package.lua at line 80: module 'Module:utils' not found