Convert Taiwanese Braille to text
The Braille input
The text output
let service = new Service();
let input = "⠑⠪⠈⠍⠺⠐⠁⠌⠐⠹⠄⠊⠌⠄⠛⠌⠐⠟⠜⠈";
let output = service.convertTextToBraille(input);
Converts text to Taiwanese Braille
The text input
The Braille output
let service = new Service();
let input = "小麥注音輸入法";
let output = service.convertTextToBraille(input);
Converts Chinese text to Hanyu Pinyin representation.
This method takes Chinese text as input and returns its romanized form in Hanyu Pinyin. The conversion processes each character individually, converting Bopomofo readings to Pinyin syllables.
The Chinese text string to be converted to Pinyin
A string containing the Hanyu Pinyin representation of the input text, with syllables separated by spaces
Sets the user phrases to the language model.
The map of user phrases.
The text conversion service.
The service provides the following functions: