Skip to content

Euno257/Quick_Summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick_Summarizer

We're building a naive summarizer that works based off word frequency scoring. We will be utilizing NLTK Python library to build our pipeline. Argparse Python module is used to create a command line program as an entry point to our summarizer.

Prerequisites

Python 3.2 or greater must be installed

Setup Virtualenv

Virtualenv is a Python library that allows you to create virtual Python environments and avoid isues with shared library versioning. This step is not required but highly reccomended.

$ mkdir Quick_Summarizer && cd Quick_Summarizer

$ virtualenv venv --python=python3.6

$ source venv/bin/activate

Installing NLTK

pip install nltk

Code

See summarize.py

Run on command line

(venv) $ python summarizer/summarize.py data/Greenland-Melting-Full.txt

Custom input

Place your custom input text file into the 'data' folder. And make changes in CLI command.

$ source venv/bin/activate

(venv) $ python summarizer/summarize.py data/monkeyking.txt

About

Converts a Paragraph into it's summary.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published