mtcmedia / stemmer
Exension of wamania stemmer with multi-word support and cleanup
Installs: 11 707
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 0
Requires
- php: >=7.3
- wamania/php-stemmer: ^4.0
Requires (Dev)
- phpunit/phpunit: ^8.3
This package is auto-updated.
Last update: 2025-03-21 15:07:38 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.