org.thdl.tib.scanner
Class AcipToWylie
java.lang.Object
|
+--org.thdl.tib.scanner.AcipToWylie
- public class AcipToWylie
- extends Object
Provides an interfase to convert from tibetan text transliterated in the Acip scheme to THDL's Extended Wylie scheme.
If no arguments are sent, it takes the Acip text from the standard input and sends the
Wylie text to the standard output. If one argument is sent, it interprets it as the
file name for the input. If two arguments are sent, it interprets the first one as the file name for the input and
the second one as the file name for the output. For example, the following
command converts the lam-rim-chen-mo.act storing the results in
lam-rim-chen-mo.txt:
java -cp DictionarySearchStandalone.jar org.thdl.tib.scanner.AcipToWylie lam-rim-chen-mo.act lam-rim-chen-mo.txt
Alternatively by redirecting the standard input/output you perform the same
job:
java -cp DictionarySearchStandalone.jar org.thdl.tib.scanner.AcipToWylie < lam-rim-chen-mo.act > lam-rim-chen-mo.txt
If you only want to display the results to the screen, you can run:
java -cp DictionarySearchStandalone.jar org.thdl.tib.scanner.AcipToWylie lam-rim-chen-mo.act | more
- Author:
- Andrés Montano Pellegrini
- See Also:
WindowScannerFilter
,
Manipulate
Method Summary |
static void |
main(String[] args)
Simply constructs object and invokes #run(). |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AcipToWylie
public AcipToWylie(BufferedReader in,
PrintWriter out)
main
public static void main(String[] args)
throws Exception
- Simply constructs object and invokes #run().
- Parameters:
args
- If no arguments are sent, it takes the ACIP text
from the standard input and sends the wylie text to the standard
output. If one argument is sent, it interprets it as the
file name for the input. If two arguments are sent, it
interprets the first one as the file name for the input and
the second one as the file name for the output.
Exception
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