The detrospector package

[Tags: bsd3, program]

The detrospector program generates random text conforming to the general style and diction of a given source document. It associates each k-character substring of the source document with a probability distribution for the next character. These distributions are used to iteratively pick new characters for output. In other words, it samples a Markov chain derived from the source document.

Run detrospector -? for usage information. The program has several modes. It can generate random text, or invent individual random words which are not found in a dictionary. These modes require a chain file, which is built from a source document in another mode.

Design goals include speed and full Unicode support. I welcome suggestions and patches regarding any aspect of this program.

New in version 0.3:


[Skip to ReadMe]

Properties

Versions0.1, 0.2, 0.3
Change logNone available
Dependenciesbase (>=3 && <5), binary (>=0.5), bytestring (>=0.9), cmdargs (>=0.6), containers (>=0.3), hashable (>=1.2), mwc-random (>=0.8), text (>=0.8), unordered-containers (>=0.1), zlib (>=0.5) [details]
LicenseBSD3
AuthorKeegan McAllister <mcallister.keegan@gmail.com>
MaintainerKeegan McAllister <mcallister.keegan@gmail.com>
CategoryText, Natural Language Processing
Source repositoryhead: git clone git://github.com/kmcallister/detrospector.git
Executablesdetrospector
UploadedMon Apr 8 01:58:55 UTC 2013 by KeeganMcAllister
DistributionsNixOS:0.3
Downloads573 total (21 in last 30 days)
Votes
0 []
StatusDocs not available [build log]
Last success reported on 2015-05-19 [all 2 reports]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for detrospector-0.3

detrospector is a Markov chain text generator.

See detrospector.cabal for more information, as well as

  http://hackage.haskell.org/package/detrospector
  http://mainisusuallyafunction.blogspot.com/2010/10/tour-of-real-toy-haskell-program-part-1.html