看烟花 · 提问于2022.04.15浏览量:628for txt in sample:
time.sleep(2)
str=re.sub(‘[^\u4e00-\u9fa5]+’,’’,txt)
print(sentiment_classify(str)[‘items’][0][‘positive_prob’])
list1.append(sentiment_classify(str)[‘items’][0][‘positive_prob’])
list2.append(sentiment_classify(str)[‘items’][0][‘negative_prob’])
list3.append(sentiment_classify(str)[‘items’][0][‘sentiment’])

请问这是哪个产品呢

你好,这个问题你解决了吗?