public interface PhraseStructure extends TokenStructure, SecEdgeStructure
Modifier and Type | Method and Description |
---|---|
PhraseStructureNode |
addNonTerminalNode() |
PhraseStructureNode |
addNonTerminalNode(int index) |
Edge |
addPhraseStructureEdge(PhraseStructureNode source,
PhraseStructureNode target) |
PhraseStructureNode |
addTerminalNode() |
PhraseStructureNode |
addTerminalNode(int index) |
int |
getHighestNonTerminalIndex() |
java.util.Set<java.lang.Integer> |
getNonTerminalIndices() |
PhraseStructureNode |
getNonTerminalNode(int index) |
PhraseStructureNode |
getPhraseStructureRoot() |
PhraseStructureNode |
getTerminalNode(int index) |
boolean |
hasNonTerminals() |
boolean |
isContinuous() |
boolean |
isContinuousExcludeTerminalsAttachToRoot() |
int |
nEdges() |
int |
nNonTerminals() |
int |
nTerminalNode() |
void |
removePhraseStructureEdge(PhraseStructureNode source,
PhraseStructureNode target) |
addComment, addTokenNode, addTokenNode, getComment, getHighestTokenIndex, getSentenceID, getTokenIndices, getTokenNode, hasComments, hasTokens, nTokenNode, setSentenceID
addLabel, checkInLabelSet, checkOutNewLabelSet, clear, getSymbolTables, setSymbolTables
addSecondaryEdge, removeSecondaryEdge
PhraseStructureNode addTerminalNode() throws MaltChainedException
MaltChainedException
PhraseStructureNode addTerminalNode(int index) throws MaltChainedException
MaltChainedException
PhraseStructureNode getTerminalNode(int index)
int nTerminalNode()
Edge addPhraseStructureEdge(PhraseStructureNode source, PhraseStructureNode target) throws MaltChainedException
MaltChainedException
void removePhraseStructureEdge(PhraseStructureNode source, PhraseStructureNode target) throws MaltChainedException
MaltChainedException
int nEdges()
PhraseStructureNode getPhraseStructureRoot()
PhraseStructureNode getNonTerminalNode(int index) throws MaltChainedException
MaltChainedException
PhraseStructureNode addNonTerminalNode() throws MaltChainedException
MaltChainedException
PhraseStructureNode addNonTerminalNode(int index) throws MaltChainedException
MaltChainedException
int getHighestNonTerminalIndex()
java.util.Set<java.lang.Integer> getNonTerminalIndices()
boolean hasNonTerminals()
int nNonTerminals()
boolean isContinuous()
boolean isContinuousExcludeTerminalsAttachToRoot()
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.