0
回答
项目测试例子不能通过,为何?

from snownlp import SnowNLP

s = SnowNLP(u'这个东西真心很赞')
s.words()

 

Traceback (most recent call last):
  File "D:\Android\android_workspace\TestPython\testSnowNLP.py", line 12, in <module>
    snn.pinyin()
TypeError: 'list' object is not callable

举报
侯文斌
发帖于3年前 0回/171阅
顶部