mirror of
https://github.com/arnaucube/goMarkov.git
synced 2026-02-07 11:26:45 +01:00
592f97ec6399e48103380386d28b6555705da3af
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)
Languages
Go
100%
