Natural language parsing (NLP) with D

Henry Gouk via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 21 03:06:12 PDT 2015


On Wednesday, 21 October 2015 at 09:09:27 UTC, Chris wrote:

> What exactly is sentiment analysis and how do you go about it?

Determining whether the sentiment of a piece of text is positive, 
neutral, or negative. Currently twitter is a pretty popular 
source of data in academia, as emoticons can be used as 
sufficiently accurate proxies for labels. Using psuedo-labelled 
tweets, one can then come up with a feature representation (e.g. 
bag of words, tf-idf) and use some sort of classifier (e.g. 
linear SVM or softmax regression) to determine the sentiment of 
novel tweets. This is a pretty simple approach, and probably not 
hard to improve on.


More information about the Digitalmars-d mailing list