#chinese #conversion #convert #simple #traditional

bin+lib s2tw

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

19 stable releases

1.0.19 Nov 13, 2023
1.0.15 Nov 4, 2022
1.0.14 Jul 21, 2022
1.0.13 Mar 18, 2022
1.0.2 Nov 28, 2018

#689 in Command line utilities

Download history 7/week @ 2024-02-19 14/week @ 2024-02-26 113/week @ 2024-03-04 4/week @ 2024-03-11

138 downloads per month

MIT license

9KB
139 lines

s2tw

CI

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

Help

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

Usage: s2tw [OPTIONS] [S_PATH] [TW_PATH]

Arguments:
  [S_PATH]   Assign the path of your Simple Chinese document. It should be a file path
  [TW_PATH]  Assign the path of your Traditional 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:

s2tw

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

Dependencies

~4–14MB
~159K SLoC