A sort-of ruby version of the RegexParser in the NLTK.