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

Demo 4

STEMWORDS
data (264)
mine (166)
learn (68)
comput (45)
softwar (42)
inform (39)
machin (38)
analysi (36)
archiv (32)
model (31)
edit (29)
process (28)
pattern (26)
origin (26)
retriev (25)
languag (23)
set (23)
databas (23)
system (22)
knowledg (22)
1 (21)
privaci (21)
statist (20)
applic (19)
algorithm (19)
network (18)
discoveri (18)
articl (17)
law (16)
extract (16)
intellig (16)
busi (16)
research (15)
method (15)
term (15)
confer (15)
secur (15)
isbn (15)
2014 (14)
predict (13)
scienc (13)
standard (12)
manag (12)
appli (12)
provid (12)
program (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->getKeywords(),12);
        
?>