#pinyin #chinese #command-line-tool #cli #zhongwen

app pinyin-tool

A simple command line tool for converting Chinese characters to space-separate pinyin words

4 releases

0.1.3 Feb 14, 2020
0.1.2 Feb 14, 2020
0.1.1 Feb 14, 2020
0.1.0 Feb 14, 2020

#18 in #pinyin

MIT license

6KB
78 lines

pinyin-tool

A simple command line tool to convert Chinese characters to pinyin.

Installation

$ cargo install pinyin-tool

Usage

Right now, pinyin-tool only supports stdin input:

$ echo 老婆,我去工作 | pinyin-tool
lǎopó,wǒ qù gōngzuò

Dependencies

~9.5MB
~91K SLoC