#chinese #conversion #convert #simple #traditional

bin+lib tw2s

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

19 stable releases

1.0.19 Nov 13, 2023
1.0.17 Nov 4, 2022
1.0.16 Jul 21, 2022
1.0.15 Mar 18, 2022
1.0.2 Nov 28, 2018

#1580 in Command line utilities

MIT license

9KB
139 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 [OPTIONS] [TW_PATH] [S_PATH]

Arguments:
  [TW_PATH]  Assign the path of your Traditional Chinese document. It should be a file path
  [S_PATH]   Assign the path of your Simple Chinese document. It should be a file path

Options:
  -f, --force    Force to output if the output file exists
  -h, --help     Print help
  -V, --version  Print version

License

MIT


lib.rs:

tw2s

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

Dependencies

~4–14MB
~154K SLoC