org.thdl.tib.text.tshegbar
Class UnicodeCodepointToThdlWylie

java.lang.Object
  |
  +--org.thdl.tib.text.tshegbar.UnicodeCodepointToThdlWylie

public class UnicodeCodepointToThdlWylie
extends Object

This noninstantiable class allows for converting from Unicode codepoints to THDL Extended Wylie. It cannot be used for long stretches of text, though, as it is unaware of context, which is essential to understanding a non-trivial string of Tibetan Unicode.

See the document by Nathaniel Garson and David Germano entitled Extended Wylie Transliteration Scheme. Note that there are a couple of issues with the November 18, 2001 revision of that document; these issues are in the Bugs tracker at our SourceForge site.

Author:
David Chandler
See Also:
SourceForge site

Constructor Summary
UnicodeCodepointToThdlWylie()
           
 
Method Summary
static String getThdlWylieForUnicodeCodepoint(char x)
          Returns the THDL extended Wylie for x, or null if there is none.
static StringBuffer getThdlWylieForUnicodeString(String x)
          Returns the THDL extended Wylie for the very simple sequence x.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnicodeCodepointToThdlWylie

public UnicodeCodepointToThdlWylie()
Method Detail

getThdlWylieForUnicodeString

public static StringBuffer getThdlWylieForUnicodeString(String x)
Returns the THDL extended Wylie for the very simple sequence x. Returns null iff some (Unicode) char in s has no THDL extended Wylie representation. This is unaware of context, so use it sparingly.


getThdlWylieForUnicodeCodepoint

public static String getThdlWylieForUnicodeCodepoint(char x)
Returns the THDL extended Wylie for x, or null if there is none. Understand that multiple Unicode code points (chars) map to the same THDL Extended Wylie representation. Understand also that the scrap of THDL Extended Wylie returned is only valid in certain contexts. For example, not all consonants take ra-btags. DLC NOW what about canonicalization?



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