mgid/phpmorphy

phpMorphy - morphological analyzer library for Russian, English, German and Ukrainian languages.

0.1.2 2023-01-20 10:18 UTC

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');