Fetch root character from a Tibetan string.
$ npm install tibetan-root-char
const {getRootChar} = require('tibetan-root-char');
// Good afternoon !
getRootChar('ཕྱི་དྲོ་བདེ་ལེགས།'); // ཕ
- tibetan-tokenize - Break Tibetan string into tokens
MIT © Dharma Treasure test