1
최근에 Python (0.3.7 버전) 용 TextBlob 패키지를 사용하기 시작했습니다. 설명서에 따르면 .sentiment
메서드는 극성에 대한 정의 된 범위가 -1
과 +1
사이 인 정서의 극성과 주관적인 튜플을 반환합니다.TextBlob 0.3.7이 때때로 -1 미만의 정서 극성을 생성하는 이유
그러나이 코드를 사용하면 극성 값이 -1.24
이됩니다.
알려진 버그입니까? 아니면 코드 사용상에 문제가 있습니까?
from text.blob import TextBlob
MyText = '''
tired of nbc universal. got 2 of the 3 periods of tonight's game and 62 of the 78 laps of the f1 race in monaco. stop the pregame crap and fill it with the event you morons!!!!!!
'''
text = TextBlob(MyText)
print text.sentiment