Cantonese pronunciation assistant.
python cp_assist.py [-h] [-v] [-f FILE] [-s STR]
Convert Chinese to Cantonese.
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-f FILE, --file FILE file path
-s STR, --str STR chinese string
-p FILE, --pdf FILE output PDF file path
python cp_assist.py -s "大家好,我们来做一个注音测试"
Or
python cp_assist.py -f /file/path -p /output/file/path.pdf
- jieba: Chinese text segmentation.
- chardet: Universal encoding detector for Python 2 and 3
- CantoneseDict: A tool for creating a Cantonese dictionary(jyutping).
- reportlab: Create PDF files.
-
2022-10-17(Mon):
- Support output PDF file
- Refine documents
-
2014-10-27(Mon):
- Add encoding detector
- Add examples
-
2014-04-22(Tue):
- Start project.
- Add file lyrics for test.
- To be continued.