|
MaltParser 1.4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComparableNode
Method Summary | |
---|---|
int |
getCompareToIndex()
Returns the index of the node (only used internal by compareTo). |
SortedSet<Edge> |
getIncomingSecondaryEdges()
Returns a sorted set of incoming secondary edges. |
int |
getInDegree()
Returns the in degree of the node (number of incoming edges of all types of edges). |
int |
getIndex()
Returns the index of the node. |
ComparableNode |
getLeftmostDescendant()
Returns the left-most terminal descendant node. |
int |
getLeftmostDescendantIndex()
Returns the index of the left-most terminal descendant node. |
ComparableNode |
getLeftmostProperDescendant()
Returns the left-most proper terminal descendant node (excluding itself). |
int |
getLeftmostProperDescendantIndex()
Returns the index of the left-most proper terminal descendant node (excluding itself). |
int |
getOutDegree()
Returns the out degree of the node (number of outgoing edges of all types of edges). |
SortedSet<Edge> |
getOutgoingSecondaryEdges()
Returns a sorted set of outgoing secondary edges. |
ComparableNode |
getRightmostDescendant()
Returns the right-most terminal descendant node. |
int |
getRightmostDescendantIndex()
Returns the index of the right-most terminal descendant node. |
ComparableNode |
getRightmostProperDescendant()
Returns the right-most proper terminal descendant node (excluding itself). |
int |
getRightmostProperDescendantIndex()
Returns the index of the right-most proper terminal descendant node (excluding itself). |
boolean |
isRoot()
Returns true if the node is a root node, otherwise false. |
Methods inherited from interface org.maltparser.core.syntaxgraph.Element |
---|
addLabel, addLabel, addLabel, clear, getBelongsToGraph, getLabelCode, getLabelSet, getLabelSymbol, getLabelTypes, hasLabel, isLabeled, nLabels, removeLabel, removeLabels, setBelongsToGraph |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
int getIndex()
int getCompareToIndex()
boolean isRoot()
ComparableNode getLeftmostProperDescendant() throws MaltChainedException
MaltChainedException
ComparableNode getRightmostProperDescendant() throws MaltChainedException
MaltChainedException
int getLeftmostProperDescendantIndex() throws MaltChainedException
MaltChainedException
int getRightmostProperDescendantIndex() throws MaltChainedException
MaltChainedException
ComparableNode getLeftmostDescendant() throws MaltChainedException
MaltChainedException
ComparableNode getRightmostDescendant() throws MaltChainedException
MaltChainedException
int getLeftmostDescendantIndex() throws MaltChainedException
MaltChainedException
int getRightmostDescendantIndex() throws MaltChainedException
MaltChainedException
int getInDegree()
int getOutDegree()
SortedSet<Edge> getIncomingSecondaryEdges()
SortedSet<Edge> getOutgoingSecondaryEdges()
|
MaltParser 1.4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |