nltk/nltk — pull request #200 by aboSamoor (2012-02-01 23:37:06+00:00)
Title: Regexp tagger

This patch do the following:
* Compiles all the patterns in the initialization phase of the object construction. This speeds up the execution at least 10x.
* Combines all the patterns supplied by the users in one expression using the OR '|' operator in regex which boosts they performance of the execution up to 2x.

I think regular expressions should be compiled ahead every where in the code, this way we will avoid the expensive process of creating FSMs everytime.