Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

turn chinese hanzi to its pronunciation

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 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
Something went wrong with that request. Please try again.