phpMorphy - morphological analyzer library for Russisan, English languages.
phpMorphy --- morphological analyzer library for Russian, English, German and Ukrainian languages.
This library allow retireve follow morph information for any word:
- Base (normal) form
- All forms
- Grammatical (part of speech, grammems) information
$ composer require mgid/phpmorphy
$morphy = new mgid\phpMorphy\Morphy('en'); echo $morphy->getPseudoRoot('FIGHTY');