org.thdl.tib.scanner
Class DictionarySource
java.lang.Object
|
+--org.thdl.tib.scanner.DictionarySource
- public class DictionarySource
- extends Object
Specifies a subset of dictionaries among a set of
dictionaries. Supports a maximum of 15 dictionaries.
- Author:
- Andrés Montano Pellegrini
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DictionarySource
public DictionarySource()
getAllDictionaries
public static org.thdl.tib.scanner.DictionarySource getAllDictionaries()
setAllDictionaries
public void setAllDictionaries()
setDicts
public void setDicts(int dicts)
getDicts
public int getDicts()
contains
public boolean contains(int dict)
add
public void add(int dict)
print
public void print(boolean hasNext,
DataOutput raf)
throws IOException
- Write to file using BinaryFileGenerator
IOException
read
public static org.thdl.tib.scanner.DictionarySource read(DataInput raf)
throws IOException
IOException
hasBrothers
public boolean hasBrothers()
countDefs
public int countDefs()
intersection
public org.thdl.tib.scanner.DictionarySource intersection(org.thdl.tib.scanner.DictionarySource dsO)
untangleDefs
public int[] untangleDefs(int n)
untangleDefs
public int[] untangleDefs()
isEmpty
public boolean isEmpty()
reset
public void reset()
These API docs were created 02/02/2003 08:19 PM.
Copyright © 2001-2002 Tibetan and Himalayan Digital Library. All Rights Reserved.
Hosted by