Syntax
ANALYZE_POLARITY(<string>)
Description
Analyze the polarity of a text. A maximum entropy classifier is used to determine tone of the text as positive or negative using the OpenNLP library.
Model training data used was first published in Bo Pang and Lillian Lee, "A Sentimental Education: Sentiment Analysis Using Subjectivity Summarization Based on Minimum Cuts", Proceedings of the ACL, 2004.
The training data of the provided model is best suited to assess the polarity for reviews as opposed to freestanding text.
Example: The function better assesses positives and negatives from movie or product reviews rather than Twitter and Facebook posts.
Example
This function works very well for reviews to determine if the review was positive or negative. Below are examples of this function used on product reviews.
...