Class ThreadSafeSentenceDetectorME

java.lang.Object
opennlp.tools.sentdetect.ThreadSafeSentenceDetectorME
All Implemented Interfaces:
AutoCloseable, SentenceDetector

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