Location: PHPKode > scripts > Italian Stemmer > italian-stemmer/stem.example.php
<?php

include('stem.class.php');

$stemmer = new ItalianStemmer();

$parola = "armoniosamente";
$stemmed_word = $stemmer->stem($parola);
echo sprintf("%-30s%s\n", $parola, $stemmed_word);

$parola = "armonia";
$stemmed_word = $stemmer->stem($parola);
echo sprintf("%-30s%s\n", $parola, $stemmed_word);

?>
Return current item: Italian Stemmer