Skip to content

jilljenn/markov.py

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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