|
MediaWiki master
|
GrammarKk_cyrl. More...
Inherits Wikimedia\Leximorph\Handler\Overrides\IGrammarTransformer.

Public Member Functions | |
| lc (string $str, bool $first=false) | |
| lcfirst (string $str) | |
| process (string $word, string $case) | |
| Applies Cyrillic Kazakh-specific grammatical transformations. | |
GrammarKk_cyrl.
Implements grammar transformations for Kazakh using the Cyrillic script.
These rules don't cover the whole grammar of the language. This logic was originally taken from MediaWiki Core. Thanks to all contributors.
Definition at line 25 of file GrammarKk_cyrl.php.
| Wikimedia\Leximorph\Handler\Overrides\Grammar\GrammarKk_cyrl::lc | ( | string | $str, |
| bool | $first = false ) |
| string | $str | |
| bool | $first | Whether to lowercase only the first character |
Definition at line 331 of file GrammarKk_cyrl.php.
| Wikimedia\Leximorph\Handler\Overrides\Grammar\GrammarKk_cyrl::lcfirst | ( | string | $str | ) |
| string | $str |
Definition at line 344 of file GrammarKk_cyrl.php.
| Wikimedia\Leximorph\Handler\Overrides\Grammar\GrammarKk_cyrl::process | ( | string | $word, |
| string | $case ) |
Applies Cyrillic Kazakh-specific grammatical transformations.
Convert from the nominative form of a noun to some other case Invoked with {{GRAMMAR:case|word}}
Cases: genitive, dative, accusative, locative, ablative, comitative + possessive forms
| string | $word | The word to process. |
| string | $case | The grammatical case. |
Implements Wikimedia\Leximorph\Handler\Overrides\IGrammarTransformer.
Definition at line 40 of file GrammarKk_cyrl.php.