MaltParser 1.4.1

org.maltparser.core.symbol.trie
Class Trie

java.lang.Object
  extended by org.maltparser.core.symbol.trie.Trie

public class Trie
extends Object

Since:
1.0
Author:
Johan Hall

Constructor Summary
Trie()
           
 
Method Summary
 TrieNode addValue(StringBuilder symbol, TrieSymbolTable table, int code)
           
 TrieNode addValue(String value, TrieSymbolTable table, int code)
           
 boolean equals(Object obj)
           
 TrieEntry getEntry(String value, TrieSymbolTable table)
           
 String getValue(TrieNode node, TrieSymbolTable table)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Trie

public Trie()
Method Detail

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

MaltParser 1.4.1

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