Separate cal and IO process.

computing process and IO process should be separated.
IMHO, jieba shouldn't provide IO API at all.
At least, you can add word in process. I provide a function for you guys to separate IO and computing.
This patch can make jieba add word function online.