org.maltparser.core.syntaxgraph.node
Interface NonTerminalNode
- All Superinterfaces:
- Comparable<ComparableNode>, ComparableNode, Element, PhraseStructureNode
- All Known Implementing Classes:
- NonTerminal, Root
public interface NonTerminalNode
- extends PhraseStructureNode
Methods inherited from interface org.maltparser.core.syntaxgraph.node.ComparableNode |
getCompareToIndex, getIncomingSecondaryEdges, getInDegree, getIndex, getLeftmostDescendant, getLeftmostDescendantIndex, getLeftmostProperDescendant, getLeftmostProperDescendantIndex, getOutDegree, getOutgoingSecondaryEdges, getRightmostDescendant, getRightmostDescendantIndex, getRightmostProperDescendant, getRightmostProperDescendantIndex, isRoot |
Methods inherited from interface org.maltparser.core.syntaxgraph.Element |
addLabel, addLabel, addLabel, clear, getBelongsToGraph, getLabelCode, getLabelSet, getLabelSymbol, getLabelTypes, hasLabel, isLabeled, nLabels, removeLabel, removeLabels, setBelongsToGraph |
identifyHead
TokenNode identifyHead(HeadRules headRules)
throws MaltChainedException
- Throws:
MaltChainedException
getLexicalHead
TokenNode getLexicalHead(HeadRules headRules)
throws MaltChainedException
- Throws:
MaltChainedException
getLexicalHead
TokenNode getLexicalHead()
throws MaltChainedException
- Throws:
MaltChainedException
getHeadChild
PhraseStructureNode getHeadChild(HeadRules headRules)
throws MaltChainedException
- Throws:
MaltChainedException
getHeadChild
PhraseStructureNode getHeadChild()
throws MaltChainedException
- Throws:
MaltChainedException
getChildren
SortedSet<PhraseStructureNode> getChildren()
getChild
PhraseStructureNode getChild(int index)
getLeftChild
PhraseStructureNode getLeftChild()
getRightChild
PhraseStructureNode getRightChild()
nChildren
int nChildren()
hasNonTerminalChildren
boolean hasNonTerminalChildren()
hasTerminalChildren
boolean hasTerminalChildren()
getHeight
int getHeight()
isContinuous
boolean isContinuous()
isContinuousExcludeTerminalsAttachToRoot
boolean isContinuousExcludeTerminalsAttachToRoot()
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.