2017 © Pedro Peláez
 

library phpmorphy

phpMorphy - morphological analyzer library for Russisan, English languages.

image

cijic/phpmorphy

phpMorphy - morphological analyzer library for Russisan, English languages.

  • Saturday, September 19, 2015
  • by cijic
  • Repository
  • 2 Watchers
  • 7 Stars
  • 7,125 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 10 Forks
  • 1 Open issues
  • 5 Versions
  • 33 % Grown

The README.md

cijic/phpmorphy

Packagist Downloads, (*1)

phpMorphy --- morphological analyzer library for Russian, English, German and Ukrainian languages.
cijic/phpMorphy is Laravel wrapper for phpMorphy library with PHP7 support., (*2)

Source website (in russian): http://phpmorphy.sourceforge.net/
SF project: http://sourceforge.net/projects/phpmorphy
Wrapper on Github: https://github.com/cijic/phpmorphy, (*3)

This library allow retireve follow morph information for any word: - Base (normal) form - All forms - Grammatical (part of speech, grammems) information, (*4)

Install

Via Composer ``` bash $ composer require cijic/phpmorphy, (*5)


## Usage ```php $morphy = new cijic\phpMorphy\Morphy('en'); print_r($morphy->getPseudoRoot('FIGHTY'));

result, (*6)

Array
(
    [0] => FIGHTY
    [1] => FIGHT
)

Laravel support

Facade

``` php Morphy::getPseudoRoot('БОЙЦОВЫЙ'), (*7)


### Add russian facade support Add to config/app.php: Section ```providers``` ``` php cijic\phpMorphy\MorphyServiceProvider::class,

Section aliases php 'Morphy' => cijic\phpMorphy\Facade\Morphy::class,, (*8)

Contributing

Please see CONTRIBUTING for details., (*9)

Security

If you discover any security related issues, please email altcode@ya.ru instead of using the issue tracker., (*10)

License

The MIT License (MIT). Please see License File for more information., (*11)

The Versions

19/09 2015

dev-master

9999999-dev https://github.com/cijic/phpmorphy

phpMorphy - morphological analyzer library for Russisan, English languages.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Chiril Teterea

phpmorphy

19/09 2015

0.3.0

0.3.0.0 https://github.com/cijic/phpmorphy

phpMorphy - morphological analyzer library for Russisan, English languages.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Chiril Teterea

phpmorphy

13/09 2015

0.2.0

0.2.0.0 https://github.com/cijic/phpmorphy

phpMorphy - morphological analyzer library for Russisan, English languages.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Chiril Teterea

phpmorphy

13/09 2015

0.1.1

0.1.1.0 https://github.com/cijic/phpmorphy

phpMorphy - morphological analyzer library for Russisan, English languages.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Chiril Teterea

phpmorphy

13/09 2015

0.1.0

0.1.0.0 https://github.com/cijic/phpmorphy

phpMorphy - morphological analyzer library for Russisan, English languages.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Chiril Teterea

phpmorphy