An easier way to scrub out newlines.
Reformatting, especially whitespace ;)

* No tabs!
* Removed trailing whitespace.
* Use 4 spaces for indentation.
* Made my lint-checker happy by adding spaces after comments and
  wrapping lines.
Read the text as unicode.
Find the indices of the closing and opening quotes.
Simpler getting the quotes' text.
There's really nothing to flatten.

Since we're getting a list of strings, you know.
Have raw_punctuated_phrases items' separated by newlines.
Added encoding and sh-bang line.
Get matches back, not strings.
Search for the entire quote.
Lowercase tokens.
Added IPython notebook.