PHP StopWords removal library with support for multiple languages.
composer require juanantoniodelgado/stopwords
use StopWords/StopWords;
$stopwords = new StopWords('en');
$stopwords->clean('your text to clean');
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.
Language files are set according to ISO 639-2.
Contents of this repository are available under Attribution 4.0 International (CC BY 4.0).