jurager/morphy

This package is abandoned and no longer maintained. The author suggests using the cijic/phpmorphy package instead.

Morphy - morphological analyzer library for Russisan, English languages.

0.3.0 2015-09-19 11:27 UTC

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.