Skip to content
This repository has been archived by the owner. It is now read-only.
A markov chain generator to help create interesting seed data.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
chain
cmd
data
.gitignore
LICENSE
README.md
main.go

README.md

exercism/arkov

A markov chain generator for exercism nitpicks.

This project is based on the markov chain generator written for the golang.org codewalk.

Getting Started

Get the dependencies:

$ go get

Build the binary:

$ go build

Usage

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

License

BSD

Copyright (c) 2012 The Go Authors. All rights reserved.

You can’t perform that action at this time.