Skip to content

razalamb1/markov_text_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markov Text Generator

This is a python Markov text generator. The main function takes four arguments: a sentence (list of words), n (length of the n-gram for prediction), the corpus to use, and a flag determining whether the process should be deterministic.

This model was tested on Jane Austen's Sense and Sensibility and a write-up including several examples is included in the repo.

About

Markov text generator tested on Sense and Sensibility

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages