Skip to content
Chinese Pinyin conversion.
Pull request Compare This branch is 12 commits behind elvuel:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
tasks
test
MIT-LICENSE
README
Rakefile
init.rb
install.rb
uninstall.rb

README

==Description
===汉字转拼音
Chinese Pinyin conversion. => Elvuel::Hz2Py

===繁简转换
Chinese traditional and simplified conversion. => Elvuel::TraditionalAndSimplified

==Example

Hz2Py.do("你好") => "ni hao"
TraditionalAndSimplified.conv_t2s("鳳凰") => "凤凰"
TraditionalAndSimplified.conv_s2t("无心插柳柳成阴") => "無心插柳柳成陰"

==Rspec
spec test/hz2py_test.rb
spec test/ts_test.rb

Copyright (c) 2010 elvuel(http://elvuel.com), released under the MIT license
Something went wrong with that request. Please try again.