Apis For Converting Tibetan Strings

THL Toolbox > Fonts & Related Issues > Tibetan Scripts, Fonts & Related Issues > Tibetan Conversion APIs

APIs fro Converting Tibetan Strings

This page lists the APIs available for programmers who wish to convert short strings of Tibetan on the fly. The available conversions are:

  • Wylie Transliteration to Unicode Tibetan
  • Unicode Tibetan to Wylie Transliteration
  • Unicode Tibetan to THL Tibetan Phonetics

The call is a URL. The results can be returned either as plain text or as XML. All the examples use the word, ཆོས་སྐུ་

Wylie to Unicode

This is based on the external link: online Tibetan transliteration converter powered by a contributed PERL module:

Example:

external link: http://www.thlib.org/cgi-bin/thl/lbow/wylie.pl?plain=true&conversion=wy2uni&input=chos%20sku%20

Unicode to Wylie

This is the same as above except the conversion parameter is changed to "uni2wy"

Example:

external link: http://www.thlib.org/cgi-bin/thl/lbow/wylie.pl?plain=true&conversion=uni2wy&input=%E0%BD%86%E0%BD%BC%E0%BD%A6%E0%BC%8B%E0%BD%A6%E0%BE%90%E0%BD%B4%E0%BC%8B

Phonetics Generator

This generates a string of latin characters that represents the phonetic rendering of the Tibetan string. It is based on the external link: online phonetics generator powered by a contributed PERL module.

Example:

external link: http://www.thlib.org/cgi-bin/thl/lbow/phonetics.pl?plain=true&input=%E0%BD%86%E0%BD%BC%E0%BD%A6%E0%BC%8B%E0%BD%A6%E0%BE%90%E0%BD%B4%E0%BC%8B

Provided for unrestricted use by the external link: Tibetan and Himalayan Library