Skip to content

Conversation

@frankslin
Copy link
Contributor

Added three medical term conversions for Taiwan Traditional Chinese:

  1. 前列腺 ↔ 攝護腺 (prostate)
  2. 抑鬱症 ↔ 憂鬱症 (depression)
  3. 胰腺 ↔ 胰臟 (pancreas)

Changes:

  • TWPhrases.txt: Added 3 entries for s2twp conversion (simplified → Taiwan Traditional with phrases)
  • TWPhrasesRev.txt: Added 3 reverse entries for tw2sp conversion (Taiwan Traditional → simplified with phrases)
  • testcases.json: Added 2 consolidated test cases covering all conversions

Test cases verify proper conversion behavior:

  • medical_terms_tw_s2twp: Tests s2t, s2tw, s2twp conversions
  • medical_terms_tw_tw2sp: Tests tw2s, tw2sp, t2s conversions

All dictionaries sorted using sort_all.py script.

Added three medical term conversions for Taiwan Traditional Chinese:
1. 前列腺 ↔ 攝護腺 (prostate)
2. 抑鬱症 ↔ 憂鬱症 (depression)
3. 胰腺 ↔ 胰臟 (pancreas)

Changes:
- TWPhrases.txt: Added 3 entries for s2twp conversion (simplified → Taiwan Traditional with phrases)
- TWPhrasesRev.txt: Added 3 reverse entries for tw2sp conversion (Taiwan Traditional → simplified with phrases)
- testcases.json: Added 2 consolidated test cases covering all conversions

Test cases verify proper conversion behavior:
- medical_terms_tw_s2twp: Tests s2t, s2tw, s2twp conversions
- medical_terms_tw_tw2sp: Tests tw2s, tw2sp, t2s conversions

All dictionaries sorted using sort_all.py script.
@BYVoid BYVoid merged commit a847f54 into BYVoid:master Jan 20, 2026
25 checks passed
@frankslin frankslin deleted the pr/medical-terms branch January 20, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants