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