#chinese #traditional #simple #conversion

bin+lib tw2s

A simple tool for converting Traditional Chinese(TW) to Simple Chinese

14 stable releases

1.0.14 Apr 22, 2021
1.0.13 Mar 11, 2021
1.0.12 Jul 28, 2020
1.0.11 Jun 19, 2020
1.0.1 Oct 22, 2018

#744 in Command line utilities

37 downloads per month

MIT license

8KB
135 lines

tw2s

CI

A simple tool for converting Traditional Chinese(TW) to Simple Chinese.

Help

EXAMPLES:
  tw2s                                # Convert each of input lines from Traditional Chinese to Simple Chinese
  tw2s cht.txt chs.txt                # Convert cht.txt (in Traditional Chinese) to chs.txt (in Simple Chinese)
  tw2s a.cht.txt                      # Convert a.cht.txt (in Traditional Chinese) to a.chs.txt (in Simple Chinese)

USAGE:
    tw2s [FLAGS] [ARGS]

FLAGS:
    -f, --force      Forces to output if the output file exists.
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <TW_PATH>    Assigns the path of your Traditional Chinese document. It should be a file path.
    <S_PATH>     Assigns the path of your Simple Chinese document. It should be a file path.

License

MIT

Dependencies

~1.7–2.4MB
~35K SLoC