turn chinese hanzi to its pronunciation
Ruby
Pull request Compare This branch is 1 commit ahead of sishen:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
tests
.gitignore
MIT-LICENSE
README
Rakefile

README

= Pinyin
Turn chinese to pronunciation

This class enable ruby programs to turn chinese hanzi to its
pronunciation, that is, pinyin. It supports the GB2312 character
set coding table.

== Usage

require "pinyin"

pinyin = Chinese::Pronunciation.to_pinyin("xxx")

== Contribution

Thanks jinzhu(http://github.com/jinzhu). He refactored this gem a lot
and make a 2x faster for the speed.

== CHANGES
v0.1.0 July 18
* initial release

Copyright (c) 2007 Dingding Ye <yedingding@gmail.com>
Distributed under MIT License