| 1 | { |
| 2 | "name": "Traditional Chinese (Hong Kong variant) to Simplified Chinese", |
| 3 | "normalization": [ |
| 4 | { "dict": { "type": "ocd2", "file": "CJK_Compatibility_Ideographs.ocd2" } } |
| 5 | ], |
| 6 | "segmentation": { |
| 7 | "type": "mmseg", |
| 8 | "dict": { "type": "ocd2", "file": "TSPhrases.ocd2" } |
| 9 | }, |
| 10 | "conversion_chain": [ |
| 11 | { |
| 12 | "dict": { |
| 13 | "type": "group", |
| 14 | "match_policy": "short_circuit", |
| 15 | "dicts": [ |
| 16 | { "type": "ocd2", "file": "HKVariantsRevPhrases.ocd2" }, |
| 17 | { "type": "ocd2", "file": "HKVariantsRev.ocd2" } |
| 18 | ] |
| 19 | } |
| 20 | }, |
| 21 | { |
| 22 | "dict": { |
| 23 | "type": "group", |
| 24 | "match_policy": "short_circuit", |
| 25 | "dicts": [ |
| 26 | { "type": "ocd2", "file": "TSPhrases.ocd2" }, |
| 27 | { |
| 28 | "type": "ocd2", |
| 29 | "file": "TSCharactersExt.ocd2", |
| 30 | "may_output_tofu": true |
| 31 | }, |
| 32 | { "type": "ocd2", "file": "TSCharacters.ocd2" } |
| 33 | ] |
| 34 | } |
| 35 | } |
| 36 | ] |
| 37 | } |