I hope to input a text file into Execute Python and do word segmentation. The python scripts is as following. The result shows parsing failed, can anyone give me some suggestion? Thanks!
ff = open("C:/Users/user/Desktop/speech.txt").read()
seglist = jieba.cut(ff, cut_all=False)
f = open("text.csv","w")
w = csv.writer(f)
Solved! Go to Solution.
please have a look into the log window. There should be more information on the error.