How can I split a text or paragraph into sentences using Stanford parser?
Is there any method that can extract sentences, such as getSentencesFromString()
You can pretty easy use Stanford tagger for this.
String text = new String("Your text...."); //Your own text.
List> tokenizedSentences = MaxentTagger.tokenizeText(new StringReader(text));
for(List act : tokenizedSentences) //Travel trough sentences
{
System.out.println(edu.stanford.nlp.ling.Sentence.listToString(act)); //This is your sentence
}