Nick Pavlakis
Nick Pavlakis

Reputation: 223

Stanford NLP Sentiment Analysis with entity recognition

I am new to the field of Sentiment Analysis and I would like your help. What I need to do with Stanford Core NLP is provide raw text and get 2 kinds of results:

  1. The total sentiment of the whole text (e.g. positive, neutral or negative)

  2. Entity-based sentiment (either call a function to return a list with all the entities and their sentiment, or call a function where I provide the needed entity as an argument and it returns the sentiment related to this entity).

Upvotes: 3

Views: 979

Answers (1)

Josep Valls
Josep Valls

Reputation: 5560

I ran into a similar issue and I was wrapping several Java projects in an easy to use webservice. I was using Google App Engine and you can find the code here: https://github.com/josepvalls/parserservices

I added the Stanford Parser, Berkeley Parser, the Stanford CoreNLP and the OpenNLP Parser, unfortunately I never got to NER.

On a related note, if you can use Stanford NER instead of OpenNLP NER, there is an online demo that you can use: http://nlp.stanford.edu:8080/ner/

Upvotes: 1

Related Questions