nlp OpenNLP

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9


  • opennlp SentenceDetector ./en-sent.bin < ./input.txt > output.txt

  • Initialize SentenceDetectorME like this: SentenceDetectorME sentenceDetector = new SentenceDetectorME(model);

  • Use ‘sentDetect’ method to get sentences like this: String sentences[] = sentenceDetector.sentDetect("string of information");


download models(like en-sent.bin) from the following link

Got any nlp Question?