A stopwords removal library

1.4 2024-08-05 15:53 UTC

This package is auto-updated.

Last update: 2024-10-05 16:40:07 UTC


README

Codacy Badge

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).