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 details)

Uploaded Source

File details

Details for the file sentiment_classifier-0.2.tar.gz.

File metadata

File hashes

Hashes for sentiment_classifier-0.2.tar.gz
Algorithm Hash digest
SHA256 7b4f328a5547152f3e5f9981d1ca3b1a80aaabd708fa2e4e2ea28a4116c370b8
MD5 bdd4786cfcba1daf1fd0e4f3ae90e243
BLAKE2b-256 37d8986afc21b76b0f38435574b31dd24b4bec2e4088419cfe68264a8cae0845

See more details on using hashes here.

Supported by

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