Skip to main content

Sentiment Classification using Word Sense Disambiguation and Senti Word Net

Project description

Sentiment Classification using nltk, Word Sense Disambiguation, SentiWordNet —————————————

Requirements

You must have Python 2.6 with argparse <http://pypi.python.org/pypi/argparse/> and NLTK <http://www.nltk.org/> 2.0 installed. NumPy <http://numpy.scipy.org/>. SentiWordNet <http://sentiwordnet.isti.cnr.it/>

How to Install

python setup.py install

Documentation

sentiment_classifier/src/senti_classifier/documentation.html http://packages.python.org/sentiment_classifier/

How to Use

Script Usage

bash$ senti_classifier -p path_to/SentiWordNet_3.0.0_20100908.txt Success, Pickled Sentiwordnet to –> SentiWn.p bash$ senti_classifier -c reviews.txt

Python Usage bash$ cd sentiment_classifier/src/senti_classifier/ bash$ python senti_classifier.py -p path_to/SentiWordNet_3.0.0_20100908.txt bash$ python senti_classifier.py -c reviews.txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sentiment_classifier-0.2.tar.gz (4.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page