snordgren / tonemarks

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:Other


Languages

Language:Java 100.0%