-
This is simple python text generator module.
-
Train.py module is used for creating model based on input text.
-
Model is generated using bigrams and cumilative distribution.
-
Model is saved into a file using python pickle module.
-
Generate.py generates text of given length using model from train.py
-
Both scripts have command-line interface.
-
All information about usage is provided by --help in the command-line.
garrrikkotua / text_generator Goto Github PK
View Code? Open in Web Editor NEWSimple text generator with bigrams