Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

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

Markov-chain generator in Clojure. You can use it as a library or from the command line. It also can post said text to tumblr.

It is the brains behind Scrumdiddlyumptious Clojure.

Comand-Line Usage

# to generate text based on some training material
lein with-profile markov run input-1.txt input-2.txt

# to generate a chain to be used later
lein with-profile markov run input-1.txt input-2.txt output.edn

# to generate text based on an existing chain
lein with-profile markov run output.edn

# to post a formatted message to tumblr
lein with-profile tumblr run input.edn

Schedule Execution

sudo cp markov-tumblr.plist ~/Library/LaunchAgents
sudo chmod 600 ~/Library/LaunchAgents/markov-tumblr.plist
sudo chown root ~/Library/LaunchAgents/markov-tumblr.plist
sudo launchctl load -w ~/Library/LaunchAgents/markov-tumblr.plist

About

Markov chain generator in Clojure

Resources

License

Releases

No releases published

Packages

No packages published