pinyin-tool

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

Installation

sh $ cargo install pinyin-tool

Usage

Right now, pinyin-tool only supports stdin input:

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