org.thdl.tib.scanner
Class ConsoleScannerFilter
java.lang.Object
|
+--org.thdl.tib.scanner.ConsoleScannerFilter
- public class ConsoleScannerFilter
- extends Object
Inputs a Tibetan text and displays the words with their
definitions through the console over a shell. Use when no
graphical interfase is supported or for batch processes. For instance:
java -cp DictionarySearchStandalone.jar org.thdl.tib.scanner.ConsoleScannerFilter ry-dic99
It reads from the standard input and prints the results to the
standard output. For example if you want to parse a text stored in puja.txt
and save the results in puja_words.txt, you can run the command:
java -cp DictionarySearchStandalone.jar org.thdl.tib.scanner.ConsoleScannerFilter ry-dic99 < puja.txt > puja_words.txt
- Author:
- Andrés Montano Pellegrini
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleScannerFilter
public ConsoleScannerFilter(String archivo,
BufferedReader in,
PrintWriter out)
throws Exception
main
public static void main(String[] args)
throws Exception
Exception
printIfSomething
public void printIfSomething(String s)
printWords
public void printWords()
run
public void run()
throws Exception
Exception
These API docs were created 02/02/2003 08:19 PM.
Copyright © 2001-2002 Tibetan and Himalayan Digital Library. All Rights Reserved.
Hosted by