create a new NER that combines its KBs into a small number of tries for fewer lookups, making it fast
create a new NER that combines its KBs into a small number of tries for fewer lookups, making it fast
use the compact representation of the combined NER, which is faster to load from disk once serialized
use the compact representation of the combined NER, which is faster to load from disk once serialized
A class that builds either a
depending on the value of useCompact.
The building performed here works on a text file. Both kinds of NERs are also Serializable and can be loaded as objects without the text parsing.