A general purpose web application for generating text from various sources (books, academic papers, tweets, facebook posts, and reddit posts). The text will match the semantic style of the author(s) selected by the user using markov chain text generation techniques.
https://www.youtube.com/watch?v=tTQXbw1gR-o
This is the file that runs the server
This is the file that contains the python code for the Markov text generation algorithm. The function takes the following three arguments: source: The input text source that the generated text will be generated from length: The number of words to generate lookback: The number of words used as a key to "predict" the following word
This starts the virtual environment.
Runs the gunicorn server Needs to be run whenever app.py changes
Edits the nginx config file
Needs to be run whenever the conf file changes
Lists the gunicorn processes
Shuts down the gunicorn server
Python flask, HTML, CSS, Bootstrap, JavaScript, jQuery, SQLite