Skip to content

Generate Elon Tweets, McDonald's Reviews and Airline Reviews

License

Notifications You must be signed in to change notification settings

daverlon/n-gram-flask-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

N-Gram Text Generator

Word(token) generator based on N-Gram statistics. This application has three separate uses of the same N-Gram model, trained on:

  • Elon Musk Tweets (2021)
  • Airline Reviews
  • McDonald's Reviews

Sourced from Kaggle.com

Python Requirements:

  • numpy
  • tqdm
  • flask

To run the app (in project root folder):

unzip npy/airline_model.zip
flask --app app run

Preview: