PHP code example of hkulekci / turkish-stemmer-php
1. Go to this page and download the library: Download hkulekci/turkish-stemmer-php 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/ */
hkulekci / turkish-stemmer-php example snippets
$stemmer = new \TurkishStemmer\Stemmer();
var_dump($stemmer->stem('okuldan'));
# string(4) "okul"