PHP Classes

File: testsummarizer6.php

Recommend this page to a friend!
  Classes of zinsou A.A.E.Mo´se   PHP Lazy Copy Summary Text   testsummarizer6.php   Download  
File: testsummarizer6.php
Role: Example script
Content type: text/plain
Description: example script
Class: PHP Lazy Copy Summary Text
Parse text copy to extract most relevant phrases
Author: By
Last change:
Date: 5 years ago
Size: 515 bytes


Class file image Download
require_once 'KeywordGenerator.php';
set_time_limit(0);//useless in most of cases;

$kwObj =new summarizer( new KeywordGenerator);


echo (
'<div style="width:800px">'.$kwObj->getSummary($str).$kwObj->getSummary($str,'paragraph').$kwObj->getSummary($str,'paragraph',false,true,null,true,4).$kwObj->getSummary($str,'',false,true,null,true,4).'<div>');