Fixed the problem where SentenceDetector did not work as expected due to changes in the OpenNLP API.
I have attached a patch file and the sentence file I have used and the model that it has generated.
Seems to be working but need to be checked. I have successfully generated models from the examples and a new one in Spanish in which I am currently working.
Updated: Attached new Patch.