Markov Server
This is a simple PSGI application that uses
String::Markov
to generate random sequences of characters from the following sources:
-
dict: Definitions from The Devil's Dictionary by Ambrose Bierce
Order: 1 (word)
-
names: A list of 3000 names
Order: 2 (char)
-
raven: Edgar Allan Poe's The Raven
Order: 4 (char)
-
rigveda: Tenth Mandala of the Rigveda, Hymns 1-10
Order: 3 (char)
-
sermon: Matthew 5-7, Sermon on the Mount (KJV)
Order: 5 (char)
-
whisky: Whisk(e)y tasting notes
Order: 1 (word)
source code
explanation