Fork nlpTools on GitHub
nlpTools - Natural Language Processing Toolkit for PHP

Opinion Mining and Sentiment Analysis

Identifies the semantic orientation, aka polarity, that is expressed in subjective text such as written opinions. Overall, what this task aims to accomplish is sensing and predicting whether a given text shows a positive, negative or neutral sentiment/feeling.

In order to produce this system, a Text Classification technique has to be adapted to a given application domain. In this demo, the SemEval-2007 dataset is of use for training the classifier, and the learnt model is then applied to processing similar world news headlines from The Washington Post: