Package opennlp.uima.util
Class AnnotationIteratorPair
java.lang.Object
opennlp.uima.util.AnnotationIteratorPair
A pair of a
UIMA annotation
and an
annotation iterator
.-
Constructor Summary
ConstructorDescriptionAnnotationIteratorPair
(org.apache.uima.cas.text.AnnotationFS a, Iterable<org.apache.uima.cas.text.AnnotationFS> it) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.uima.cas.text.AnnotationFS
Iterable<org.apache.uima.cas.text.AnnotationFS>
-
Constructor Details
-
AnnotationIteratorPair
public AnnotationIteratorPair(org.apache.uima.cas.text.AnnotationFS a, Iterable<org.apache.uima.cas.text.AnnotationFS> it)
-
-
Method Details
-
getAnnotation
public org.apache.uima.cas.text.AnnotationFS getAnnotation()- Returns:
- Retrieves the
AnnotationFS
.
-
getSubIterator
- Returns:
- Retrieves the
sub-iterator
.
-