rzo1 opened a new pull request, #1465: URL: https://github.com/apache/opennlp/pull/1465
Adds TermAnalyzer.clearThreadLocalState(), which releases the calling thread's state when the analyzer's stemmer is a CachingStemmer and is a no-op otherwise. NormalizationProfile becomes a final class with the same constructor, accessors and value equality, so that matchingAnalyzer() can build its analyzer once and return the same instance on every call. Fixes #1464 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
