org.maltparser.core.syntaxgraph
Class RootLabels
java.lang.Object
org.maltparser.core.syntaxgraph.RootLabels
public class RootLabels
- extends Object
- Author:
- Johan Hall
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_ROOTSYMBOL
public static final String DEFAULT_ROOTSYMBOL
- See Also:
- Constant Field Values
RootLabels
public RootLabels()
setRootLabels
public void setRootLabels(String rootLabelOption,
SortedMap<String,SymbolTable> edgeSymbolTables)
throws MaltChainedException
- Throws:
MaltChainedException
setDefaultRootLabel
public void setDefaultRootLabel(SymbolTable table,
String defaultRootSymbol)
throws MaltChainedException
- Throws:
MaltChainedException
getDefaultRootLabelCode
public Integer getDefaultRootLabelCode(SymbolTable table)
throws MaltChainedException
- Throws:
MaltChainedException
getDefaultRootLabels
public LabelSet getDefaultRootLabels()
throws MaltChainedException
- Throws:
MaltChainedException
getDefaultRootLabelSymbol
public String getDefaultRootLabelSymbol(SymbolTable table)
throws MaltChainedException
- Throws:
MaltChainedException
checkRootLabelCodes
public boolean checkRootLabelCodes(LabelSet rlc)
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.