“TinyChineseBot” is Chinese chat bot based on Cobe
[https://github.com/pteichman/cobe] by Peter Teichman
python study-chat.py
python study-feed.py <filename> The file should be UTF-8 encoded.
Open print: logging.basicConfig(level=logging.DEBUG)
It’s core module named brain. I have comment it heavily in “brain-comment.py” Copyright remaind to Peter Teichman
one reason: the brain has no enough content. The fundamental reason:
- Cobe select a world randomly from “request”
- Cobe select a sentence randomly which contain the word.
- Cobe try to extent the sentence in two directions. (with its Markov DB)
But if the Cobe select the setence same as “request”....
There is no active server having enough Chinese users.
- Fri Mar 23 19:54:49 CST 2012
by wuliang [www.wuliang.cn at gmail.com]