| .. | ||
| src | ||
| test | ||
| .gitignore | ||
| composer.json | ||
| LICENSE | ||
| phpunit.xml.dist | ||
| README.md | ||
php-stemmer
PHP5 native implementation of Snowball stemmer http://snowball.tartarus.org/
Accept only UTF-8
Languages
Available :
- English
- French
- German
- Italian
- Spanish
- Portuguese
- Romanian
- Dutch
- Swedish
- Norwegian
- Danish
- Russian
Next :
- Finnish
Installation
With composer :
composer require wamania/php-stemmer
Usage
In your code:
use Wamania\Snowball\French;
$stemmer = new French();
$stem = $stemmer->stem('anticonstitutionnellement');