- generateIndexTerms(Annotation) - Method in interface de.julielab.jcore.utility.index.IndexTermGenerator
-
Generates a single index term or a stream of index terms for the
annotation a.
- generateIndexTerms(Annotation) - Method in class de.julielab.jcore.utility.index.TermGenerators.LongOffsetIndexTermGenerator
-
- get(K) - Method in class de.julielab.jcore.utility.index.JCoReMapAnnotationIndex
-
- get(Annotation) - Method in class de.julielab.jcore.utility.index.JCoReMapAnnotationIndex
-
- get(E) - Method in class de.julielab.jcore.utility.index.JCoReSetAnnotationIndex
-
- get() - Method in class de.julielab.jcore.utility.JCoReFSListIterator
-
- getAnnotation() - Method in class de.julielab.jcore.utility.JCoReAnnotationIndexMerger
-
- getAnnotationAtMatchingOffsets(JCas, Annotation, Class<T>) - Static method in class de.julielab.jcore.utility.JCoReAnnotationTools
-
- getAnnotationAtOffset(JCas, String, int, int) - Static method in class de.julielab.jcore.utility.JCoReAnnotationTools
-
returns an annotation of the type fullEntityClassName which has exactly
the specified offset
- getAnnotationByClassName(JCas, String) - Static method in class de.julielab.jcore.utility.JCoReAnnotationTools
-
returns an annotation object (de.julielab.jcore.types.annotation) of the
type specified by fullEntityClassName.
- getArrayElement(CommonArrayFS, Map<?, ?>, Method, Method, int) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getBooleanValue(FeatureStructure) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getByteValue(FeatureStructure) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getCas() - Method in class de.julielab.jcore.utility.JCoReCondensedDocumentText
-
- getCodensedText() - Method in class de.julielab.jcore.utility.JCoReCondensedDocumentText
-
- getCondensedOffsetForOriginalOffset(int) - Method in class de.julielab.jcore.utility.JCoReCondensedDocumentText
-
Given a character offset relative to the original CAS document text, this method
returns the corresponding offset in the condensed document text.
- getCurrentBegin() - Method in class de.julielab.jcore.utility.JCoReAnnotationIndexMerger
-
- getCurrentEnd() - Method in class de.julielab.jcore.utility.JCoReAnnotationIndexMerger
-
- getDefaultReplacementValue() - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getDocId(JCas) - Static method in class de.julielab.jcore.utility.JCoReTools
-
Returns the document ID of the document in the JCas.
- getDoubleValue(FeatureStructure) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getFeature(int) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getFeaturePath() - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getFeatureValueFromFeatureStructure(FeatureStructure, Feature, Map<?, ?>) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
Returns the value of the feature feature of the feature
structure fs.
- getFirst(K) - Method in class de.julielab.jcore.utility.index.JCoReMapAnnotationIndex
-
- getFirst(Annotation) - Method in class de.julielab.jcore.utility.index.JCoReMapAnnotationIndex
-
- getFloatValue(FeatureStructure) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getFSValue(FeatureStructure) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getIncludedAnnotations(JCas, Annotation, Class<T>) - Static method in class de.julielab.jcore.utility.JCoReAnnotationTools
-
Returns, in ascending order, all annotations of type cls that
are completely included - perhaps with having the same begin and/or end
as the focusAnnotation - in focusAnnotation.
- getIncludingAnnotation(JCas, Annotation, Class<T>) - Static method in class de.julielab.jcore.utility.JCoReAnnotationTools
-
Returns the leftmost annotation of type cls that completely
includes focusAnnotation.
- getIndex() - Method in class de.julielab.jcore.utility.index.JCoReMapAnnotationIndex
-
- getIndex() - Method in class de.julielab.jcore.utility.index.JCoReSetAnnotationIndex
-
- getIntValue(FeatureStructure) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getLastOverlappingAnnotation(JCas, Annotation, Class<T>) - Static method in class de.julielab.jcore.utility.JCoReAnnotationTools
-
Returns the annotation with the highest end offset of type cls
overlapping focusAnnotation.
- getLongValue(FeatureStructure) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getNearestIncludingAnnotation(JCas, Annotation, Class<T>) - Static method in class de.julielab.jcore.utility.JCoReAnnotationTools
-
Returns the nearest annotation of class cls to
focusAnnotation, i.e.
- getNearestOverlappingAnnotations(JCas, int, int, Class<T>) - Static method in class de.julielab.jcore.utility.JCoReAnnotationTools
-
- getNearestOverlappingAnnotations(JCas, Annotation, Class<T>) - Static method in class de.julielab.jcore.utility.JCoReAnnotationTools
-
Returns the nearest annotations of class cls to
focusAnnotation.
- getObjectValueAsString(Object) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
Get a String representation for a single primitive value.
- getOriginalOffsetForCondensedOffset(int) - Method in class de.julielab.jcore.utility.JCoReCondensedDocumentText
-
Given a character offset relative to the condensed document text, this method
returns the corresponding offset in the original CAS document text.
- getOverlappingAnnotation(JCas, String, int, int) - Static method in class de.julielab.jcore.utility.JCoReAnnotationTools
-
returns an annotation of the type fullEntityClassName which overlaps an
or is overlapped by an annotation of the same type at the given offset
- getPartiallyOverlappingAnnotation(JCas, String, int, int) - Static method in class de.julielab.jcore.utility.JCoReAnnotationTools
-
returns an annotation of the type fullEntityClassName which partially
overlaps an or is overlapped by an annotation of the same type at the
given offset
- getPartiallyOverlappingAnnotation(JCas, Annotation, Class<T>) - Static method in class de.julielab.jcore.utility.JCoReAnnotationTools
-
Returns the leftmost annotation of type cls that overlaps
focusAnnotation.
- getReplaceUnmappedValues() - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
Returns true if feature values not contained in the replacement
map are to be replaced by a default value.
- getShortValue(FeatureStructure) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getStringValue(FeatureStructure) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getTypClass(FeatureStructure) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getType(FeatureStructure) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getValue(FeatureStructure, int) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
Begins to traverse the feature path from position
startFeatureIndex and returns whatever values lie at the end of
the feature path.
- getValueAsString(FeatureStructure) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getValueAsString(FeatureStructure, boolean) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getValueAsStringArray(FeatureStructure, boolean) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getValueAsStringArray(FeatureStructure) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
Returns the feature path values without performing value replacements.
- getValueAsStringList(FeatureStructure, boolean) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
- getValueAsStringList(FeatureStructure) - Method in class de.julielab.jcore.utility.JCoReFeaturePath
-
Returns the feature path values without performing value replacements.
- JCoReAnnotationIndex<T extends org.apache.uima.jcas.tcas.Annotation> - Interface in de.julielab.jcore.utility.index
-
A common interface for JCoRe annotation indexes.
- JCoReAnnotationIndexMerger - Class in de.julielab.jcore.utility
-
This class takes multiple UIMA indices, e.g.
- JCoReAnnotationIndexMerger(Set<?>, boolean, AnnotationFS, JCas) - Constructor for class de.julielab.jcore.utility.JCoReAnnotationIndexMerger
-
Constructs a new annotation index merger.
- JCoReAnnotationTools - Class in de.julielab.jcore.utility
-
Most of this functionality is found in UIMAfit nowadays and should be used from there.
- JCoReAnnotationTools() - Constructor for class de.julielab.jcore.utility.JCoReAnnotationTools
-
- JCoReCondensedDocumentText - Class in de.julielab.jcore.utility
-
This class is helpful when some parts of the CAS document text should be cut
out according to a set of specific annotations.
- JCoReCondensedDocumentText(JCas, Set<String>) - Constructor for class de.julielab.jcore.utility.JCoReCondensedDocumentText
-
Cuts away the covered text of annotations of a type in cutAwayTypes
from the cas document text.
- JCoReCoverIndex<E extends org.apache.uima.jcas.tcas.Annotation> - Class in de.julielab.jcore.utility.index
-
Use when: You need access to annotations between a given begin- and
end-offset or completely covered by another annotation.
- JCoReCoverIndex() - Constructor for class de.julielab.jcore.utility.index.JCoReCoverIndex
-
- JCoReCoverIndex(JCas, int) - Constructor for class de.julielab.jcore.utility.index.JCoReCoverIndex
-
- JCoReCoverIndex(JCas, Type) - Constructor for class de.julielab.jcore.utility.index.JCoReCoverIndex
-
- JCoReFeaturePath - Class in de.julielab.jcore.utility
-
This class is an implementation of the UIMA FeaturePath interface and adds some capabilities to it.
- JCoReFeaturePath() - Constructor for class de.julielab.jcore.utility.JCoReFeaturePath
-
- JCoReFSListIterator<T extends org.apache.uima.cas.FeatureStructure> - Class in de.julielab.jcore.utility
-
An iterator that takes a list of FeatureStructures and returns or navigates
its elements exactly in the order the list defines.
- JCoReFSListIterator(List<T>) - Constructor for class de.julielab.jcore.utility.JCoReFSListIterator
-
- JCoReHashMapAnnotationIndex<K extends Comparable<K>,T extends org.apache.uima.jcas.tcas.Annotation> - Class in de.julielab.jcore.utility.index
-
Use when: You basically just need a map that maps from some key to
annotations associated with that key.
- JCoReHashMapAnnotationIndex(IndexTermGenerator<K>, IndexTermGenerator<K>) - Constructor for class de.julielab.jcore.utility.index.JCoReHashMapAnnotationIndex
-
- JCoReHashMapAnnotationIndex(IndexTermGenerator<K>, IndexTermGenerator<K>, JCas, Type) - Constructor for class de.julielab.jcore.utility.index.JCoReHashMapAnnotationIndex
-
- JCoReHashMapAnnotationIndex(IndexTermGenerator<K>, IndexTermGenerator<K>, JCas, int) - Constructor for class de.julielab.jcore.utility.index.JCoReHashMapAnnotationIndex
-
- JCoReMapAnnotationIndex<K extends Comparable<K>,T extends org.apache.uima.jcas.tcas.Annotation> - Class in de.julielab.jcore.utility.index
-
Use when: You want to access annotations by an some arbitrary key that should
be computed once and then only used for access.
- JCoReMapAnnotationIndex(Supplier<Map<K, Collection<T>>>, IndexTermGenerator<K>, IndexTermGenerator<K>, JCas, Type) - Constructor for class de.julielab.jcore.utility.index.JCoReMapAnnotationIndex
-
This is the full constructor of the map index.
- JCoReMapAnnotationIndex(Supplier<Map<K, Collection<T>>>, IndexTermGenerator<K>, IndexTermGenerator<K>, JCas, int) - Constructor for class de.julielab.jcore.utility.index.JCoReMapAnnotationIndex
-
This is the full constructor of the map index.
- JCoReMapAnnotationIndex(Supplier<Map<K, Collection<T>>>, IndexTermGenerator<K>, IndexTermGenerator<K>) - Constructor for class de.julielab.jcore.utility.index.JCoReMapAnnotationIndex
-
- JCoReOverlapAnnotationIndex<E extends org.apache.uima.jcas.tcas.Annotation> - Class in de.julielab.jcore.utility.index
-
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).
- JCoReOverlapAnnotationIndex() - Constructor for class de.julielab.jcore.utility.index.JCoReOverlapAnnotationIndex
-
- JCoReOverlapAnnotationIndex(JCas, int) - Constructor for class de.julielab.jcore.utility.index.JCoReOverlapAnnotationIndex
-
- JCoReOverlapAnnotationIndex(JCas, Type) - Constructor for class de.julielab.jcore.utility.index.JCoReOverlapAnnotationIndex
-
- JCoReSetAnnotationIndex<E extends org.apache.uima.jcas.tcas.Annotation> - Class in de.julielab.jcore.utility.index
-
Use when: You just want an ordered set of annotations that can be retrieved
according to an
Comparator.
- JCoReSetAnnotationIndex(Comparator<? super E>, JCas, Type) - Constructor for class de.julielab.jcore.utility.index.JCoReSetAnnotationIndex
-
- JCoReSetAnnotationIndex(Comparator<? super E>, JCas, int) - Constructor for class de.julielab.jcore.utility.index.JCoReSetAnnotationIndex
-
- JCoReSetAnnotationIndex(Comparator<? super E>) - Constructor for class de.julielab.jcore.utility.index.JCoReSetAnnotationIndex
-
- JCoReTools - Class in de.julielab.jcore.utility
-
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 is
JCoReTools.getDocId(JCas) which will look for an annotation of type de.julielab.jcore.types.Header and return its docId feature value.
The
JCoReTools.deserializeXmi(CAS, InputStream, int) method is used in UIMA 2.x to fix issues with special Unicode characters.
- JCoReTools() - Constructor for class de.julielab.jcore.utility.JCoReTools
-
- JCoReTreeMapAnnotationIndex<K extends Comparable<K>,T extends org.apache.uima.jcas.tcas.Annotation> - Class in de.julielab.jcore.utility.index
-
Use when: You want a fuzzy search on the index keys (please see the note in
the next paragraph) or ou specifically need a
TreeMap instead of a
HashMap (if not, refer to
JCoReHashMapAnnotationIndex) for
some other reason.
- JCoReTreeMapAnnotationIndex(IndexTermGenerator<K>, IndexTermGenerator<K>) - Constructor for class de.julielab.jcore.utility.index.JCoReTreeMapAnnotationIndex
-
- JCoReTreeMapAnnotationIndex(IndexTermGenerator<K>, IndexTermGenerator<K>, JCas, Type) - Constructor for class de.julielab.jcore.utility.index.JCoReTreeMapAnnotationIndex
-
- JCoReTreeMapAnnotationIndex(IndexTermGenerator<K>, IndexTermGenerator<K>, JCas, int) - Constructor for class de.julielab.jcore.utility.index.JCoReTreeMapAnnotationIndex
-
- JCoReTreeMapAnnotationIndex(Comparator<K>, IndexTermGenerator<K>, IndexTermGenerator<K>) - Constructor for class de.julielab.jcore.utility.index.JCoReTreeMapAnnotationIndex
-
- JCoReTreeMapAnnotationIndex(Comparator<K>, IndexTermGenerator<K>, IndexTermGenerator<K>, JCas, Type) - Constructor for class de.julielab.jcore.utility.index.JCoReTreeMapAnnotationIndex
-
- JCoReTreeMapAnnotationIndex(Comparator<K>, IndexTermGenerator<K>, IndexTermGenerator<K>, JCas, int) - Constructor for class de.julielab.jcore.utility.index.JCoReTreeMapAnnotationIndex
-
- JCoReUtilitiesException - Exception in de.julielab.jcore.utility
-
- JCoReUtilitiesException() - Constructor for exception de.julielab.jcore.utility.JCoReUtilitiesException
-
- JCoReUtilitiesException(String, Throwable) - Constructor for exception de.julielab.jcore.utility.JCoReUtilitiesException
-
- JCoReUtilitiesException(String) - Constructor for exception de.julielab.jcore.utility.JCoReUtilitiesException
-
- JCoReUtilitiesException(Throwable) - Constructor for exception de.julielab.jcore.utility.JCoReUtilitiesException
-