update test case

This commit is contained in:
Sun Junyi 2013-05-02 17:01:16 +08:00
parent a9f92e37ce
commit c1bf815343
2 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,8 @@ import jieba
jieba.load_userdict("userdict.txt")
import jieba.posseg as pseg
test_sent = "李小福是创新办主任也是云计算方面的专家"
test_sent = "李小福是创新办主任也是云计算方面的专家;"
test_sent += "例如我输入一个带“韩玉赏鉴”的标题在自定义词库中也增加了此词为N类型"
words = jieba.cut(test_sent)
for w in words:
print w

View File

@ -3,3 +3,4 @@
创新办 3 i
easy_install 3 eng
好用 300
韩玉赏鉴 3 nz