AIAS/nlp_sdks/sentiment_analysis_sdk
2021-08-15 00:42:43 +08:00
..
doc/img Add SentimentAnalysis sdk. 2021-08-05 15:17:04 +08:00
lib Add SentimentAnalysis sdk. 2021-08-05 15:17:04 +08:00
src Add SentimentAnalysis sdk. 2021-08-05 15:17:04 +08:00
pom.xml Add SentimentAnalysis sdk. 2021-08-05 15:17:04 +08:00
README.md no message 2021-08-05 15:18:25 +08:00
sentiment_analysis_sdk.iml Add SentimentAnalysis sdk. 2021-08-05 15:17:04 +08:00

情感倾向分析SDK

情感倾向分析Sentiment Classification 针对带有主观描述的中文文本,可自动判断该文本的情感极性类别并给出相应的置信度, 能够帮助企业理解用户消费习惯、分析热点话题和危机舆情监控,为企业提供有利的决策支持。

img

SDK算法

  • 情感倾向分为两类
  • Negative (消极)
  • Positive (积极)

运行例子 - SentimentAnalysisExample

运行成功后,命令行应该看到下面的信息:

...
[INFO ] - Number of inter-op threads is 4
[INFO ] - Number of intra-op threads is 4
[INFO ] - input Sentence: I like AIAS. AIAS is the best DL application suite!
[INFO ] - [
	class: "Positive", probability: 0.99927
	class: "Negative", probability: 0.00072
]

帮助

添加依赖库lib/aias-sentiment-analysis-lib-0.1.0.jar