#chinese #conversion #convert

bin+lib tw2s

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

21 stable releases

1.0.21 Aug 11, 2024
1.0.19 Nov 13, 2023
1.0.18 Sep 11, 2023
1.0.17 Nov 4, 2022
1.0.2 Nov 28, 2018

#2000 in Command line utilities

MIT license

10KB
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

~3–12MB
~148K SLoC