juanantoniodelgado / stopwords
A stopwords removal library
Installs: 1 692
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 1
Forks: 8
Open Issues: 2
Requires
- php: >=7.3
- ext-json: *
- ext-mbstring: *
Requires (Dev)
README
PHP StopWords removal library with support for multiple languages.
Installation
composer require juanantoniodelgado/stopwords
Usage
use StopWords/StopWords;
$stopwords = new StopWords('en');
$stopwords->clean('your text to clean');
Supported languages
Arabic, Armenian, Basque, Bulgarian, Catalan, Cebuano, Chinese, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Gujarati, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Latvian, Malay, Norwegian, Persian, Portuguese, Romanian, Russian, Slovak, Spanish, Swedish, Thai, Turkish, Ukrainian, and Vietnamese.
Notes
Language files are set according to ISO 639-2.
Sources
License
Contents of this repository are available under Attribution 4.0 International (CC BY 4.0).