@@ 200-202 (lines=3) @@ | ||
197 | $forms[Cases::IMENIT] = $prefix.'и'; |
|
198 | } elseif (in_array($last, ['н', 'ц', 'р', 'т'], true)) { |
|
199 | $forms[Cases::IMENIT] = $prefix.'ы'; |
|
200 | } else { |
|
201 | $forms[Cases::IMENIT] = static::chooseVowelAfterConsonant($last, $soft_last, $prefix.'я', $prefix.'а'); |
|
202 | } |
|
203 | ||
204 | // RODIT |
|
205 | if (isset(static::$genitiveExceptions[$word])) { |
@@ 270-272 (lines=3) @@ | ||
267 | // TVORIT |
|
268 | if ($last === 'ь') { |
|
269 | $forms[Cases::TVORIT] = $prefix.'ой'; |
|
270 | } else { |
|
271 | $forms[Cases::TVORIT] = static::chooseVowelAfterConsonant($last, $soft_last, $prefix.'ей', $prefix.'ой'); |
|
272 | } |
|
273 | ||
274 | // if ($last == 'й' || (static::isConsonant($last) && !static::isHissingConsonant($last)) || static::checkLastConsonantSoftness($word)) |
|
275 | // $forms[Cases::TVORIT] = $prefix.'ей'; |