org.maltparser.core.symbol
Interface SymbolTable
- All Superinterfaces:
- Table
- All Known Implementing Classes:
- TrieSymbolTable
public interface SymbolTable
- extends Table
addSymbol
int addSymbol(StringBuilder symbol)
throws MaltChainedException
- Throws:
MaltChainedException
getKnown
boolean getKnown(int code)
getKnown
boolean getKnown(String symbol)
makeKnown
void makeKnown(int code)
getCodes
Set<Integer> getCodes()
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
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
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.