mgid / phpmorphy
phpMorphy - morphological analyzer library for Russian, English, German and Ukrainian languages.
Installs: 30 444
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 0
Open Issues: 0
Requires
- php: >=7.4
This package is auto-updated.
Last update: 2024-09-20 13:54:44 UTC
README
phpMorphy --- morphological analyzer library for Russian, English, German and Ukrainian languages.
Source website (in russian): http://phpmorphy.sourceforge.net/
SF project: http://sourceforge.net/projects/phpmorphy
This library allow retireve follow morph information for any word:
- Base (normal) form
- All forms
- Grammatical (part of speech, grammems) information
Install
Via Composer
$ composer require mgid/phpmorphy
Usage
$morphy = new mgid\phpMorphy\Morphy('en'); echo $morphy->getPseudoRoot('FIGHTY');