public interface NonTerminalNode extends PhraseStructureNode
Modifier and Type | Method and Description |
---|---|
PhraseStructureNode |
getChild(int index) |
java.util.SortedSet<PhraseStructureNode> |
getChildren() |
PhraseStructureNode |
getHeadChild() |
PhraseStructureNode |
getHeadChild(HeadRules headRules) |
int |
getHeight() |
PhraseStructureNode |
getLeftChild() |
TokenNode |
getLexicalHead() |
TokenNode |
getLexicalHead(HeadRules headRules) |
PhraseStructureNode |
getRightChild() |
boolean |
hasNonTerminalChildren() |
boolean |
hasTerminalChildren() |
TokenNode |
identifyHead(HeadRules headRules) |
boolean |
isContinuous() |
boolean |
isContinuousExcludeTerminalsAttachToRoot() |
int |
nChildren() |
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
TokenNode identifyHead(HeadRules headRules) throws MaltChainedException
MaltChainedException
TokenNode getLexicalHead(HeadRules headRules) throws MaltChainedException
MaltChainedException
TokenNode getLexicalHead() throws MaltChainedException
MaltChainedException
PhraseStructureNode getHeadChild(HeadRules headRules) throws MaltChainedException
MaltChainedException
PhraseStructureNode getHeadChild() throws MaltChainedException
MaltChainedException
java.util.SortedSet<PhraseStructureNode> getChildren()
PhraseStructureNode getChild(int index)
PhraseStructureNode getLeftChild()
PhraseStructureNode getRightChild()
int nChildren()
boolean hasNonTerminalChildren()
boolean hasTerminalChildren()
int getHeight()
boolean isContinuous()
boolean isContinuousExcludeTerminalsAttachToRoot()
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.