项目作者: o2sh

项目描述 :
Text Generation using Markov Chains fed by 4chan APIs
高级语言: Go
项目地址: git://github.com/o2sh/4chanMarkovText.git
创建时间: 2018-08-03T23:47:06Z
项目社区:https://github.com/o2sh/4chanMarkovText

开源协议:MIT License

下载


4chanMarkovText

Some Outputs for /biz/ /pol/ /b/ /fit/ : https://pastebin.com/sxdapK9p

How to use

  1. go run *go -n=3 -words=12 -capital -sentence -input="./data/fit.txt"

-capital
start output with a capitalized prefix
-in string
input file (default “./data/biz.txt”)
-n int
number of words to use as prefix (default 2)
-sentence
end output at a sentence ending punctuation mark (after n words)
-words int
number of words per run (default 200)