MediaWiki master
Wikimedia\Leximorph\Handler\Overrides\Grammar\GrammarHy Class Reference

GrammarHy. More...

Inherits Wikimedia\Leximorph\Handler\Overrides\IGrammarTransformer.

Collaboration diagram for Wikimedia\Leximorph\Handler\Overrides\Grammar\GrammarHy:

Public Member Functions

 process (string $word, string $case)
 Applies Armenian-specific grammatical transformations.
 

Detailed Description

GrammarHy.

Implements grammar transformations for Armenian (hy).

These rules don't cover the whole grammar of the language. This logic was originally taken from MediaWiki Core. Thanks to all contributors.

Since
1.45
Author
Ruben Vardanyan (Me@Ru.nosp@m.benV.nosp@m.ardan.nosp@m.yan..nosp@m.com)
Doğu Abaris (abari.nosp@m.s@nu.nosp@m.ll.ne.nosp@m.t)
Note
https://www.gnu.org/copyleft/gpl.html GPL-2.0-or-later

Definition at line 25 of file GrammarHy.php.

Member Function Documentation

◆ process()

Wikimedia\Leximorph\Handler\Overrides\Grammar\GrammarHy::process ( string $word,
string $case )

Applies Armenian-specific grammatical transformations.

Parameters
string$wordThe word to process.
string$caseThe grammatical case.
Since
1.45
Returns
string The processed word.

Implements Wikimedia\Leximorph\Handler\Overrides\IGrammarTransformer.

Definition at line 35 of file GrammarHy.php.


The documentation for this class was generated from the following file: