| ex1 | cc2py -t 3 "中国人的〖中国银行〗,很.行.。" |
|---|---|
| ex2 | echo "中国人的〖中国银行〗,很.行.。" | tee /tmp/pytest.txt | cc2py -t 1 -i - |
| ex3 | cc2py -i /tmp/pytest.txt -t 2 |
{{.Name}} will convert Chinese-Character to pinyin.
$ {{shell "cc2py -V"}}$ {{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 "}}