Demo 1
Array
(
[google] => 2
[search] => 2
[click] => 2
[redirected] => 1
[seconds] => 1
[trouble] => 1
[accessing] => 1
[send] => 1
[feedback] => 1
[text] => 1
)
======================
Text: google search please click here if you are not redirected within a few seconds if you're having trouble accessing google search please click here or send feedback te...
Total Keywords: 14
======================
Demo1.php
<?php
//Top Keywords as an array
$tm = new TextMiner();
//add any number of files and or text
$tm->addFile("http://www.google.com/search?q=data+mining");
$tm->addText("Text can be added this way.");
$tm->process();//should be called before accessing keywords
printa($tm->getTopKeywords(10));
echo $tm->printSummary();
?>