Skip to content

jilljenn/markov.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

markov.py

Install

pip install lea==2.3.5  # Discrete probability distributions

Usage

make  # If you want to download [336k-word French dictionary](http://www.pallier.org/extra/liste.de.mots.francais.frgut.txt) demo/words.txt
python markov.py <filename>  # For example demo/text.txt

The output of python markov.py demo/music.txt can be played in trinket.io/music.

Example

je mange des camions

Cf. La Faute à l'algo episode 1 on YouTube (in French): génération procédurale et chaîne de Markov.

About

Composing text, music, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published