https://github.com/magiclen/tw2s
A simple tool for converting Traditional Chinese(TW) to Simple Chinese.
https://github.com/magiclen/tw2s
chinese cli rsut
Last synced: about 1 year ago
JSON representation
A simple tool for converting Traditional Chinese(TW) to Simple Chinese.
- Host: GitHub
- URL: https://github.com/magiclen/tw2s
- Owner: magiclen
- License: mit
- Created: 2018-10-22T10:51:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-13T14:22:47.000Z (over 2 years ago)
- Last Synced: 2024-05-03T04:47:52.004Z (about 2 years ago)
- Topics: chinese, cli, rsut
- Language: Rust
- Homepage:
- Size: 26.4 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
tw2s
====================
[](https://github.com/magiclen/tw2s/actions/workflows/ci.yml)
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](LICENSE)