调用百度api实现文本情感倾向分析(JAVA为例) 先引入依赖 <dependency> <groupId>com.baidu.aip</groupId> <artifactId>java-sdk</artifactId>