MaltParser 1.0.1

org.maltparser.parser.guide.classtable
Class ClassTable

java.lang.Object
  extended by org.maltparser.parser.guide.classtable.ClassTable
Direct Known Subclasses:
AllCombinedClassTable

public abstract class ClassTable
extends Object

Since:
1.0
Author:
Johan Hall

Field Summary
protected  int currentClassCode
           
protected  String currentClassString
           
protected  KBestList kBestList
           
protected  ParserAction parserAction
           
 
Constructor Summary
ClassTable(ParserAction parserAction, int kbest)
           
 
Method Summary
 int getCurrentClassCode()
           
 String getCurrentClassString()
           
 KBestList getEmptyKBestList()
           
 ParserAction getParserAction()
           
abstract  String getTableName()
           
protected  void setCurrentClassCode(int currentClassCode)
           
protected  void setCurrentClassString(String currentClassString)
           
protected  void setParserAction(ParserAction parserAction)
           
abstract  void setValue(Integer value)
           
abstract  void setValue(String value)
           
abstract  boolean updateClassCode()
           
abstract  ParserAction updateParserActionWithFirstKBest()
           
abstract  ParserAction updateParserActionWithNextKBest()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parserAction

protected ParserAction parserAction

currentClassCode

protected int currentClassCode

currentClassString

protected String currentClassString

kBestList

protected KBestList kBestList
Constructor Detail

ClassTable

public ClassTable(ParserAction parserAction,
                  int kbest)
Method Detail

getCurrentClassCode

public int getCurrentClassCode()

setCurrentClassCode

protected void setCurrentClassCode(int currentClassCode)

getCurrentClassString

public String getCurrentClassString()

setCurrentClassString

protected void setCurrentClassString(String currentClassString)

getParserAction

public ParserAction getParserAction()

setParserAction

protected void setParserAction(ParserAction parserAction)

getEmptyKBestList

public KBestList getEmptyKBestList()

updateClassCode

public abstract boolean updateClassCode()
                                 throws MaltChainedException
Throws:
MaltChainedException

updateParserActionWithFirstKBest

public abstract ParserAction updateParserActionWithFirstKBest()
                                                       throws MaltChainedException
Throws:
MaltChainedException

updateParserActionWithNextKBest

public abstract ParserAction updateParserActionWithNextKBest()
                                                      throws MaltChainedException
Throws:
MaltChainedException

setValue

public abstract void setValue(Integer value)
                       throws MaltChainedException
Throws:
MaltChainedException

setValue

public abstract void setValue(String value)
                       throws MaltChainedException
Throws:
MaltChainedException

getTableName

public abstract String getTableName()
                             throws MaltChainedException
Throws:
MaltChainedException

MaltParser 1.0.1

Copyright 2007 Johan Hall, Jens Nilsson and Joakim Nivre.