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

Field Summary
static String archivo
           
 
Fields inherited from interface org.thdl.tib.scanner.TibetanScanner
aboutUnicode, copyrightASCII, copyrightHTML, copyrightUnicode
 
Constructor Summary
LocalTibetanScanner(String arch)
           
 
Method Summary
 void clearTokens()
           
 void finishUp()
           
 String[] getDictionaryDescriptions()
          Looks for .dic file, and returns the dictionary descriptions.
 org.thdl.tib.scanner.DictionarySource getDictionarySource()
           
 org.thdl.tib.scanner.Token[] getTokenArray()
           
 org.thdl.tib.scanner.LinkedList getTokenLinkedList()
           
 void scanBody(String in)
           
 void scanLine(String linea)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

archivo

public static String archivo
Constructor Detail

LocalTibetanScanner

public LocalTibetanScanner(String arch)
                    throws Exception
Method Detail

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 SourceForge_Logo