Skip to content

A trigram Markov model to generate semi-sensical text from wikipedia or file

License

Notifications You must be signed in to change notification settings

VishakhG/Markov-Text-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markov-Text-Generator

A trigram Markov model to generate random text from wikipedia or file

A second-order Markov Model to generate random text by using a wikipedia page and all linked pages or a text file. Specify the following as command line options 1)Whether it should generate words or characters 2)wiki page to extract from 3) File paths to training and testing text (testing only with 'by the character' training) 4) From cache or wikipedia option

If the model is trained by the character, then the probability of a given passage being generated can be computed (The trained model will not be general enough if it is trained by the word to make this computation).

About

A trigram Markov model to generate semi-sensical text from wikipedia or file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages