PHP code example of znck / summarizer

1. Go to this page and download the library: Download znck/summarizer library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

znck / summarizer example snippets


$summarizer = new \Znck\Summarizer\Summarizer;
$output = $summarizer->summarize('http://www.au.af.mil/au/awc/awcgate/usmchist/war.txt');