Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sentiment analysis

while performing sentiment analysis, how can I make the machine understand that I'm referring apple (the iphone), instead of apple (the fruit)?

Thanks for the advise !

like image 345
pekky Avatar asked Feb 17 '13 18:02

pekky


1 Answers

Well, there are several methods,

I would start with checking Capital letter, usually, when referring to a name, first letter is capitalized.

Before doing sentiment analysis, I would use some Part-of-speech and Named Entity Recognition to tag the relevant words.

Stanford CoreNLP is a good text analysis project to start with, it will teach you the basic concepts.

Example from CoreNLP:

enter image description here

You can see how the tags can help you.

And check out more info

like image 51
Ofiris Avatar answered Oct 11 '22 06:10

Ofiris