/pinyin-tool

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

Primary LanguageRustMIT LicenseMIT

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ò