Here we are at McHacks! We are excited.
CSS JavaScript Python Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
static
templates
.gitignore
README.md
app.py
descriptions.py
main.py
requirements.txt
secrets-example.py

README.md

seawolves-eh

Here we are at McHacks! We are excited.

Training data spreadsheet goes here: https://docs.google.com/spreadsheet/ccc?key=0AkyFMrr5yHZVdDNiMl84UGJfc1dZWS02MVZPN3kzMlE&usp=sharing

Here's what needs to happen to our data:

For Messages:

  1. Lowercase everything, remove newlines
  2. Split message, remove URLs
  3. Remove punctuation except for ! ? ‘ #
  4. Replace ! ? # with spaces around

For URLS:

Get rid of punctuation, put in spaces instead.

To run locally:

virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
python main.py