No description
Find a file
2017-04-22 22:23:33 +02:00
build minimal changes and readme update 2017-04-22 22:23:33 +02:00
.gitignore implemented text generation with markov chains 2017-04-22 16:39:47 +02:00
goMarkov.gif minimal changes and readme update 2017-04-22 22:23:33 +02:00
LICENSE Initial commit 2017-04-22 16:34:24 +02:00
main.go minimal changes and readme update 2017-04-22 22:23:33 +02:00
markov.go minimal changes and readme update 2017-04-22 22:23:33 +02:00
README.md minimal changes and readme update 2017-04-22 22:23:33 +02:00

goMarkov

markov chains text generator written in Go from scratch

states := markov.train(text)
generatedText := markov.generateText(states, firstWord, count)
fmt.Println(generatedText)

(in the text variable, goes the text content, can be loaded from a .txt file)

Argos