Skip to content

Ruby library to convert traditional Chinese (utf-8) to simplified Chinese (utf-8) and vice versa.

License

Notifications You must be signed in to change notification settings

OmniBus/han-converter

 
 

Repository files navigation

Converts traditional to simplified Chinese and vice versa.

sudo gem install OmniBus-han-converter --source=http://gems.github.com

OR in Gemfile

gem "han-converter", :git => "git://github.com/OmniBus/han-converter.git"
>> require 'han-converter'
=> true
>> "手機上觀看及上載 YouTube 影片".to_simplified
=> "手机上观看及上载 YouTube 影片"

>> "手机上观看及上载 YouTube 影片".to_traditional
=> "手機上觀看及上載 YouTube 影片"

It won’t be as good as manual translation but it works ok for me. The speed can probably be improved by going down to C land, but I don’t have time to do that right now and I probably won’t really need the speed for a little while.

-Matt

matt aimonetti [at] gmailDotCom

About

Ruby library to convert traditional Chinese (utf-8) to simplified Chinese (utf-8) and vice versa.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 81.5%
  • JavaScript 18.5%