001 package org.maltparser.core.syntaxgraph.node;
002
003 import org.maltparser.core.exception.MaltChainedException;
004 import org.maltparser.core.symbol.SymbolTable;
005 import org.maltparser.core.syntaxgraph.edge.Edge;
006
007
008 public interface PhraseStructureNode extends ComparableNode {
009 public PhraseStructureNode getParent();
010 public Edge getParentEdge() throws MaltChainedException;
011 public String getParentEdgeLabelSymbol(SymbolTable table) throws MaltChainedException;
012 public int getParentEdgeLabelCode(SymbolTable table) throws MaltChainedException;
013 public boolean hasParentEdgeLabel(SymbolTable table) throws MaltChainedException;
014 }