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

Versions | 0.0.1, 0.0.2, 0.0.3, 0.0.3.1, 0.0.3.2, 0.0.3.3, 0.0.3.4 |
---|---|

Dependencies | base (>=1.0), mtl [details] |

License | LicenseRef-GPL |

Author | Henning Thielemann <haskell@henning-thielemann.de> |

Maintainer | Henning Thielemann <haskell@henning-thielemann.de> |

Category | Algorithms |

Home page | http://darcs.haskell.org/markov-chain/ |

Uploaded | by HenningThielemann at Fri Dec 7 10:59:53 UTC 2007 |

Distributions | Debian:0.0.3.3, LTSHaskell:0.0.3.4, NixOS:0.0.3.4, Stackage:0.0.3.4, openSUSE:0.0.3.4 |

Downloads | 5314 total (67 in the last 30 days) |

Rating | (no votes yet) [estimated by rule of succession] |

Your Rating | |

Status | Docs uploaded by user Build status unknown [no reports yet] Hackage Matrix CI |

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*.

## Downloads

- markov-chain-0.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)