我试图简单地为 nltk 分类一些单词:
contains(want) = True positi : negati = 1.7 : 1.0
contains(great) = True positi : negati = 1.7 : 1.0
contains(love) = False negati : positi = 1.4 : 1.0
contains(die) = False positi : negati = 1.2 : 1.0
contains(live) = False negati : positi = 1.2 : 1.0
contains(terrible) = False positi : negati = 1.2 : 1.0
但是它给了我一个语法错误positi
。