Sentiment Classification using Word Sense Disambiguation, Senti Word Net and word occurance statistics using movie review corpus
Project description
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.
Requirements
You must have Python 2.6 with argparse http://pypi.python.org/pypi/argparse
NLTK http://www.nltk.org 2.0 installed.
NumPy http://numpy.scipy.org
SentiWordNet http://sentiwordnet.isti.cnr.it
How to Install
Shell command:
python setup.py install
Documentation
http://packages.python.org/sentiment_classifier/:
sentiment_classifier/src/senti_classifier/documentation.html
How to Use
Script Usage
Shell Commands:
senti_classifier -p path_to/SentiWordNet_3.0.0_20100908.txt Success, Pickled Sentiwordnet to --> SentiWn.p senti_classifier -c reviews.txt
Python Usage
Shell Commands:
cd sentiment_classifier/src/senti_classifier/ python senti_classifier.py -p path_to/SentiWordNet_3.0.0_20100908.txt python senti_classifier.py -c reviews.txt
History
0.4 Added Bag of Words as a Feature as occurance statistics
0.3 Sentiment Classifier First app, Using WSD module
To-Do
Classify using option neutral as custom heuristics.
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
Built Distributions
Hashes for sentiment_classifier-0.3.linux-i686.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e86cb49a4f884870ae052a0a4db52b65b33b7c9c619ae0435cbc9733e36c648 |
|
MD5 | 5df538af6f59cfd4cf321a3265703e7b |
|
BLAKE2b-256 | fca104931ccbb64ec52ff9f2d9a8d13329306a8625a1303bb284bb3b0a8b5eec |
Hashes for sentiment_classifier-0.3-py2.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1eafcb4ee7d718f672602e7a961d91d560e63d2f7b2ecd4e105101fb50652c8 |
|
MD5 | f5730c3c61ba3c8f4a4d9a2d36a5dbc7 |
|
BLAKE2b-256 | e01cd0452d4d7fb9bd95cbf5d3bab87711a4ca709c895671b6ea652ecf9255c2 |