Translate traditional Chinese to Simplified Chinese.
You can manually use the translating method or use middleware.
Add this line to your application's Gemfile:
gem 'chinese_t2s'
And then execute:
$ bundle
Or install it yourself as:
$ gem install chinese_t2s
TODO: Write usage instructions here
- Fork it ( http://github.com/womany/chinese_t2s/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
The two tables, word_t2s.txt and phase_t2s.txt, are provided by tongwen project.
You can find all the data in here, including t2s and s2t.
MIT License. Copyright (c) 2014 womany.net. http://womany.net