hackageDB :: [Package]

Built with Cabal

markov-chain: Markov Chains for generating random sequences with a user definable behaviour.

This library can be used to generate random sequences of anything with a behaviour that is adapted to some training data. Input a marketing text or a speech and recompose it to another arbitrary text of this sort. Input a dictionary of person names and create new names. Input a sequence of notes and get out a new melody. Input a set of Haskell modules and generate ... nice idea but the result will certainly have neither correct syntax nor types. I think, it's a good thing about Haskell, that you cannot fool it so easily. The idea is very simple: The algorithm analyses your input/training data with respect to how likely an a or e follows the letters r and e. Then on recomposition it chooses subsequent letters randomly according to the frequencies found in the training data. This library is well suited for bull-shit generators.

Versions0.0.1, 0.0.2, 0.0.3
Dependenciesbase (>=1.0 && <2), transformers (>=0.0.1 && <0.2) or
base (>=2), containers (>=0.1 && <1.0), random (>=1.0 && <2.0), transformers (>=0.0.1 && <0.2)
LicenseGPL
AuthorHenning Thielemann <haskell@henning-thielemann.de>
MaintainerHenning Thielemann <haskell@henning-thielemann.de>
CategoryAlgorithms
Home pagehttp://darcs.haskell.org/markov-chain/
Upload dateSat Jan 10 22:41:06 UTC 2009
Uploaded byHenningThielemann
Built onghc-6.10, ghc-6.12
DistributionsArch: 0.0.3

Modules

Downloads