A markov chain generator for exercism nitpicks.
This project is based on the markov chain generator written for the golang.org codewalk.
Get the dependencies:
$ go get
Build the binary:
$ go build
The program takes a newline-delimited text file as input, and generates a json file containing the markov chain.
$ ./arkov build --infile=data/seuss.txt --outfile=data/seuss.json
To generate output, use the json file:
$ ./arkov generate --infile=data/seuss.json
BSD
Copyright (c) 2012 The Go Authors. All rights reserved.