1   package eu.fbk.dh.tint.heideltime.annotator;
2   
3   import edu.stanford.nlp.ling.CoreAnnotation;
4   import edu.stanford.nlp.util.ErasureUtils;
5   import edu.stanford.nlp.util.Pair;
6   import eu.fbk.utils.gson.JSONLabel;
7   
8   import java.util.List;
9   
10  /**
11   * Created by alessio on 30/06/17.
12   */
13  
14  public class HeidelTimeAnnotations {
15      @JSONLabel("timexes")
16      public static class TimexesAnnotation implements CoreAnnotation<List<HeidelTimeAnnotator.TimexObject>> {
17  
18          public Class<List<HeidelTimeAnnotator.TimexObject>> getType() {
19              return ErasureUtils.uncheckedCast(List.class);
20          }
21      }
22  
23  }