Python,在NLTK中分类模块

时间:2017-01-05 17:32:41

标签: python-2.7 machine-learning nltk

我正在参加ML课程并且遇到以下问题

>>> import nltk    
>>> from nltk import classify    
>>> clf = classify(feat_train,lab_train)   
Traceback (most recent call last):    
  File "(stdin)", line 1, in (module)    
TypeError: 'module' object is not callable`

0 个答案:

没有答案