org.thdl.tib.scanner
Class CachedSyllableListTree
java.lang.Object
|
+--org.thdl.tib.scanner.CachedSyllableListTree
- All Implemented Interfaces:
- SyllableListTree
- public class CachedSyllableListTree
- extends Object
- implements SyllableListTree
Provides recommended implementation of the SyllableListTree
(currently most efficient memory-speed combination) loading
from file into memory only the "trunk" of the tree,
and resorting to the disk when searching the rest of the tree.
The words must be stored in a binary file tree structure format.
This can be done using the BinaryFileGenerator.
- Author:
- Andrés Montano Pellegrini
- See Also:
TibetanScanner,
BinaryFileGenerator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachedSyllableListTree
public CachedSyllableListTree(String archivo)
throws Exception
getDef
public String getDef()
- Specified by:
getDef in interface SyllableListTree
getDefs
public org.thdl.tib.scanner.Definitions getDefs()
- Specified by:
getDefs in interface SyllableListTree
getDictionarySource
public org.thdl.tib.scanner.DictionarySource getDictionarySource()
- Specified by:
getDictionarySource in interface SyllableListTree
hasDef
public boolean hasDef()
- Specified by:
hasDef in interface SyllableListTree
lookUp
public org.thdl.tib.scanner.SyllableListTree lookUp(String silStr)
- Specified by:
lookUp in interface SyllableListTree
These API docs were created 02/02/2003 08:19 PM.
Copyright © 2001-2002 Tibetan and Himalayan Digital Library. All Rights Reserved.
Hosted by