PHP code example of camspiers / porter-stemmer
1. Go to this page and download the library: Download camspiers/porter-stemmer library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
camspiers / porter-stemmer example snippets
$stem = Porter::Stem($word);