@@ 332-341 (lines=10) @@ | ||
329 | ||
330 | // Neuter adjectives |
|
331 | case 'ое': |
|
332 | case 'ее': |
|
333 | $prefix = S::slice($word, 0, -1); |
|
334 | return [ |
|
335 | Cases::IMENIT => $word, |
|
336 | Cases::RODIT => $prefix.'го', |
|
337 | Cases::DAT => $prefix.'му', |
|
338 | Cases::VINIT => $word, |
|
339 | Cases::TVORIT => S::slice($word, 0, -2).(S::slice($word, -2, -1) == 'о' ? 'ы' : 'и').'м', |
|
340 | Cases::PREDLOJ => $prefix.'м', |
|
341 | ]; |
|
342 | ||
343 | // Female adjectives |
|
344 | case 'ая': |
@@ 297-307 (lines=11) @@ | ||
294 | self::PREDLOJ => $prefix.'и', |
|
295 | ]; |
|
296 | ||
297 | case 'а': |
|
298 | // Москва, Рига |
|
299 | $prefix = S::name(S::slice($name, 0, -1)); |
|
300 | return [ |
|
301 | self::IMENIT => $prefix.'а', |
|
302 | self::RODIT => $prefix.(self::isVelarConsonant(S::slice($name, -2, -1)) ? 'и' : 'ы'), |
|
303 | self::DAT => $prefix.'е', |
|
304 | self::VINIT => $prefix.'у', |
|
305 | self::TVORIT => $prefix.'ой', |
|
306 | self::PREDLOJ => $prefix.'е', |
|
307 | ]; |
|
308 | ||
309 | case 'й': |
|
310 | // Ишимбай |