Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.28 KB

File metadata and controls

56 lines (36 loc) · 1.28 KB
ex1 cc2py -t 3 "中国人的〖中国银行〗,很.行.。"
ex2 echo "中国人的〖中国银行〗,很.行.。" | tee /tmp/pytest.txt | cc2py -t 1 -i -
ex3 cc2py -i /tmp/pytest.txt -t 2

{{toc 5}}

{{.Name}} - Chinese-Character to Pinyin converter

{{.Name}} will convert Chinese-Character to pinyin.

$ {{shell "cc2py -V"}}

Usage

$ {{shell "cc2py" | color "sh"}}

Examples

$ {{shell "cc2py 汉语拼音转换工具"}}

$ {{shell "cc2py -c 汉语 拼音 转换 工具"}}

$ {{shell "cc2py -t 1 -c 汉语 拼音 转换 工具"}}

$ {{shell "cc2py -c 汉语 拼音 转换 工具 -t 2"}}

$ {{shell "cc2py -c 汉语 拼音 转换 工具 -t 3"}}

$ {{shell "cc2py -c 汉语 拼音 转换 工具 -t 4 || true"}}

$ {{shell "cc2py -c -t 3 -s '' 汉语拼音 转换 工具"}}

$ {{shell .ex1}}

$ {{shell .ex2}}

$ {{shell .ex3}}

$ {{shell "cc2py -i /tmp/pytest.txt -p -t 3"}}

$ {{shell "cc2py -i /tmp/pytest.txt -l 1 -c "}}

$ {{shell "cc2py -i /tmp/pytest.txt -l 2 -s '' -c "}}