jieba分词的使用
import jieba
tmpstr = '祝福我们伟大的祖国繁荣昌盛!'
ret = jieba.cut(tmpstr) # 精确模式
ret # 是一个迭代的generator,可以用for循环来遍历结果,类似于list