This idea stemmed from an article by Louis Teo
The program takes a text file and returns a summary of the file containing the three most important sentences. To see how it works, take a look at the Summarize.ipynb Jupyter Notebook.
NOTE: a more user-friendly version of this application is included on my website
- Save any articles or long text to a .txt file in the NLP-Summarize/text_files directory. Remember the name of the file.
- From your computer's terminal, navigate to the NLP-Summarize directory
- Enter the following command in terminal:
python3 summarize.py