Demo 4
STEM | WORDS |
data | (264) | |
mine | (165) | |
learn | (68) | |
comput | (44) | |
softwar | (41) | |
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) | |
1 | (21) | |
privaci | (21) | |
knowledg | (21) | |
statist | (20) | |
applic | (19) | |
algorithm | (19) | |
network | (18) | |
discoveri | (17) | |
law | (16) | |
extract | (16) | |
confer | (16) | |
intellig | (16) | |
busi | (16) | |
research | (15) | |
method | (15) | |
term | (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);
?>