MaltParser 1.0.2

org.maltparser.core.graph
Class RootLabels

java.lang.Object
  extended by org.maltparser.core.graph.RootLabels

public class RootLabels
extends Object

Since:
1.0
Author:
Johan Hall

Field Summary
static String DEFAULT_ROOTSYMBOL
           
 
Constructor Summary
RootLabels(String rootLabelOption, SortedMap<String,ColumnDescription> outputColumns)
           
 
Method Summary
 boolean checkRootLabelCodes(ArcLabels rlc)
           
 String getRootLabel(SymbolTable table)
           
 Integer getRootLabelCode(SymbolTable table)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ROOTSYMBOL

public static final String DEFAULT_ROOTSYMBOL
See Also:
Constant Field Values
Constructor Detail

RootLabels

public RootLabels(String rootLabelOption,
                  SortedMap<String,ColumnDescription> outputColumns)
           throws MaltChainedException
Throws:
MaltChainedException
Method Detail

getRootLabelCode

public Integer getRootLabelCode(SymbolTable table)

getRootLabel

public String getRootLabel(SymbolTable table)
                    throws MaltChainedException
Throws:
MaltChainedException

checkRootLabelCodes

public boolean checkRootLabelCodes(ArcLabels rlc)

MaltParser 1.0.2

Copyright 2007 Johan Hall, Jens Nilsson and Joakim Nivre.