org.maltparser.core.syntaxgraph
Interface PhraseStructure
- All Superinterfaces: 
- LabeledStructure, SecEdgeStructure, Structure, TokenStructure
- All Known Implementing Classes: 
- MappablePhraseStructureGraph, PhraseStructureGraph
- public interface PhraseStructure 
- extends TokenStructure, SecEdgeStructure
- Author:
- Johan Hall
 
 
| Methods inherited from interface org.maltparser.core.syntaxgraph.Structure | 
| clear | 
 
 
 
addTerminalNode
PhraseStructureNode addTerminalNode()
                                    throws MaltChainedException
- 
 
- 
- Throws:
- MaltChainedException
 
addTerminalNode
PhraseStructureNode addTerminalNode(int index)
                                    throws MaltChainedException
- 
 
- 
- Throws:
- MaltChainedException
 
getTerminalNode
PhraseStructureNode getTerminalNode(int index)
- 
 
- 
 
nTerminalNode
int nTerminalNode()
- 
 
- 
 
addPhraseStructureEdge
Edge addPhraseStructureEdge(PhraseStructureNode source,
                            PhraseStructureNode target)
                            throws MaltChainedException
- 
 
- 
- Throws:
- MaltChainedException
 
removePhraseStructureEdge
void removePhraseStructureEdge(PhraseStructureNode source,
                               PhraseStructureNode target)
                               throws MaltChainedException
- 
 
- 
- Throws:
- MaltChainedException
 
nEdges
int nEdges()
- 
 
- 
 
getPhraseStructureRoot
PhraseStructureNode getPhraseStructureRoot()
- 
 
- 
 
getNonTerminalNode
PhraseStructureNode getNonTerminalNode(int index)
                                       throws MaltChainedException
- 
 
- 
- Throws:
- MaltChainedException
 
addNonTerminalNode
PhraseStructureNode addNonTerminalNode()
                                       throws MaltChainedException
- 
 
- 
- Throws:
- MaltChainedException
 
addNonTerminalNode
PhraseStructureNode addNonTerminalNode(int index)
                                       throws MaltChainedException
- 
 
- 
- Throws:
- MaltChainedException
 
getHighestNonTerminalIndex
int getHighestNonTerminalIndex()
- 
 
- 
 
getNonTerminalIndices
Set<Integer> getNonTerminalIndices()
- 
 
- 
 
hasNonTerminals
boolean hasNonTerminals()
- 
 
- 
 
nNonTerminals
int nNonTerminals()
- 
 
- 
 
isContinuous
boolean isContinuous()
- 
 
- 
 
isContinuousExcludeTerminalsAttachToRoot
boolean isContinuousExcludeTerminalsAttachToRoot()
- 
 
- 
 
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.