Skip to content

A click-bait style article title generator using Python and NLTK.

Notifications You must be signed in to change notification settings

fowler446/click_bait

Repository files navigation

#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

About

A click-bait style article title generator using Python and NLTK.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published