tibetan-ansi-to-unicode
developer library · JavaScript · by Frère JérémyConverts old Tibetan fonts to Unicode. Includes a command-line tool that converts Word and RTF files while keeping their formatting.
- Free
- Open source
Open source libraries to build your own Tibetan tools: turning Tibetan into phonetics, transliterating mantras, splitting text into words, converting old fonts, repairing PDFs and running OCR.
Most of the first group are small JavaScript packages made by the site's maintainer, which power the web apps listed in the toolbox. The second group comes from other authors, such as OpenPecha and the Buddhist Digital Resource Center.
Converts old Tibetan fonts to Unicode. Includes a command-line tool that converts Word and RTF files while keeping their formatting.
Converts mantras from Unicode Tibetan into IAST and phonetics. Available on npm.
A simple tool to normalize Tibetan Unicode strings.
Useful regular expressions for dealing with Unicode Tibetan, such as splitting a text into Tibetan groups or recognizing punctuation.
A Python library that transliterates Tibetan-encoded Sanskrit mantras into IAST and phonetics. Shares its data with the JavaScript version.
The shared replacement-map data (Tibetan, IAST, phonetics) used by the JavaScript and Python transliteration libraries. Published for both npm and Python.
Deconstructs a single Unicode Tibetan syllable into its parts - prefix, superscribed, root, subscribed, vowel, suffix and more.
Converts Tibetan Unicode text into phonetics based on customizable sets of rules. The engine behind the Tibetan to Phonetics web app.
A JavaScript library to convert ANSI-encoded Tibetan text to Unicode, usable as an ES module, in CommonJS or directly in the browser.
A JavaScript port of Botok, OpenPecha's Tibetan word tokenizer, with Sanskrit detection. Runs in Node.js with no dependencies. The linguistic work and the dictionary are by the Botok team at OpenPecha.
Scripts that run Tibetan OCR on images and PDFs through Google Drive and write the result as text and Word files. Includes a quick-snip shortcut for macOS. Needs your own Google API credentials.
BDRC's page on Hugging Face, "making Buddhist texts available to everyone using AI (OCR, search, etc.), focusing primarily on Tibetan". Hosts open OCR models and datasets.
A Python library for tokenizing Tibetan text into words, which can also add lemmas, part-of-speech tags and clean forms.
Fixes incorrect or incomplete PDF ToUnicode maps so that text extraction, search and copy-paste return correct Unicode. Primarily for Tibetan stacked syllables in Monlam, Himalaya and Jomolhari fonts, and for some legacy fonts.
Typesets Tibetan text in the traditional pecha layout with LaTeX. Builds on the cTib4TeX package by Oliver Corff and adds multilingual headers and Tibetan page numbering.
A Python script that converts PDFs using non-Unicode Tibetan fonts into Unicode text. A work in progress, with a long list of supported legacy fonts.
Python utilities for converting between Extended Wylie (EWTS) and Tibetan Unicode.
Converts files between Tibetan encoding schemes and file formats (text, RTF, HTML), including twelve legacy fonts, Unicode and Wylie variants. A command-line program compiled from C; its README notes some known bugs.
Know a library that belongs here? Suggest it.