componavt/phpmorphy
最新稳定版本:v0.3.2
Composer 安装命令:
composer require componavt/phpmorphy
包简介
phpMorphy - morphological analyzer library for Russisan, English languages.
关键字:
README 文档
README
phpMorphy --- morphological analyzer library for Russisan, English and German languages.
componavt/phpMorphy is wrapper for phpMorphy library.
Source website (in russian): http://phpmorphy.sourceforge.net/
SF project: http://sourceforge.net/projects/phpmorphy
Wrapper on Github: https://github.com/componavt/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 componavt/phpmorphy
Usage
$morphy = new componavt\phpMorphy\Morphy('en'); echo $morphy->getPseudoRoot('FIGHTY');
Laravel support
Facade
Morphy::getPseudoRoot('БОЙЦОВЫЙ')
Add russian facade support
Add to config/app.php:
Section providers
componavt\phpMorphy\MorphyServiceProvider::class,
Section aliases
'Morphy' => componavt\phpMorphy\Facade\Morphy::class,
Change log
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email altcode@ya.ru instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 4.88k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-05-23