Class ThreadSafeLanguageDetectorME

java.lang.Object
opennlp.tools.langdetect.ThreadSafeLanguageDetectorME
All Implemented Interfaces:
Serializable, AutoCloseable, LanguageDetector

@ThreadSafe public class ThreadSafeLanguageDetectorME extends Object implements LanguageDetector, AutoCloseable
A thread-safe version of the LanguageDetectorME. Using it is completely transparent. You can use it in a single-threaded context as well, it only incurs a minimal overhead.
See Also: