A text summarizer
Project description
Summarizer [![Build Status](https://travis-ci.org/michigan-com/summarizer.svg)](https://travis-ci.org/michigan-com/summarizer)
==========
Summarizer is an automatic summarization algorithm.
Requirements
------------
* Python 2.7, 3.3, or 3.4
* NLTK
Install it
----------
```
pip install summarizer
```
Use it
------
```
from summarizer import summarize
summarize(title, text)
```
Documentation
-------------
Summarizer.summarize(title, text, count=5, summarizer=Summarizer())
* title: The title of the article
* text: The actual text of the article
* count: The number of summarized sentences to return
* summarizer: The class instance that will do all the work
Contributing
------------
All contributions must be accompanied by some form of unit testing
CHANGES
=======
v0.0.2 08-26-2015
-----------------
* PYPI not picking up data files
v0.0.1 08-26-2015
-----------------
* Added setup.py
* Added \_\_version\_\_
* Added unit tests
==========
Summarizer is an automatic summarization algorithm.
Requirements
------------
* Python 2.7, 3.3, or 3.4
* NLTK
Install it
----------
```
pip install summarizer
```
Use it
------
```
from summarizer import summarize
summarize(title, text)
```
Documentation
-------------
Summarizer.summarize(title, text, count=5, summarizer=Summarizer())
* title: The title of the article
* text: The actual text of the article
* count: The number of summarized sentences to return
* summarizer: The class instance that will do all the work
Contributing
------------
All contributions must be accompanied by some form of unit testing
CHANGES
=======
v0.0.2 08-26-2015
-----------------
* PYPI not picking up data files
v0.0.1 08-26-2015
-----------------
* Added setup.py
* Added \_\_version\_\_
* Added unit tests
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
summarizer-0.0.2.tar.gz
(166.8 kB
view hashes)
Built Distribution
summarizer-0.0.2.linux-x86_64.tar.gz
(169.0 kB
view hashes)
Close
Hashes for summarizer-0.0.2.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 196e9f25fda1d2d81e0ab69aa6dbd10c044a626441d0d789d5dd2a8ef811be33 |
|
MD5 | 2346dc54a12cc09891f864793e778e4e |
|
BLAKE2b-256 | 3cef1b3f3297f3004f314e476b6541738f3573d808c29f380f2e1362bf7deeb6 |