A
A
aiduryagin2015-12-04 14:12:44
PHP
aiduryagin, 2015-12-04 14:12:44

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

6 answer(s)
A
Adamos, 2015-12-04
@aiduryagin

Seriously, and not for coursework, then phpMorphy .
If for learning - love Zaliznyak until you get bored.

R
Rsa97, 2015-12-04
@Rsa97

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.

M
Mercury13, 2015-12-04
@Mercury13

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).

A
Andrew, 2015-12-08
@R0dger

Well, at least take advantage of this - www.unicode.org/cldr/charts/27/supplemental/langua...
+ there is an ICU declination system ..

M
Mrrl, 2015-12-04
@Mrl

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.

S
Sergey Vanyushin, 2018-10-03
@wapmorgan

Better late than never.
Use morphos.io

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question