Text Generation using Markov Chain in Python
1. Take input data stored in a .txt file
2. Build Transition Table
3. Convert the transition table into probabilities
4. Train our model on the input data
5. Generate new text using the model
- Simple and effective way for generating new text.
- Also, can be used as a way to autocomplete text
- Download Anaconda Installer for Mac/Windows/Linux and install with Path Environment Variable
- Download the Simple Markov Chain Text Generator.ipynb on your system
- Run the following command in the download location on cmd
jupyter-notebook "Simple Markov Chain Text Generator.ipynb"
- Run the cells in Jupyter notebook
- Integrate live chat data for realtime processing
- Add GUI
- Added autocomplete functionality for suggestions while searching
- Youtube