Dig into long and boring Telegram group chat logs.
Main script, handles a lot of commands. Uses a SQLite 3 database to store messages.
Randomly writes out sentences according to the language model.
Depends on jieba, kenlm.
Evals user input and prints out result safely. Originally written by David Wison.
See https://github.com/dw/scratch/blob/master/seccomp.py
Executes telegram-cli and fetches history messages.
See https://github.com/gumblex/fxcalc
Some interesting functions.