/tonemarks

Tonemarks is a small Java library that converts strings of pinyin with tone numbers into strings with tone markers on the vowels instead.

Primary LanguageJavaOtherNOASSERTION

tonemarks

Tonemarks is a small Java library that converts strings of pinyin with tone numbers into strings with tone markers on the vowels instead.

Usage

String pretty = TonemarkConverter.convert("ni3 hao3");
// => nǐ hǎo