Use a better algorithm for keeping track of the recognition of named entities.
Merge pull request #96 from papandreou/namedEntitiesPerformance

Use a better algorithm for keeping track of the recognition of named entities