/kanji_chinese_converter

Convert Japanese Kanji to Chinese Character

Primary LanguageRubyMIT LicenseMIT

KanjiChineseConverter

Convert Japanese Kanji to Chinese character

Installation

Add this line to your application's Gemfile:

gem 'kanji_chinese_converter'

And then execute:

$ bundle

Or install it yourself as:

$ gem install kanji_chinese_converter

Usage

KanjiChineseConverter.convert("東京都渋谷区渋谷")
# => "东京都涩谷区涩谷"

KanjiChineseConverter.convert("日本語の文章も漢字のみ変換可能です。")
# => "日本语の文章も汉字のみ变换可能です。"

Author

License

The gem is available as open source under the terms of the MIT License.

Reference