@Test
public void testGroup() {

    List<SugiliteTextParentAnnotator.AnnotatingResult> res = annotator.annotate
            ("Start date: Feb 8, 2018  End date: 03/31/2018  Result will be announced on 2018.5.1");
    assertEquals(res.size(), 3);
    res.sort((a, b) -> Double.compare(a.getNumericValue(), b.getNumericValue()));
    Calendar cal = new GregorianCalendar();
    cal.set(2018, 1, 8, 0, 0, 0);
    assertEquals(res.get(0).getNumericValue().longValue()/1000, cal.getTime().getTime()/1000);
    cal.set(2018, 2, 31, 0, 0, 0);
    assertEquals(res.get(1).getNumericValue().longValue()/1000, cal.getTime().getTime()/1000);
    cal.set(2018, 4, 1, 0, 0, 0);
    assertEquals(res.get(2).getNumericValue().longValue()/1000, cal.getTime().getTime()/1000);
}