public interface TokenNode extends DependencyNode, PhraseStructureNode
Modifier and Type | Method and Description |
---|---|
TokenNode |
getTokenNodePredecessor()
Returns the predecessor token node in the linear order of the token nodes.
|
TokenNode |
getTokenNodeSuccessor()
Returns the successor token node in the linear order of the token nodes.
|
void |
setPredecessor(TokenNode predecessor)
Sets the predecessor token node in the linear order of the token nodes.
|
void |
setSuccessor(TokenNode successor)
Sets the predecessor token node in the linear order of the token nodes.
|
addHeadEdgeLabel, addHeadEdgeLabel, addHeadEdgeLabel, findComponent, getAncestor, getClosestLeftDependent, getClosestRightDependent, getComponent, getDependencyNodeDepth, getHead, getHeadEdge, getHeadEdgeLabelCode, getHeadEdgeLabelSet, getHeadEdgeLabelSymbol, getHeadEdgeLabelTypes, getHeadEdges, getHeads, getLeftDependent, getLeftDependentCount, getLeftDependents, getLeftmostDependent, getLeftSibling, getListOfDependents, getListOfLeftDependents, getListOfRightDependents, getPredecessor, getProperAncestor, getRank, getRightDependent, getRightDependentCount, getRightDependents, getRightmostDependent, getRightSibling, getSameSideLeftSibling, getSameSideRightSibling, getSuccessor, hasAncestorInside, hasAtMostOneHead, hasDependent, hasHead, hasHeadEdgeLabel, hasLeftDependent, hasRightDependent, isHeadEdgeLabeled, isProjective, nHeadEdgeLabels, setComponent, setRank
getParent, getParentEdge, getParentEdgeLabelCode, getParentEdgeLabelSymbol, hasParentEdgeLabel
getCompareToIndex, getIncomingSecondaryEdges, getInDegree, getIndex, getLeftmostDescendant, getLeftmostDescendantIndex, getLeftmostProperDescendant, getLeftmostProperDescendantIndex, getOutDegree, getOutgoingSecondaryEdges, getRightmostDescendant, getRightmostDescendantIndex, getRightmostProperDescendant, getRightmostProperDescendantIndex, isRoot
addLabel, addLabel, addLabel, clear, getBelongsToGraph, getLabelCode, getLabelSet, getLabelSymbol, getLabelTypes, hasLabel, isLabeled, nLabels, removeLabel, removeLabels, setBelongsToGraph
void setPredecessor(TokenNode predecessor)
predecessor
- the predecessor token nodevoid setSuccessor(TokenNode successor)
successor
- the successor token nodeTokenNode getTokenNodePredecessor()
TokenNode getTokenNodeSuccessor()
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.