https://github.com/magiclen/s2tw
A simple tool for converting Simple Chinese to Traditional Chinese(TW).
https://github.com/magiclen/s2tw
chinese cli rust
Last synced: 8 months ago
JSON representation
A simple tool for converting Simple Chinese to Traditional Chinese(TW).
- Host: GitHub
- URL: https://github.com/magiclen/s2tw
- Owner: magiclen
- License: mit
- Created: 2018-10-22T11:13:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-08-18T02:00:24.000Z (10 months ago)
- Last Synced: 2025-10-18T23:52:46.061Z (8 months ago)
- Topics: chinese, cli, rust
- Language: Rust
- Homepage:
- Size: 34.2 KB
- Stars: 12
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
s2tw
====================
[](https://github.com/magiclen/s2tw/actions/workflows/ci.yml)
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](LICENSE)