pysenti icon indicating copy to clipboard operation
pysenti copied to clipboard

def _is_word_sentiment(self, the_word, seg_result, index=-1)

Open zmm288 opened this issue 2 years ago • 1 comments

def _is_word_sentiment(self, the_word, seg_result, index=-1) 这里的index为什么是-1呢?

zmm288 avatar Jan 08 '23 16:01 zmm288

没有用否定词、副词的逻辑,直接用情感词典匹配的。本来是想升级的副词和否定词,但实测用处不大,就没用。

shibing624 avatar Jan 09 '23 06:01 shibing624