Medical Terminology Database Creation Tutorial May 6, 2025

Supporting Videos

Must-Read Materials

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
  • 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)