I am trying to extract Email's annotation sets using ANNIE. Email is a default annotation type provided by ANNIE. I am using the following code:-
AnnotationSet defaultAnnotSet = doc.getAnnotations();
AnnotationSet curAnnSet;
curAnnSet = defaultAnnotSet.get("Email");
Here, i am getting the blank curAnnSet, don't know why
Document
you're looking at definitely contain anyEmail
annotations? Try processing the same document with the same application in the GATE Developer GUI and check what annotations are found. – Ian Roberts Nov 16 '15 at 11:46