mgid/phpmorphy

phpMorphy - morphological analyzer library for Russisan, English languages.

0.1.0 2020-09-24 12:19 UTC

This package is auto-updated.

Last update: 2021-05-24 11:47:41 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');