情感识别Python示例代码
Ta的回复 :刚接触这一块,不是太明白需要您的解释,谢谢群主! 报错: D:\>python sentiment.py Traceback (most recent call last): File "sentiment.py", line 50, in <module> print (get_sentiment(demotext)) File "sentiment.py", line 30, in get_sentiment json_data=client.sentimentClassify(text) AttributeError: AipNlp instance has no attribute 'sentimentClassify' 我已下载,但是还是不知道怎么运行,并且 APP_ID = 'XXXXXXX' API_KEY = 'XXXXXXXXXX' SECRET_KEY = 'XXXXXXXXXXXX' 需要怎么填写呢?您能举个例子吗??非常感谢!!