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

Demo 4

STEMWORDS
data min (164)
machine learn (28)
knowledge discoveri (24)
data set (15)
mining knowledg (14)
mining softwar (12)

Demo4.php

<?php

/* STATIC METHOD DEMO */
//Note: no instance of tm is necessary nor does process need not be called
//STEMMING FUNCTIONALITY (requires class: Stemming.php)

//output stems in a table
$tm = new TextMiner();
$tm->addFile("http://en.wikipedia.org/wiki/Data_mining");
$tm->process();//should be called before accessing keywords
TextMiner::outputStemTable($tm->getNGrams(),12);
        
?>