PHP5 native implementation of Snowball stemmer http://snowball.tartarus.org/
Accept only UTF-8
Available :
- English
- French
- German
- Italian
- Spanish
- Portuguese
- Romanian
- Dutch
- Swedish
- Norwegian
- Danish
- Russian
Next :
- Finnish
With composer :
composer require wamania/php-stemmer
In your code:
use Wamania\Snowball\French;
$stemmer = new French();
$stem = $stemmer->stem('anticonstitutionnellement');