mtcmedia / stemmer
Exension of wamania stemmer with multi-word support and cleanup
Installs: 10 180
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 0
Requires
- php: >=7.3
- wamania/php-stemmer: ^3.0
Requires (Dev)
- phpunit/phpunit: ^8.3
This package is auto-updated.
Last update: 2024-10-22 16:18:46 UTC
README
Adaptation of https://github.com/wamania/php-stemmer stemmer algorithm. This package extends the original by adding sentence parsing functionality.
Installation
Require via composer
composer require mtcmedia/stemmer
Usage
use Mtc\Stemmer\Stemmer; // Default language is set as english $stem = Stemmer::multiStem('This is my sentence'); $stem = Stemmer::multiStem("c'est ma phrase', 'french");
Contributing
Please see Contributing for details.