org.maltparser.parser.transition
Class TransitionTable
java.lang.Object
   org.maltparser.parser.transition.TransitionTable
org.maltparser.parser.transition.TransitionTable
- All Implemented Interfaces: 
- Table, DecisionPropertyTable
- public class TransitionTable 
- extends Object- implements Table, DecisionPropertyTable
- Since:
- 1.1
- Author:
- Johan Hall
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
TransitionTable
public TransitionTable(String tableName)
addTransition
public void addTransition(int code,
                          String symbol,
                          boolean labeled,
                          TransitionTable childrenTable)
- 
 
- 
 
continueWithNextDecision
public boolean continueWithNextDecision(int code)
                                 throws MaltChainedException
- 
- Specified by:
- continueWithNextDecisionin interface- DecisionPropertyTable
 
- 
- Throws:
- MaltChainedException
 
continueWithNextDecision
public boolean continueWithNextDecision(String symbol)
                                 throws MaltChainedException
- 
- Specified by:
- continueWithNextDecisionin interface- DecisionPropertyTable
 
- 
- Throws:
- MaltChainedException
 
getTableForNextDecision
public Table getTableForNextDecision(int code)
                              throws MaltChainedException
- 
- Specified by:
- getTableForNextDecisionin interface- DecisionPropertyTable
 
- 
- Throws:
- MaltChainedException
 
getTableForNextDecision
public Table getTableForNextDecision(String symbol)
                              throws MaltChainedException
- 
- Specified by:
- getTableForNextDecisionin interface- DecisionPropertyTable
 
- 
- Throws:
- MaltChainedException
 
getTransition
public Transition getTransition(String symbol)
- 
 
- 
 
getTransition
public Transition getTransition(int code)
- 
 
- 
 
addSymbol
public int addSymbol(String symbol)
              throws MaltChainedException
- 
- Specified by:
- addSymbolin interface- Table
 
- 
- Throws:
- MaltChainedException
 
getName
public String getName()
- 
- Specified by:
- getNamein interface- Table
 
- 
 
getSymbolCodeToString
public String getSymbolCodeToString(int code)
                             throws MaltChainedException
- 
- Specified by:
- getSymbolCodeToStringin interface- Table
 
- 
- Throws:
- MaltChainedException
 
getSymbolStringToCode
public int getSymbolStringToCode(String symbol)
                          throws MaltChainedException
- 
- Specified by:
- getSymbolStringToCodein interface- Table
 
- 
- Throws:
- MaltChainedException
 
setName
protected void setName(String name)
- 
 
- 
 
size
public int size()
- 
- Specified by:
- sizein interface- Table
 
- 
 
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.