factorie/factorie — pull request #177 by k8si (2014-05-27 18:00:38+00:00)
Title: HashyLexicon and related (without feature template stuff)

Added HashyLexicon and changed ResourceLexicons to use HashyLexiconsAlso added unit tests to test/TestLexicon. I hope this doesn't break anything. HashyLexicon provides faster lookups than PhraseLexicon by using a SuffixTree-esque data structure, but should provide an identical API, with one exception: for the phrase "New York", lexicon.contains("New") returns "true" for PhraseLexicon and "false" for HashyLexicon.