Login   Register  
PHP Classes
elePHPant
Icontem

File: test.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of V Loganathane  >  Gistfy  >  test.php  >  Download  
File: test.php
Role: Example script
Content type: text/plain
Description: test file
Class: Gistfy
Create a summary of a given text
Author: By
Last change: -
Date: 1 year ago
Size: 885 bytes
 

Contents

Class file image Download
<?php

include_once('gistfy.php');
include_once (
'example\config.inc');

$string 'The fourth Wells account moving to another agency is the packaged paper-products division of Georgia-Pacific Corp., which arrived at Wells only last fall. Like Hertz and the History Channel, it is also leaving for an Omnicom-owned agency, the BBDO South unit of BBDO Worldwide. BBDO South in Atlanta, which handles corporate advertising for Georgia-Pacific, will assume additional duties for brands like Angel Soft toilet tissue and Sparkle paper towels, said Ken Haldin, a spokesman for Georgia-Pacific in Atlanta.';



$tagger = new gistfy($mongo_host$mongo_db$pos_array);
$nlptags $tagger->tag($string);
// $stopwords = $tagger->uni_keyword($tagger->stopWords($string));
$mypara $tagger->gist($string100);


echo 
$mypara;
// echo '<pre>';
// var_dump($uni_per);
// var_dump($nlptags);
?>