8000 GitHub - pepebecker/hanzi-to-pinyin: Convert Hanzi to Pinyin with tone marks or tone numbers
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

pepebecker/hanzi-to-pinyin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hanzi to Pinyin

npm version Travis Build Status Greenkeeper badge dependency status dev dependency status ISC-licensed chat on gitter

Install

npm install hanzi-to-pinyin

Usage

const convert = require('hanzi-to-pinyin')
convert('我的猫喜欢吃苹果')
.then(console.log)
// [ ['wǒ'], ['de','dī','dí','dì'], ['māo'], ['xǐ huan'], ['chī'], ['píng guǒ'] ]

Related

Contributing

If you have a question, found a bug or want to propose a feature, have a look at the issues page.

About

Convert Hanzi to Pinyin with tone marks or tone numbers

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0