org.thdl.tib.scanner
Class LocalTibetanScanner
java.lang.Object
|
+--org.thdl.tib.scanner.LocalTibetanScanner
- All Implemented Interfaces:
- TibetanScanner
- public class LocalTibetanScanner
- extends Object
- implements TibetanScanner
Loads dictionary stored in tree format and searches for words recursively.
How the the dictionary is loaded depends on which implementation of
SyllableListTree
is invoked.
- Author:
- Andrés Montano Pellegrini
- See Also:
SyllableListTree
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
archivo
public static String archivo
LocalTibetanScanner
public LocalTibetanScanner(String arch)
throws Exception
clearTokens
public void clearTokens()
- Specified by:
clearTokens
in interface TibetanScanner
getDictionarySource
public org.thdl.tib.scanner.DictionarySource getDictionarySource()
- Specified by:
getDictionarySource
in interface TibetanScanner
finishUp
public void finishUp()
- Specified by:
finishUp
in interface TibetanScanner
scanBody
public void scanBody(String in)
- Specified by:
scanBody
in interface TibetanScanner
scanLine
public void scanLine(String linea)
- Specified by:
scanLine
in interface TibetanScanner
getTokenLinkedList
public org.thdl.tib.scanner.LinkedList getTokenLinkedList()
- Specified by:
getTokenLinkedList
in interface TibetanScanner
getTokenArray
public org.thdl.tib.scanner.Token[] getTokenArray()
- Specified by:
getTokenArray
in interface TibetanScanner
getDictionaryDescriptions
public String[] getDictionaryDescriptions()
- Looks for .dic file, and returns the dictionary descriptions.
Also updates the definitionTags in the Definitions class.
- Specified by:
getDictionaryDescriptions
in interface TibetanScanner
These API docs were created 02/02/2003 08:19 PM.
Copyright © 2001-2002 Tibetan and Himalayan Digital Library. All Rights Reserved.
Hosted by