This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Hello Leap</title> | |
<meta content="width=device-width, initial-scale=1.0" name="viewport"> | |
</head> | |
<body> | |
<canvas id="main-canvas"/> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
import urllib2 | |
import json | |
from collections import defaultdict | |
from nltk import word_tokenize | |
IGNORED_WORDS = ["!", ".", ",", "(", ")", "'s", ":", "?", "...", "$", |