org.maltparser.core.symbol.trie
Class Trie
java.lang.Object
org.maltparser.core.symbol.trie.Trie
public class Trie
- extends Object
- Since:
- 1.0
- Author:
- Johan Hall
Constructor Summary |
Trie()
|
Trie
public Trie()
addValue
public TrieNode addValue(String value,
TrieSymbolTable table,
int code)
throws SymbolException
- Throws:
SymbolException
addValue
public TrieNode addValue(StringBuilder symbol,
TrieSymbolTable table,
int code)
throws SymbolException
- Throws:
SymbolException
getValue
public String getValue(TrieNode node,
TrieSymbolTable table)
getEntry
public TrieEntry getEntry(String value,
TrieSymbolTable table)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.