fix a test script in jieba3k

pull/50/head
Sun Junyi 12 years ago
parent aae91b6fb6
commit 273996f7d4

@ -5,7 +5,7 @@ import jieba
def cuttest(test_sent):
result = jieba.cut(test_sent)
print " ".join(result)
print(" ".join(result) )
def testcase():
cuttest("这是一个伸手不见五指的黑夜。我叫孙悟空我爱北京我爱Python和C++。")
@ -22,6 +22,6 @@ def testcase():
if __name__ == "__main__":
testcase()
jieba.set_dictionary("foobar.txt")
print "================================"
print("================================")
testcase()

Loading…
Cancel
Save