hengist
hengist

Reputation: 105

Specifics on sentiment analysis

I am working on a bot that uses sentiment analysis to analyze questions from people in the health care insurance realm. One of the main things we do is connect people with care through a find care tool. The basic questions people ask are in the form "I need a new doctor" or "I need to see a dermatologist". When the sentiment is negative we want to pass the user on to customer service, but as we just discovered, any statement starting with "I need" is considered a negative statement by LUIS' built in sentiment analysis. This is a big problem for us!

If there is a way to tweak that, please someone let me know, though I don't hold out much hope. But I would like to understand - why was that decision made? Why is a simple "I need" question considered negative instead of neutral?

Upvotes: 2

Views: 86

Answers (1)

Steven Kanberg
Steven Kanberg

Reputation: 6383

Sentiment analysis cannot be changed as LUIS relies on Microsoft's Text Analytics to produce a result. In addition to Ferdinand's comment suggestion, you could do one of the following, as well.

Suggest different utterances that produce a more positive result. Using 'find a doctor' produces a positive result where as 'I need a doctor' does not.

The Azure team has a ML learning lab repo that shows how to develop your own text analytics. It would require more effort but would offer you the ability to get the kind of sentiment analysis you are looking for.

Upvotes: 1

Related Questions