This tool works by examining individual words and short sequences of words (n-grams) and comparing them with a probability model. The probability model is built on a prelabeled test set of IMDb movie reviews. It can also detect negations in phrases, i.e, the phrase "not bad" will be classified as positive despite having two individual words with a negative sentiment.
You can read more about the details of the model in this paper . The code for the training module is also open source and available on Github .
AUTHOR: Vivek Narayanan < [email protected] >
LICENSE: BSD