Registry / utility / chinese-pinyin

chinese-pinyin

JSON →
library1.1.0rbrubygemsunverified

Translate Chinese hanzi to pinyin.

gem install chinese_pinyin
INSTALL
IMPORT
SIG · CHINESE-PINYIN
C
chinese-pinyin
utilityrubyv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ChinesePinyin
require 'chinese_pinyin'

Convert Chinese characters to pinyin

require 'chinese_pinyin' Pinyin.t('你好') # => "ni hao"
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
chinese-pinyin — gem install chinese-pinyin · libregistry