commit | 61c0f914cf2a0ce6c49418fbe35a2e0962a4b87e | [log] [tgz] |
---|---|---|
author | Boris Galitsky <bgalitsky@apache.org> | Fri Mar 23 18:26:39 2012 +0000 |
committer | Boris Galitsky <bgalitsky@apache.org> | Fri Mar 23 18:26:39 2012 +0000 |
tree | 06c2ef8396c8ae8654373ac1ff9124b807e587b1 | |
parent | 0e04d7164994afeb4ec794b76376b44f4babfc42 [diff] |
OPENNLP-420 to speed up similarity computation, store parsing results in a hash, so that if a sentence has been parsed, chunked and prepared for matching once, we store it in a hash. when the Processor is instantiated, hash is deserialized. When the processor is closed, this hash is serialized.