jurager / morphy
Morphy - morphological analyzer library for Russisan, English languages.
Installs: 1 158
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 23
pkg:composer/jurager/morphy
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2022-01-19 07:59:32 UTC
README
Laravel wrapper for phpMorphy library with PHP7 support
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 jurager/morphy
Usage
$morphy = new jurager\morphy\Morphy('en'); echo $morphy->getPseudoRoot('FIGHTY');
Laravel support
Add to config/app.php:
Section providers
jurager\morphy\MorphyServiceProvider::class,
Section aliases
'Morphy' => jurager\morphy\Facade\Morphy::class,
Facade
Morphy::getPseudoRoot('БОЙЦОВЫЙ')
Change log
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.