Skip to content

Find a CNN, NBC News, or Fox News article and pull a quote that summarizes it!

Notifications You must be signed in to change notification settings

Superquestion64/Quote-Search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Quote Search: Find a Random Quote

This Python application is a quote finder. It will search randomly through given article or txt file and output a select number of quotes from the input

  • Users will be prompted to choose between reading a txt file or a url
  • A sample txt file is provided as sample.txt
  • Sample urls are provided within the code
  • A given url must link to a CNN, Fox News, or NBC News article
  • Through TextRank this program can find a quote that summarizes the given text
  • To execute simply run:

    python QuoteSearch.py

Dependencies

Note: BeautifulSoup4 is a dependency for this application to read through source code properly. summa is another dependency for this application, it implements TextRank which is the smart quote part of this application

  • To install BeautifulSoup4, simply run:

    pip install beautifulsoup4

  • To install summa, simply run:

    pip install summa

About

Find a CNN, NBC News, or Fox News article and pull a quote that summarizes it!

Topics

Resources

Stars

Watchers

Forks

Languages