Non-/Persistent Marchov Chain generator based on 4chan boards
lib/
- text-sourcesrc/
- .hs-Filessrc/mc-map
- implemented with a mapsrc/mc-db
- implemented with a sqlite-dbsrc/json
- threadgrepper with json
bin/
- executable
make json
in/
make mc-map
in/
make mc-db
in/
./jchan -board <a board from 4chan with no less than 10 pages> -to <txt-file to save to>
./jchan -board g -to file.txt
./mdb -db <path to .sqlite3-db> -learn <filepath(s) to .txt to learn from>
./mdb -db <path to .sqlite3-db> -get <thunks as a number>
./mdb -db g_4chan.sqlite3 -learn file1.txt file2.txt
./mdb -db g_4chan.sqlite3 -get 5
./mmap -get <thunks as a number> -from <filepath(s) to .txt to learn from>
./mmap -get 4 -from ../lib/a_01_06_2015.txt ../lib/g_02_06_2015.txt
- check if any board has less than 10 pages
- allow to fetch archives (currently getting a timeout)
- allow to set thunk-size