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 is my first patch for jieba, which make jieba can add word function online.