Answer the question
In order to leave comments, you need to log in
Is there any algorithm for declension of plural nouns?
There is a word/expression. Example: cars
It should be declined
cars
cars
cars
and so on
Answer the question
In order to leave comments, you need to log in
Seriously, and not for coursework, then phpMorphy .
If for learning - love Zaliznyak until you get bored.
There is no algorithm, in Russian there are declension rules, according to which nouns, depending on the gender and ending, are divided into three main groups (1st, 2nd and 3rd declension). In addition, indeclinable (there is only a plural form) and 12 indeclinable nouns are distinguished.
For 98% of nouns, there are, and for this, dig Wiktionary templates. True, it’s not so simple, just by the word “cars”, it’s impossible, because a stupid car will not understand in any way that “I see cars” - this is doubly wrong (the group and animation are not guessed).
It is necessary to set:
• declination (first / second / third / non-inclined / non-inclined);
• declension group (ten and a half for each declension);
• animation (affects the dative and accusative cases, depending on the declension).
Well, at least take advantage of this - www.unicode.org/cldr/charts/27/supplemental/langua...
+ there is an ICU declination system ..
Now I looked at Zaliznyak's dictionary - there are more than a hundred declension schemes. True, they include both the singular and the plural. It looks like the only way out is to honestly code them, or find someone who has already done so.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question