MaltParser 1.7.1

org.maltparser.parser
Class Oracle

java.lang.Object
  extended by org.maltparser.parser.Oracle
All Implemented Interfaces:
Guide, OracleGuide
Direct Known Subclasses:
ArcEagerOracle, ArcStandardOracle, CovingtonOracle, PlanarArcEagerOracle, ProjectiveOracle, SwapEagerOracle, SwapLazyOracle, TwoPlanarArcEagerOracle

public abstract class Oracle
extends Object
implements OracleGuide

Author:
Johan Hall

Field Summary
protected  ActionContainer[] actionContainers
           
protected  ActionContainer[] arcLabelActionContainers
           
protected  ActionContainer transActionContainer
           
 
Constructor Summary
Oracle(DependencyParserConfig manager, GuideUserHistory history)
           
 
Method Summary
 DependencyParserConfig getConfiguration()
           
 String getGuideName()
           
 GuideUserHistory getHistory()
           
 void setGuideName(String guideName)
           
protected  GuideUserAction updateActionContainers(int transition, LabelSet arcLabels)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.maltparser.parser.guide.OracleGuide
predict
 
Methods inherited from interface org.maltparser.parser.guide.Guide
finalizeSentence, terminate
 

Field Detail

actionContainers

protected final ActionContainer[] actionContainers

transActionContainer

protected ActionContainer transActionContainer

arcLabelActionContainers

protected final ActionContainer[] arcLabelActionContainers
Constructor Detail

Oracle

public Oracle(DependencyParserConfig manager,
              GuideUserHistory history)
       throws MaltChainedException
Throws:
MaltChainedException
Method Detail

getHistory

public GuideUserHistory getHistory()

getConfiguration

public DependencyParserConfig getConfiguration()
Specified by:
getConfiguration in interface Guide

getGuideName

public String getGuideName()
Specified by:
getGuideName in interface Guide

setGuideName

public void setGuideName(String guideName)
Specified by:
setGuideName in interface Guide

updateActionContainers

protected GuideUserAction updateActionContainers(int transition,
                                                 LabelSet arcLabels)
                                          throws MaltChainedException
Throws:
MaltChainedException

MaltParser 1.7.1

Copyright 2007-2012 Johan Hall, Jens Nilsson and Joakim Nivre.