MaltParser 1.0.2

org.maltparser.core.symbol
Interface SymbolTable

All Known Implementing Classes:
TrieSymbolTable

public interface SymbolTable


Method Summary
 int addSymbol(String value)
           
 void copy(SymbolTable fromTable)
           
 boolean getKnown(Integer value)
           
 boolean getKnown(String value)
           
 String getName()
           
 int getNullValueCode(NullValues.NullValueId nullValueIdentifier)
           
 String getNullValueSymbol(NullValues.NullValueId nullValueIdentifier)
           
 String getSymbolCodeToString(Integer value)
           
 int getSymbolStringToCode(String value)
           
 int getValueCounter()
           
 boolean isNullValue(int code)
           
 boolean isNullValue(String value)
           
 void load(BufferedReader in)
           
 void printSymbolTable(org.apache.log4j.Logger logger)
           
 void save(BufferedWriter out)
           
 

Method Detail

addSymbol

int addSymbol(String value)
              throws MaltChainedException
Throws:
MaltChainedException

getSymbolCodeToString

String getSymbolCodeToString(Integer value)
                             throws MaltChainedException
Throws:
MaltChainedException

getSymbolStringToCode

int getSymbolStringToCode(String value)
                          throws MaltChainedException
Throws:
MaltChainedException

getKnown

boolean getKnown(Integer value)

getKnown

boolean getKnown(String value)

printSymbolTable

void printSymbolTable(org.apache.log4j.Logger logger)
                      throws MaltChainedException
Throws:
MaltChainedException

save

void save(BufferedWriter out)
          throws MaltChainedException
Throws:
MaltChainedException

load

void load(BufferedReader in)
          throws MaltChainedException
Throws:
MaltChainedException

getName

String getName()

getValueCounter

int getValueCounter()

getNullValueCode

int getNullValueCode(NullValues.NullValueId nullValueIdentifier)
                     throws MaltChainedException
Throws:
MaltChainedException

getNullValueSymbol

String getNullValueSymbol(NullValues.NullValueId nullValueIdentifier)
                          throws MaltChainedException
Throws:
MaltChainedException

isNullValue

boolean isNullValue(String value)
                    throws MaltChainedException
Throws:
MaltChainedException

isNullValue

boolean isNullValue(int code)
                    throws MaltChainedException
Throws:
MaltChainedException

copy

void copy(SymbolTable fromTable)
          throws MaltChainedException
Throws:
MaltChainedException

MaltParser 1.0.2

Copyright 2007 Johan Hall, Jens Nilsson and Joakim Nivre.