Demo 1
Array
(
[data mining] => 41
[mining process] => 9
[large data] => 5
[data sets] => 5
[mining data] => 5
[machine learning] => 5
[mining techniques] => 3
[identify patterns] => 2
[data analysis] => 2
[analysis data] => 2
)
======================
Text: data mining - google search g o o g l e please click here if you are not redirected within a few seconds all images books news...
Total nGrams: 366
======================
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->convertToLower = TRUE; // optional
$tm->process();//should be called before accessing keywords
printa($tm->getTopNGrams(10));
echo $tm->printSummary();
?>