Commit a847f54
Add Taiwan medical term conversions for three terms (#1023)
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.
Co-authored-by: Claude <[email protected]>1 parent 441d74c commit a847f54
File tree
3 files changed
+24
-0
lines changed- data/dictionary
- test/testcases
3 files changed
+24
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
201 | 202 | | |
202 | 203 | | |
203 | 204 | | |
| 205 | + | |
204 | 206 | | |
205 | 207 | | |
206 | 208 | | |
| |||
387 | 389 | | |
388 | 390 | | |
389 | 391 | | |
| 392 | + | |
390 | 393 | | |
391 | 394 | | |
392 | 395 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
| |||
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
| 224 | + | |
223 | 225 | | |
224 | 226 | | |
225 | 227 | | |
| |||
359 | 361 | | |
360 | 362 | | |
361 | 363 | | |
| 364 | + | |
362 | 365 | | |
363 | 366 | | |
364 | 367 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
431 | 449 | | |
432 | 450 | | |
433 | 451 | | |
0 commit comments