znck / summarizer
Automatic text summarization (open text summarizer wrapper)
v1.0.1
2015-10-04 21:18 UTC
Requires
- php: >=5.6
- html2text/html2text: ~2.0
Requires (Dev)
- phpunit/phpunit: ^5.0
This package is not auto-updated.
Last update: 2024-12-21 20:19:23 UTC
README
Automated summarizer (PHP wrapper for open text summary)
Install
composer require znck/summarizer
Installing native dependencies.
- Linux:
sudo apt-get install libots0
- OS X:
brew install libxml2 glib popt
Usage
$summarizer = new \Znck\Summarizer\Summarizer; $output = $summarizer->summarize('http://www.au.af.mil/au/awc/awcgate/usmchist/war.txt');