My grammar table lists two sets of endings, one of which is equivalent to those for animate nouns and the other, which is:
consonant: +а
ь, й→я
How do I know which to use?
If fact, there is no concrete-and-simple rule that would say, whether -а/-я or -у/-ю should be used for genitive singular of a specific second-declension noun — people generally just intuitively remember endings.
The very imprecise rule is that nouns for more concrete things are often -а/-я, while more abstract things are often -у/-ю — but that's very imprecise. Or, sometimes people say something like: "If I can see/imagine it as a whole, it probably has -а/-я ending, otherwise — -у/-ю." Also very imprecise.
The Wikipedia article on this subject says that -у/-ю endings are used for:
Even if there were no exceptions — such long and blurred rules are so hard to follow. Therefore genitive endings are usually just remembered on a per-word basis.
Here is a good article on this topic in the Ukrainian language. And, just in case, here is about Second Declension.
About question and from this good article, when use -a
, -я
:
-ов
, -ів (-єв)
, -ин (-їн)
When use -у
, -ю
:
-к
But, like in any language, almost every item of this "rule" has own set of exceptions. You can see more about this in that article. Therefore genitive endings are usually just remembered on a per-word basis.
When use -у, -ю
contains weird phrases (not fixed after Google Translate). E.g.: with the value space, space, etc.
, oznachayuschie
, difficult
. You can try combining you answer with parts of my translation (it's not ideal either, but in some points it may be better — in some not).
Your reference uses animate and inanimate denominations for nouns, but the classic Ukrainian grammar does not qualify nouns for this. We use grammatical gender instead (Masculine, Feminine, and Neuter).
The Second declension group includes nouns that:
consonant
or -о
-о
, -е
, -я
(with exceptions); also those ending with -ищ-е
, -иськ-о
Then, both sections split into "hard", "soft", and "mixed" groups. Here's the above two items expanded:
consonant
or -о
ш, ж, ч, дж
)-о
-р
-ь
and -й
(also those rare ones ending with -ьо
)-ар
, -ир
ш, ж, ч, дж
-о
, -е
, -я
(with exceptions); also those ending with -ищ-е
, -иськ-о
-о
-е
and -я
ш, ж, ч, дж
+ -е
-ищ-е
, -иськ-о
Now, when you have everything in place, here's the simple rule:
-а
or -у
in Genitive-я
or -ю
in Genitive-а
or -у
in Genitive
-а/-я
versus-у/-ю
groups.