Supporting Videos
Must-Read Materials
- anaconda (It is recommended not to use python directly, but use the python manager anaconda) + vscode installation
- git tutorial
- Example file downloads: already included in the example folder of the repository
Discussion Agenda
-
Confirm python and vscode environment
-
pip install rimetool Try to create your own word database by first downloading through pip to get the executable rimetool command
- First install dependencies
pip install -r requirements.txt - Then bind the package we want to develop:
pip install rimetool -e .What is pip install -e .? Command introduction and explanation - CSDN blog
- First install dependencies
-
Specific operations of rimetool
- rimetool -h or rimetool --help: check how to use
- rimetool --input-path examples\contacts.vcf --tool vcf
- rimetool --input-path examples\simple_chinese.txt --tool simple-chinese
- rimetool --input-path examples\simple_english.txt --tool simple-english
- rimetool --input-path examples\sogou.yaml --tool tosougou
- rimetool --input-path examples\jinkuiyaolue.zip --tool epub --mode epub_to_txt
- rimetool --input-path examples\jinkuiyaolue.zip --tool epub --mode epub_to_rime
- rimetool --input-path rimetool_output\epub_to_txt_your_file_timestamp.txt --tool epub --mode txt_to_short_long
- rimetool --input-path rimetool_output\epub_to_txt_your_file_timestamp.txt --tool epub --mode txt_to_rime
github clone rimetool and source code explanation (taking simple chinese as an example)
- Code download: GitHub - B-Beginner/rimetool: 一些rime使用工具 or use
git clone git@github.com:B-Beginner/rimetool.gitfor easier future development - Backend argparse
- Frontend gui related