Шаблон:cs-decl-noun-auto/док

Usage[уреди]

A template for automatic declension of Czech nouns.

Displays a table of declensions for a Czech noun. Automatically determines the declined forms. Based on Wikipedia's Czech declension.

Parameters[уреди]

Parameter Value Meaning
1. "ma" masculine animate
1. "mi" masculine inanimate
1. "f" feminine
1. "na" neuter animate
1. "ni" neuter inanimate
2. string noun without the two last letters
3. character next to last letter
4. character last letter
5. "muž" ("muz" without diacritics also possible) used if the template fails to recognize correct declension according to the pattern "muž", for example with "král" (which would otherwise be declensed as admirál, pattern "pán").
5. "pán" ("pan" without diacritics also possible) used if the template fails to recognize correct declension according to the pattern "pán", for example with "datel" (which would otherwise be declensed as učitel, pattern "muž").
gs string genitive singular; used for the likes of "les"
gs2 string genitive singular; when used, it affects not only genitive singular, but automatically other cases as well, see the entry piraňa
gp string genitive plural; used for the likes of "díra"
gp2 string genitive plural; used for the likes of "torba", which has 2 possibilities ("toreb" and "torb").
name string used to distinguish the declension of sója, papája ... (parameter "name" not used) from the declension of names like Darja, Mája ... (name=yes).

Примери[уреди]

Обрасци[уреди]

{{cs-decl-noun-auto|mi|hr|a|d}}
{{cs-decl-noun-auto|ma|m|u|ž}}
{{cs-decl-noun-auto|mi|str|o|j}}
{{cs-decl-noun-auto|ma|předse|d|a}} 
{{cs-decl-noun-auto|ma|soud|c|e}}

{{cs-decl-noun-auto|f|že|n|a}}
{{cs-decl-noun-auto|f|rů|ž|e}}
{{cs-decl-noun-auto|f|pís|e|ň}}
{{cs-decl-noun-auto|f|ko|s|t}}

{{cs-decl-noun-auto|ni|měs|t|o}}
{{cs-decl-noun-auto|ni|mo|ř|e}}
{{cs-decl-noun-auto|na|ku|ř|e}}
{{cs-decl-noun-auto|ni|stave|n|í}}

Више[уреди]

{{cs-decl-noun-auto|ma|řid|i|č}}
{{cs-decl-noun-auto|mi|čed|i|č}}

{{cs-decl-noun-auto|f|znám|k|a}}
{{cs-decl-noun-auto|f|nála|d|a}}
{{cs-decl-noun-auto|f|zába|v|a}}
{{cs-decl-noun-auto|f|jisto|t|a}}
{{cs-decl-noun-auto|f|Tere|z|a}}
{{cs-decl-noun-auto|f|ko|s|a}}
{{cs-decl-noun-auto|f|har|f|a}}
{{cs-decl-noun-auto|f|li|g|a}}
{{cs-decl-noun-auto|f|zálo|h|a}}
{{cs-decl-noun-auto|f|ško|l|a}}

{{cs-decl-noun-auto|na|ko|t|ě}}
{{cs-decl-noun-auto|na|hří|b|ě}}
{{cs-decl-noun-auto|na|jeh|n|ě}}
{{cs-decl-noun-auto|ni|dou|p|ě}}

{{cs-decl-noun-auto|ma|Ctir|a|d}}

{{cs-decl-noun-auto|ni|čís|l|o|gp=čísel}}
{{cs-decl-noun-auto|f|muta|c|e|gp=mutací}}
{{cs-decl-noun-auto|f|tor|b|a|gp2=torb}} (produces both "toreb" and "torb")
{{cs-decl-noun-auto|f|Tá|ň|a}}
{{cs-decl-noun-auto|f|pira|ň|a|gs2=piraně}} ("gs2" produces alternative version not only for genitive singular, but automatically in other cases, where needed, too.)
{{cs-decl-noun-auto|f|só|j|a}}
{{cs-decl-noun-auto|f|Dar|j|a|name=yes}} ("name" distinguishes different declension of names like Darja, Tanja... from declension of other similarly ending nouns like sója)

{{cs-decl-noun-auto|ma|kr|á|l|muž}}
{{cs-decl-noun-auto|ma|dat|e|l|pán}}

Completeness[уреди]

  • What is gramatically called one pattern -- like žena -- is technically a group of patterns. Let me call members of this group subpatterns, exemplified by žena and známka, differing in dative: že, známce. Chances are many subpatterns are not covered. Instance: pes is not covered.

Issues[уреди]

Issue Description Solution
ruka vs schránka genitive plural: ruk a rukou vs schránek. This demonstrates that the knowledge of the last two letters of the word is insufficient for the automatic declension of regular nouns Explicit parameter for genitive plural enabled.
číslo vs kolo Genitive plural: čísel but kol. Explicit parameter for genitive plural enabled.
sérum vs atrium Genitive plural: sér vs atrií; an issue is also in locative and instrumental plurals. Currently unavailable.
starosta vs komunista Nominative plural: starostové vs komunisté; and futher cases. Currently unavailable.
počet missing inversion: počtu, počty, etc., not početu, počety, etc. Currently unavailable.
konvence, invence, multiverbizace, ... vs krabice, slepice, jepice, ... missing inversion: konvencí, not konvenc Explicit parameter for genitive plural enabled.
palác vs tác paláce vs tácu Currently unavailable.
komunismus vs humus missing inversion: komunismu, not komunismusu, ... Currently unavailable.
jméno vs ráno jméně/jménu vs ránu By default, use -ně/-nu, enable explicit parameter for locative singular to override?
volba x houba genitivive plural voleb x hub Explicit parameter gp for genitive plural enabled.
volba x torba, kruchta, páka genitive plural voleb x torb, toreb (2 possibilities) Explicit parameters gp and gp2 for genitive plural enabled.
hubka x páka genitive plural hubek x pák Explicit parameter gp for genitive plural enabled.
plachta x kruchta; deska genitive plural plachet x krucht, kruchet (2 possibilities); desek, desk (2nd possibility obsolete, but existing) Explicit parameters gp and gp2 for genitive plural enabled.
doňa x piraňa genitive singular doni x pirani, piraně (2 possibilities), other cases are different, too. genitive singular parameter gs2 enabled; if it is filled, it influences declension of other cases, too.
Tanja, Darja x sója, papája genitive plural Tanji x sóje (2 possibilities), other cases are different, too. added parameter "name"; if it is used (name=yes), it results in different declension of female names ending "-ja".
kmán x pán vocative kmáne x pane (short vowel) Currently unavailabe
pan plural páni, pánové (long vowel) Currently unavailabe
pes, kos, ras, běs Currently unavailabe
rorýs, primas two patterns possible, both "pán" and "muž" Currently unavailabe
Halas x Mánes genitive Halase x Mánesa Currently unavailabe
Hus x Mánes vocative Huse x Mánesi Currently unavailabe
učitel x datel učitel (pattern "muž"), datel (pattern "pán") Explicit parameter "muž" enabled.
posel, Karel x osel, mazel plural poslové x osli, oslové (2 possibilities) Currently unavailabe
posel x Skácel; vězeň x tuleň genitive posla x Skácela; vězně x tule Currently unavailabe
admirál x král admirál (pattern "pán"), král (pattern "muž") Explicit parameter "muž" enabled.
vůl changes "ů" into "o", e. g. genitive "vola" Currently unavailabe
kůl x stůl inanimate "stůl" changes "ů" similarly as the animate "vůl" (genitive "stolu"), but "kůl" does not (genitive "kůlu") Currently unavailabe
hůl e. g. genitive "hole" Currently unavailabe
pastel x pytel, kužel x kašel pastel (pattern "hrad"), pytel (pattern "stroj") Currently unavailabe
skřet x robot plural skřeti, skřetové x roboti (only 1 possibility) Currently unavailabe
věc plural dativ (věcem), locativ (věcech) and instrumental (věcem) Currently unavailabe

Notes[уреди]

  • Exclamation mark: Exclamation marks have been removed from vocative forms, as exclamation mark is not really a part of the word form, and the word form is often used without an exclamation mark: "Petře, podej mi prosím kladívko."

See also[уреди]