Skip to content

pqcfox/markmywords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

markmywords

This library is nothing more and nothing less than a simple Markov chain text generator.

>>> from markmywords import Markov >>> with open('declaration.txt', 'r') as f: ... text = f.read() >>> m = Markov(text, degree=2) >>> m.generate(max_words=13) "petitioned for redress in the meantime exposed to all the dangers of invasion"

About

A text-generating Markov chain library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages