Jump to content

Template:sk-ndecl

From Wiktionary, the free dictionary

Usage

This template returns the whole declension of Slovak nouns. It works with almost any noun or multiword term and requires one mandatory parameter with the option to specify other things as needed. The module that produces the forms for this template is modeled after the official guidelines for Slovak morphology by Jozef Ružička and co.: Morfológia slovenského jazyka, 1966.

Parameters

  • parameter 1 (mandatory) – the gender of the noun – the recognised values are m-pr (masculine personal), m-anml (masculine animal), m-in (masculine inanimate), f (feminine) and n (neuter);
  • parameter 2 (only when needed) – the genitive form of the noun – use this parameter:
    • for any noun ending with -er or -el, where the -e- is omitted apart from the basic form (as there are no exact rules as to when the e is mobile), e.g. náter, tiger;
    • if there are more declensions using different stems, e.g. Herkules (use a slash to separate the genitive forms: Herkula/Herkulesa);
    • for nouns whose stem changes when declined, e.g. Zeus, Artemis;
    • for multiword terms, if some of the words are declined incorrectly by the module, e.g. rozliate mlieko;
    • for any nouns, if you are getting wrong forms.

Other optional parameters

  • n – the number – for pluralia/singularia tantum – the recognised values are sg and pl;
  • g – the genitive ending – for specifying the genitive ending of masculine inanimate nouns – the recognised values are u, a/u and u/a (-a is the default ending);
  • pl – the plural ending – used to specify the plural ending of animate masculine nouns when the module generates an incorrect form – the recognised values are i, ovia, ia and any combination separated by slashes (e.g. i/ovia);
  • pl2 – alternative plural – used when the animate plural is needed along with the inanimate plural for animal nouns (use as pl2=1);
  • t – type – used in special cases when certain types of verbs are declined differently – the recognised types are these:
    • name, surn (surname) – use always with these types;
    • loan – use with masculine loanwords ending with -ch or -ta, masculine inanimate nouns ending with -us/-os/-es where the ending is eliminated in other cases and feminine or neuter loanwords whose genitive plural should have a short stem and the module is generating a long one;
    • dim (diminutive) – use with neuter diminutives ending with -ko or -ce if the genitive plural generated by the module is wrong;
    • der (derived) – use with feminine derivatives formed with the suffix -ba (tvorba) or -ca if the genitive plural generated by the module is wrong;
    • abstr (abstract), comp-deverb (compound ending with a deverbative noun), material, collect (collective) – better not to use for now, implemented only with potential future use in mind.
  • any form can be overridden or additional forms added in rare cases where the module can't produce a complete correct declension by using the case and number in this format: gen_sg (genitive singular), dat_pl (dative plural), loc_sg2 (the alternative form of the locative singular), etc.

Examples

A simple regular noun like ruka requires only 1 parameter:

The result:


The noun tiger ends with -er, but the -e- is omitted in other cases, therefore the genitive form must be specified as parameter 2:

The result:


The noun pontifex has a different stem for other cases, so genitive must be specified here as well. At the same time, the module produces a wrong nominative plural form, so the ending can be specified as parameter pl:

The result:


Inanimate masculine nouns often have two possible genitive forms, which can be specified by the parameter g:

The result:


Kováč is a surname, which must be specified by the parameter t:

The result:


Pluralia tantum like Bátorove Kosihy need be specified by the parameter n. At the same time, the genitive form must be specified, because in this multiword term, the module can't recognise from the ending alone that the word Bátorove is an adjective:

The result:


Latin and Greek names often have two declensions – one with the original Latin/Greek genitive stem and one assimilated to the Slovak declension. This can be specified by giving both genitive forms:

The result:


If a multiword term has parts that shouldn't be declined, the genitive must be provided:

The result:

Known issues

There are cases where the module can't handle declining a term even with all the options that it offers. In these cases, use the template {{sk-decl-noun}} instead and fill out the forms manually. These cases are known:

  • terms containing words connected with a dash, where both of these connected terms are declined;
  • terms containing words of different genders.

See also

  • {{sk-conj}} – for the conjugation of Slovak verbs
  • {{sk-adecl}} – for the declension of Slovak adjectives