phpMorphy - morphological analyzer library for Russisan, English languages.
phpMorphy --- morphological analyzer library for Russisan, English and German languages.
vladkolodka/phpMorphy
is wrapper for phpMorphy library., (*1)
Source website (in russian): http://phpmorphy.sourceforge.net/
SF project: http://sourceforge.net/projects/phpmorphy
Wrapper on Github: https://github.com/vladkolodka/phpmorphy, (*2)
This library allow retireve follow morph information for any word: - Base (normal) form - All forms - Grammatical (part of speech, grammems) information, (*3)
Via Composer ``` bash $ composer require vladkolodka/phpmorphy, (*4)
## Usage ``` php $morphy = new vladkolodka\phpMorphy\Morphy('en'); echo $morphy->getPseudoRoot('FIGHTY');
``` php Morphy::getPseudoRoot('БОЙЦОВЫЙ'), (*5)
### Add russian facade support Add to config/app.php: Section ```providers``` ``` php vladkolodka\phpMorphy\MorphyServiceProvider::class,
Section aliases
php
'Morphy' => vladkolodka\phpMorphy\Facade\Morphy::class,
, (*6)
Please see CHANGELOG for more information what has changed recently., (*7)
Please see CONTRIBUTING for details., (*8)
If you discover any security related issues, please email vladkolodka@gmail.com instead of using the issue tracker., (*9)
The MIT License (MIT). Please see License File for more information., (*10)