A script developed during Google Code In 2017 for CCExtractor Development to summarize an article.
- Python
pip install pysrt
pip install -u Gensim
pip install topia.termextract
- Run the Script
usage: tldr.py [-h] [-i FILE] [-r RATIO] [-k KEYWORDS] [-kr KEYWORDS_RATIO]
Python Program that returns a summarization from a subtitle file
optional arguments:
-h, --help show this help message and exit
-i FILE, --input-file FILE
takes the input file
-r RATIO, --ratio RATIO
define the ratio of words
-k KEYWORDS, --keywords KEYWORDS
if keywords should be on
-kr KEYWORDS_RATIO, --keywords-ratio KEYWORDS_RATIO
how many keywords to display