public class DocumentTargetTree extends de.ims.icarus.search_tools.tree.AbstractTargetTree<DocumentData> implements CorefConstants
Modifier and Type | Field and Description |
---|---|
protected EdgeSet |
edgeSet |
protected gnu.trove.map.TIntObjectMap<Edge> |
headMap |
protected gnu.trove.map.TObjectIntMap<Span> |
indexMap |
protected SpanSet |
spanSet |
protected de.ims.icarus.search_tools.tree.CompactTree |
tree |
bufferSize, data, descendantCounts, edgePointer, edges, heads, heights, LIST_START_SIZE, locks, nodePointer, rootCount, roots, size
BEGIN_INDEX_KEY, CLUSTER_ID_KEY, COREFERENCE_DOCUMENT_VIEW_ID, COREFERENCE_EXPLORER_VIEW_ID, COREFERENCE_MANAGER_VIEW_ID, COREFERENCE_PERSPECTIVE_ID, COREFERENCE_PLUGIN_ID, DOCUMENT_EXPLORER_SELECTION_CHANGED, DOCUMENT_INDEX_KEX, EDGE_TYPE, END_INDEX_KEY, ERROR_ANALYSIS_VIEW_ID, MENTION_HEAD_KEY, MENTION_SIZE_KEY, MENTION_TYPE, RANGE_KEY, SENTENCE_INDEX_KEX
DATA_GROUP_LABEL, DATA_GROUP_VALUE, DATA_HEAD_ROOT, DATA_LEFT_LABEL, DATA_LEFT_VALUE, DATA_NO_VALUE, DATA_RIGHT_LABEL, DATA_RIGHT_VALUE, DATA_ROOT_LABEL, DATA_UNDEFINED_DOUBLE_VALUE, DATA_UNDEFINED_FLOAT_VALUE, DATA_UNDEFINED_LABEL, DATA_UNDEFINED_VALUE, DATA_YES_VALUE, DEPREL_KEY, DIRECTION_KEY, DISTANCE_KEY, EDGE_KEY, ENTITY_KEY, FEATURES_KEY, FLAG_PROJECTIVE, FLAGS_KEY, FORM_KEY, FRAMESET_KEY, GENDER_KEY, HEAD_KEY, ID_KEY, INDEX_KEY, LEMMA_KEY, LENGTH_KEY, NUMBER_KEY, PARSE_KEY, POS_KEY, ROOT_KEY, SENSE_KEY, SIZE_KEY, SPEAKER_FEATURES_KEY, SPEAKER_KEY, TAG_KEY, TRANSITIVE_KEY
Constructor and Description |
---|
DocumentTargetTree() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected int |
fetchHead(int index) |
protected int |
fetchSize() |
int |
getBeginIndex() |
int |
getClusterId() |
int |
getDirection() |
int |
getDistance() |
DocumentData |
getDocument() |
Edge |
getEdge() |
java.lang.Object |
getEdgeProperty(java.lang.String key) |
int |
getEndIndex() |
java.lang.String |
getForms() |
java.lang.Object |
getHeadProperty(java.lang.String key) |
java.lang.Object |
getProperty(java.lang.String key) |
int |
getRange() |
CoreferenceData |
getSentence() |
int |
getSentenceIndex() |
java.lang.String |
getSentenceProperties(java.lang.String key) |
Span |
getSpan() |
java.lang.Object |
getSpanProperty(java.lang.String key) |
boolean |
isVirtual() |
protected void |
prepare(de.ims.icarus.util.Options options) |
protected boolean |
supports(java.lang.Object data) |
buildBuffer, getChildIndexAt, getDescendantCount, getEdgeCount, getEdgeIndex, getHeight, getNodeIndex, getParentIndex, getSource, getSourceIndex, getTargetIndex, isEdgeLocked, isEdgeLocked, isEdgeLocked, isNodeLocked, isNodeLocked, isRoot, lockEdge, lockEdge, lockEdge, lockNode, lockNode, prepareDescendants0, reload, reset, size, unlockAll, unlockChildren, unlockEdge, unlockEdge, unlockEdge, unlockNode, unlockNode, viewChild, viewEdge, viewEdge, viewNode, viewParent, viewSource, viewTarget
protected SpanSet spanSet
protected EdgeSet edgeSet
protected gnu.trove.map.TObjectIntMap<Span> indexMap
protected gnu.trove.map.TIntObjectMap<Edge> headMap
protected de.ims.icarus.search_tools.tree.CompactTree tree
protected boolean supports(java.lang.Object data)
supports
in class de.ims.icarus.search_tools.tree.AbstractTargetTree<DocumentData>
public void close()
close
in interface de.ims.icarus.search_tools.tree.TargetTree
close
in class de.ims.icarus.search_tools.tree.AbstractTargetTree<DocumentData>
protected void prepare(de.ims.icarus.util.Options options)
prepare
in class de.ims.icarus.search_tools.tree.AbstractTargetTree<DocumentData>
protected int fetchSize()
fetchSize
in class de.ims.icarus.search_tools.tree.AbstractTargetTree<DocumentData>
AbstractTargetTree.fetchSize()
protected int fetchHead(int index)
fetchHead
in class de.ims.icarus.search_tools.tree.AbstractTargetTree<DocumentData>
AbstractTargetTree.fetchHead(int)
public Span getSpan()
public boolean isVirtual()
public int getSentenceIndex()
public int getBeginIndex()
public int getEndIndex()
public int getRange()
public int getClusterId()
public java.lang.Object getSpanProperty(java.lang.String key)
public Edge getEdge()
public java.lang.Object getEdgeProperty(java.lang.String key)
public int getDirection()
getDirection
in interface de.ims.icarus.search_tools.tree.TargetTree
public int getDistance()
getDistance
in interface de.ims.icarus.search_tools.tree.TargetTree
TargetTree.getDistance()
public DocumentData getDocument()
public CoreferenceData getSentence()
public java.lang.String getForms()
public java.lang.String getSentenceProperties(java.lang.String key)
public java.lang.Object getHeadProperty(java.lang.String key)
public java.lang.Object getProperty(java.lang.String key)
getProperty
in interface de.ims.icarus.search_tools.tree.TargetTree