Text Translator - Sentiment Analysis

Lalith 161 Reputation points
2021-10-27T06:55:16.257+00:00

Hi, please look at the json response object. my document has the following text - "The food and service were unacceptable, but the concierge were nice" why is this text considered to be positive? I think it should be negative? please help me understand this.

"sentences": [
        {
          "sentiment": "positive",
          "confidenceScores": {
            "positive": 0.84,
            "neutral": 0.0,
            "negative": 0.16
          },
          "offset": 0,
          "length": 67,
          "text": "The food and service were unacceptable, but the concierge were nice"
        }
      ],
Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
359 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,406 questions
{count} vote

Accepted answer
  1. Ramr-msft 17,616 Reputation points
    2021-10-27T14:10:49.783+00:00

    @Lalith Thanks, Please use the Opinion Mining feature of Sentiment Analysis, starting in version 3.1. Also known as Aspect-based Sentiment Analysis in Natural Language Processing (NLP), this feature provides more granular information about the opinions related to attributes of products or services in text.

    To get Opinion Mining in your results, you must include the opinionMining=true flag in a request for sentiment analysis.
    Here Sentiment Analysis might only report a positive sentiment in this case.

    0 comments No comments

0 additional answers

Sort by: Most helpful