Demo 0 | Demo 1 | Demo 2 | Demo 3 | Demo 4 | Demo 5 | Code | Matt Smith

Demo 5

The quick brown fox jumped over the lazy dog
Array
(
    [0] => The
    [1] => quick
    [2] => brown
    [3] => fox
    [4] => jumped
    [7] => lazy
    [8] => dog
)

Demo5.php

<?php

/* STATIC METHOD DEMO */
//Note: no instance of tm is necessary nor does process need not be called 
//STOPWORD REMOVAL

//Stopword removal
$text "The quick brown fox jumped over the lazy dog";
echo 
$text;
$words explode(" ",$text);
printa(TextMiner::removeStopWords($words));
        
?>