Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install sentiment-classifier

How to install sentiment_classifier

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install sentiment-classifier
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.4
0.5 Failed View build log
0.4 Available View build log
0.3 Available View build log
Windows (64-bit)
0.4
0.5 Failed View build log
0.4 Available View build log
0.3 Available View build log
Mac OS X (10.5+)
0.5 Available View build log
0.4 Available View build log
0.3 Available View build log
Linux (32-bit)
0.5 Available View build log
0.4 Available View build log
0.3 Available View build log
Linux (64-bit)
0.5 Available View build log
0.4 Available View build log
0.3 Available View build log
 
License
LICENSE.txt
Dependencies
Lastest release
version 0.5 on May 23rd, 2012

Sentiment Classification using WSD

Overview

Sentiment Classifier using Word Sense Disambiguation using wordnet and word occurance statistics from movie review corpus nltk. Classifies into positive and negative categories.

Online Demo
Requirements

In Version 0.5 all the following requirements are installed automatically. In case of troubles install those manually.

How to Install

Shell command

System Message: WARNING/2 (<string>, line 39)

Literal block expected; none found.

python setup.py install

Script Usage

Shell Commands:

System Message: WARNING/2 (<string>, line 53)

Literal block expected; none found.

senti_classifier -c file/with/review.txt

Python Usage

Shell Commands

System Message: WARNING/2 (<string>, line 60)

Literal block expected; none found.

cd sentiment_classifier/src/senti_classifier/ python senti_classifier.py -c reviews.txt

Library Usage

System Message: ERROR/3 (<string>, line 66)

Unknown directive type "code-block".

.. code-block:: python

from senti_classifier import senti_classifier sentences = ['The movie was the worst movie', 'It was the worst acting by the actors'] pos_score, neg_score = senti_classifier.polarity_scores(sentences) print pos_score, neg_score

History

  • 0.5 No additional data required trained data is loaded automatically. Much faster/Optimized than previous versions.
  • 0.4 Added Bag of Words as a Feature as occurance statistics
  • 0.3 Sentiment Classifier First app, Using WSD module

Subscribe to package updates

Last updated May 23rd, 2012

Download Stats

Last month:2

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.