rap2hpoutre/remove-stop-words
最新稳定版本:v0.3.0
Composer 安装命令:
composer require rap2hpoutre/remove-stop-words
包简介
Remove stop words from a string
README 文档
README
Remove stop words from a string. It currently works in French, Spanish and English. Feel free to submit a Pull Request if you want to include your language.
Installation
composer require rap2hpoutre/remove-stop-words
Usage
Just call the remove_stop_words function with a string.
use function Rap2hpoutre\RemoveStopWords\remove_stop_words; echo remove_stop_words('The quick brown fox jumps over the lazy dog'); // quick brown fox jumps lazy dog
You can provide a locale as a second argument:
use function Rap2hpoutre\RemoveStopWords\remove_stop_words; echo remove_stop_words('Portez ce vieux whisky au juge blond qui fume', 'fr'); // Portez vieux whisky juge blond fume
统计信息
- 总下载量: 27.93k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 15
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-03-09