Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Classify Software for NLP Homework on Sentiment Analysis

In order to use the software in this package, you need to add ./bin to
you PATH variable. An easy way to do this is as follows. Go to the
directory where you unpacked the classify.tgz file (i.e. the directory
that contains this README) and do:

$ export CLASSIFY_DIR=`pwd`

This README describes the contents of this directory.

The files you will modify for this homework are:

The tennis and ppa datasets are in 

  classify/data/tennis: the tennis data set, in the format required by
  classify/data/ppa: the prepositional phrase attachment data in the ppa format
  classify/data/hcr: the health care reform twitter dataset in xml 

There are other Python programs and modules that and depend on. YOU SHOULD NOT MODIFY THESE FILES.

  classify/ Jason Baldridge's implementation of naive Bayes for HW2.
  classify/ Jason Baldridge's features for the PPA task.
  classify/ A module with useful utility functions that simplify and
  classify/ A module with useful utility functions for working with tweets and scoring sentiment of tweets.
  classify/ Score the predictions of a classifier against the gold standard.

Packages from other sources that are included here:
  classify/ An implementation of bit vectors that can be used in Python Software Foundation License
  classify/ An implementation of the Porter stemmer that can be used in
  classify/ and classify/ Python scripts written by Brendan O'Connor to tokenize tweets. Apache Software License

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.