pysenti
pysenti copied to clipboard
def _is_word_sentiment(self, the_word, seg_result, index=-1)
def _is_word_sentiment(self, the_word, seg_result, index=-1) 这里的index为什么是-1呢?
没有用否定词、副词的逻辑,直接用情感词典匹配的。本来是想升级的副词和否定词,但实测用处不大,就没用。