org.maltparser.parser.history
Class History
java.lang.Object
   org.maltparser.parser.history.History
org.maltparser.parser.history.History
- All Implemented Interfaces: 
- GuideHistory, GuideUserHistory
- public class History 
- extends Object- implements GuideUserHistory, GuideHistory
- Since:
- 1.1
- Author:
- Johan Hall
 
 
 
 
actionPool
protected final ObjectPoolList<ComplexDecisionAction> actionPool
kBestListClass
protected Class<? extends KBestList> kBestListClass
kBestSize
protected int kBestSize
separator
protected String separator
decisionSettings
protected String decisionSettings
decisionTables
protected ArrayList<TableContainer> decisionTables
actionTables
protected ArrayList<TableContainer> actionTables
tableHandlers
protected HashMap<String,TableHandler> tableHandlers
History
public History(String decisionSettings,
               String separator,
               HashMap<String,TableHandler> tableHandlers)
        throws MaltChainedException
- Throws:
- MaltChainedException
getEmptyGuideUserAction
public GuideUserAction getEmptyGuideUserAction()
                                        throws MaltChainedException
- 
- Specified by:
- getEmptyGuideUserActionin interface- GuideUserHistory
 
- 
- Throws:
- MaltChainedException
 
getActionContainers
public ArrayList<ActionContainer> getActionContainers()
- 
- Specified by:
- getActionContainersin interface- GuideUserHistory
 
- 
 
getActionContainerArray
public ActionContainer[] getActionContainerArray()
- 
- Specified by:
- getActionContainerArrayin interface- GuideUserHistory
 
- 
 
clear
public void clear()
           throws MaltChainedException
- 
- Specified by:
- clearin interface- GuideUserHistory
 
- 
- Throws:
- MaltChainedException
 
getEmptyGuideDecision
public GuideDecision getEmptyGuideDecision()
                                    throws MaltChainedException
- 
- Specified by:
- getEmptyGuideDecisionin interface- GuideHistory
 
- 
- Throws:
- MaltChainedException
 
getNumberOfDecisions
public int getNumberOfDecisions()
- 
- Specified by:
- getNumberOfDecisionsin interface- GuideHistory
- Specified by:
- getNumberOfDecisionsin interface- GuideUserHistory
 
- 
 
getTableHandler
public TableHandler getTableHandler(String name)
- 
- Specified by:
- getTableHandlerin interface- GuideHistory
 
- 
 
getKBestListClass
public Class<? extends KBestList> getKBestListClass()
- 
- Specified by:
- getKBestListClassin interface- GuideHistory
 
- 
 
setKBestListClass
public void setKBestListClass(Class<?> kBestListClass)
                       throws MaltChainedException
- 
- Specified by:
- setKBestListClassin interface- GuideHistory
 
- 
- Throws:
- MaltChainedException
 
getKBestSize
public int getKBestSize()
- 
- Specified by:
- getKBestSizein interface- GuideHistory
 
- 
 
setKBestSize
public void setKBestSize(int kBestSize)
- 
- Specified by:
- setKBestSizein interface- GuideHistory
 
- 
 
getNumberOfActions
public int getNumberOfActions()
- 
 
- 
 
getDecisionTables
public ArrayList<TableContainer> getDecisionTables()
- 
 
- 
 
getActionTables
public ArrayList<TableContainer> getActionTables()
- 
 
- 
 
getTableHandlers
public HashMap<String,TableHandler> getTableHandlers()
- 
 
- 
 
getSeparator
public String getSeparator()
- 
 
- 
 
setSeparator
public void setSeparator(String separator)
                  throws MaltChainedException
- 
- Specified by:
- setSeparatorin interface- GuideHistory
 
- 
- Throws:
- MaltChainedException
 
getDecisionSettings
public String getDecisionSettings()
- 
 
- 
 
setDecisionSettings
public void setDecisionSettings(String decisionSettings)
- 
 
- 
 
setTableHandlers
protected void setTableHandlers(HashMap<String,TableHandler> tableHandlers)
- 
 
- 
 
getEmptyActionObject
protected ActionDecision getEmptyActionObject()
                                       throws MaltChainedException
- 
 
- 
- Throws:
- MaltChainedException
 
initDecisionSettings
protected void initDecisionSettings(String decisionSettings)
                             throws MaltChainedException
- 
 
- 
- Throws:
- MaltChainedException
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.