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.

Files for sentiment_classifier, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size sentiment_classifier-0.2.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page