use of edu.stanford.nlp.simple.Sentence in project Info-Evaluation by TechnionYP5777.
the class AnalyzeParagraphTest method test9.
@Test
public void test9() {
final Sentence sent = new Sentence("Soulja Boy was arrested for possession of a loaded gun in Los Angeles on Jan 22.\n");
final TableTuple tt = new AnalyzeParagragh(sent, "2015").Analyze();
assertEquals("Soulja Boy", tt.getName());
assertEquals("possession of gun", tt.getReason());
assertEquals("01/22/2015", tt.getDate());
}
Aggregations