Pinyin4r is a ruby library supporting convertion between Chinese characters and most popular Pinyin systems.
>= 0
Shane Xu