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
ます。