AƱotador
Temporal Tagger
myNER.java
Go to the documentation of this file.
1 package oeg.tagger.core.time.annotation;
2 
3 import edu.stanford.nlp.ling.CoreAnnotation;
4 import edu.stanford.nlp.util.ErasureUtils;
5 
11 public class myNER {
12 
13  private myNER() {
14  }
15 
16  public static class MyNamedEntityTagAnnotation implements CoreAnnotation<String> {
17 
18  @Override
19  public Class<String> getType() {
20  return ErasureUtils.<Class<String>>uncheckedCast(String.class);
21  }
22  }
23 
24  public static class MyNormalizedNamedEntityTagAnnotation implements CoreAnnotation<String> {
25 
26  @Override
27  public Class<String> getType() {
28  return ErasureUtils.<Class<String>>uncheckedCast(String.class);
29  }
30  }
31 
32  public static class MyValueAnnotation implements CoreAnnotation<String> {
33 
34  @Override
35  public Class<String> getType() {
36  return ErasureUtils.<Class<String>>uncheckedCast(String.class);
37  }
38  }
39 
40  public static class MyNumTagAnnotation implements CoreAnnotation<String> {
41 
42  @Override
43  public Class<String> getType() {
44  return ErasureUtils.<Class<String>>uncheckedCast(String.class);
45  }
46  }
47 }
oeg.tagger.core.time.annotation.myNER
Definition: myNER.java:11