Sha256: 665840f044bb54e08d89148d855f057a8c21154db168ac495894db0c0d9aafa8
Contents?: true
Size: 358 Bytes
Versions: 6
Compression:
Stored size: 358 Bytes
Contents
$: << File.join(File.dirname(__FILE__), '../lib') require 'pinyin' conv1 = Pinyin::Converter.new(:hanyu, :numbers, :wadegiles, :accents) conv2 = Pinyin::Converter.new(:wadegiles, :accents, :zhuyin, :marks) pinyin = 'wo3 de2 peng2 you3 shi4 dai4 fu' wadegiles = conv1 << pinyin zhuyin = conv2 << wadegiles puts pinyin, wadegiles, zhuyin
Version data entries
6 entries across 6 versions & 3 rubygems