All Classes
-
All Classes Interface Summary Class Summary Exception Summary Class Description Comparators This class offers some commonly used comparators on annotations.IndexTermGenerator<K extends java.lang.Comparable<K>> An interface that defines a way to construct index or search terms from an annotation a.JCoReAnnotationIndex<T extends org.apache.uima.jcas.tcas.Annotation> A common interface for JCoRe annotation indexes.JCoReAnnotationIndexMerger This class takes multiple UIMA indices, e.g.JCoReAnnotationTools Most of this functionality is found in UIMAfit nowadays and should be used from there.JCoReCondensedDocumentText This class is helpful when some parts of the CAS document text should be cut out according to a set of specific annotations.JCoReCoverIndex<E extends org.apache.uima.jcas.tcas.Annotation> Use when: You need access to annotations between a given begin- and end-offset or completely covered by another annotation.JCoReFeaturePath This class is an implementation of the UIMAFeaturePathinterface and adds some capabilities to it.JCoReFSListIterator<T extends org.apache.uima.cas.FeatureStructure> An iterator that takes a list of FeatureStructures and returns or navigates its elements exactly in the order the list defines.JCoReHashMapAnnotationIndex<K extends java.lang.Comparable<K>,T extends org.apache.uima.jcas.tcas.Annotation> Use when: You basically just need a map that maps from some key to annotations associated with that key.JCoReMapAnnotationIndex<K extends java.lang.Comparable<K>,T extends org.apache.uima.jcas.tcas.Annotation> Use when: You want to access annotations by an some arbitrary key that should be computed once and then only used for access.JCoReOverlapAnnotationIndex<E extends org.apache.uima.jcas.tcas.Annotation> Use when: You need to access arbitrary annotations that are in any way overlapped by an input annotation (warning: these quite loose restrictions cause a relatively high search complexity, see below).JCoReSetAnnotationIndex<E extends org.apache.uima.jcas.tcas.Annotation> Use when: You just want an ordered set of annotations that can be retrieved according to anComparator.JCoReTools The binarySearch methods work specifically on Annotation objects, sorted by given function. The addToFSArray methods are useful for adding elements to FSArrays which are rather awkward to use and, especially, to extend. The addToStringArray methods serve a similar purpose. One of the most used methods from this list isJCoReTools.getDocId(JCas)which will look for an annotation of type de.julielab.jcore.types.Header and return its docId feature value. TheJCoReTools.deserializeXmi(CAS, InputStream, int)method is used in UIMA 2.x to fix issues with special Unicode characters.JCoReTreeMapAnnotationIndex<K extends java.lang.Comparable<K>,T extends org.apache.uima.jcas.tcas.Annotation> Use when: You want a fuzzy search on the index keys (please see the note in the next paragraph) or ou specifically need aTreeMapinstead of aHashMap(if not, refer toJCoReHashMapAnnotationIndex) for some other reason.JCoReUtilitiesException TermGenerators This class offers a range of predefined term generators (to be used as a constructor argument toJCoReMapAnnotationIndexthat might be useful in a range of applications.TermGenerators.LongOffsetIndexTermGenerator