Skip to content

archangelic/mimic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mimic

personal module to bootstrap markov projects. really just a wrapper over the really damn good markovify.

basic usage

from mimic import Mimic

markov_model = Mimic.create_from_file('corpus.txt')

markov_model.make_sentence()

also can be created using Mimic.create_from_string and can do sentences based on newlines by passing newline=True.

this relies on nltk so you will need to download the sources for that.

About

personal module to bootstrap markov projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages