An on going project of single word and sentence prediction from a statistical language model using a 2nd order (and 1st order where applicable) Markov Model approach.
This project can also be found in this repo with original commits as well as other small work. I've since separated that repo into its own repos for each type of project.
- python version: 3.7.2
- literature used to train models: A Tale of Two Cities from Project Gutenberg
- imports:
import tkinter, re, urllib.request, json, random, math, numpy
from operator import itemgetter
- models are included in the 4 .txt files
- Update python version (IF APPLICABLE)
- Use pip/conda to install any python packages (IF APPLICABLE)
- Run GUI.py
Note: if you want to test the training of the model, run trainer.py