Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 780 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 780 Bytes

#Click Bait Title Generator:

  • Make sure you have the required dependencies installed pip install -r requirements.txt

  • Install the NLTK packages punkt, stopwords and tagsets from python shell:

      		>>> import nltk
      		>>> nltk.download()
    
  • Install mongodb and import mongodb database dump: mongorestore --collection posts --db buzzfeed dump/buzzfeed/posts.bson

  • Run flask webserver with python click_bait.py

  • Direct your browser to the webserver

  • Click Generate

###Info:

  • Regenerating tags and tokens can be done by running python tag_tokenize.py although this is unecessary.
  • The Buzzfeed scraper used can be found here