情绪分析Sentiment analysis

如果配置了情绪分析,LUIS json 响应会包含情绪分析内容。If Sentiment analysis is configured, the LUIS json response includes sentiment analysis. 请在文本分析文档中详细了解情绪分析。Learn more about sentiment analysis in the Text Analytics documentation.

LUIS 使用文本分析 V2。LUIS uses Text Analytics V2.

情绪解决方法Resolution for sentiment

情绪数据是一个介于 0 到 1 之间的分数,指示数据的正面情绪(分数接近 1)或负面情绪(分数接近 0)。Sentiment data is a score between 1 and 0 indicating the positive (closer to 1) or negative (closer to 0) sentiment of the data.

当区域性为 en-us 时,响应为:When culture is en-us, the response is:

"sentimentAnalysis": {
  "label": "positive",
  "score": 0.9163064
}

后续步骤Next steps

详细了解 V3 预测终结点Learn more about the V3 prediction endpoint.