In opennlp manual, this section:

https://opennlp.apache.org/documentation/1.6.0/manual/opennlp.html#tools.sentdetect.training.api

you use this deprecated method:

SentenceDetectorME.train("en", sampleStream, true, null, 
TrainingParameters.defaultParams())

You could update the documentation to not to use any deprecated method.

Reply via email to