Skip to main content

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

How to Install

Shell command

python setup.py install

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

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.4
Filename, size File type Python version Upload date Hashes
Filename, size sentiment_classifier-0.4-py2.6.egg (15.6 kB) File type Egg Python version 2.6 Upload date Hashes View hashes
Filename, size sentiment_classifier-0.4.tar.gz (5.3 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