Package | Description |
---|---|
org.apache.ctakes.utils.xcas_comparison |
Modifier and Type | Field and Description |
---|---|
protected Hashtable<Integer,XcasAnnotation> |
XcasFile.annotations |
protected Hashtable<XcasAnnotation,String> |
XcasFile.positions |
Modifier and Type | Method and Description |
---|---|
XcasAnnotation |
XcasFile.getAnnotation(int id)
Returns the
XcasAnnotation object associated with
the specified internal id. |
XcasAnnotation |
XcasAnnotation.shallowCopy()
Clones this object, its attributes, and reference keys.
|
Modifier and Type | Method and Description |
---|---|
LinkedList<XcasAnnotation> |
XcasFile.annotationsClone() |
Collection<XcasAnnotation> |
XcasFile.getAllAnnotations() |
Vector<XcasAnnotation> |
XcasAnnotation.getReference(String name)
Returns the referenced
XcasAnnotation s of the specified attribute. |
Modifier and Type | Method and Description |
---|---|
void |
XcasFile.addAnnotation(int id,
XcasAnnotation a)
Inserts a new annotation with the specified internal
id
to this XcasFile . |
void |
XcasFile.addAnnotation(int id,
XcasAnnotation a,
int lineNum,
int colNum)
Inserts a new annotation, along with its position in the file,
to this
XcasFile object. |
void |
XcasFile.addAnnotation(int id,
XcasAnnotation a,
String pos)
Inserts a new annotation, along with its position in the file,
to this
XcasFile object. |
int |
XcasAnnotation.compareTo(XcasAnnotation o)
Determines the order of this and the specified
XcasAnnotation . |
String |
XcasFile.getPosition(XcasAnnotation a)
Returns the line and column numbers of the specified
XcasAnnotation . |
String |
XcasFile.getPositionOther(XcasAnnotation a)
Finds an
XcasAnnotation with the same attributes as specified,
and returns its line and column numbers. |
String |
XcasFile.getPositionOwn(XcasAnnotation a)
Returns the line and column numbers of the specified
XcasAnnotation ,
which is included in this XcasFile object. |
String |
XcasFile.getPositionSimilar(XcasAnnotation a)
Finds an
XcasAnnotation of the same type as specified, and
a same text span, then returns its line and column number. |
boolean |
XcasFile.hasAnnotation(XcasAnnotation a)
Checks whether this XCAS file has the specified
XcasAnnotation . |
void |
XcasAnnotation.insertReference(String k,
XcasAnnotation a) |
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.