| 1 | { |
| 2 | "name": "Simplified Chinese to Traditional Chinese (Hong Kong variant, with phrases)", |
| 3 | "normalization": [ |
| 4 | { "dict": { "type": "ocd2", "file": "CJK_Compatibility_Ideographs.ocd2" } } |
| 5 | ], |
| 6 | "segmentation": { |
| 7 | "type": "mmseg", |
| 8 | "dict": { |
| 9 | "type": "group", |
| 10 | "match_policy": "union", |
| 11 | "dicts": [ |
| 12 | { "type": "ocd2", "file": "STPhrases.ocd2" }, |
| 13 | { "type": "ocd2", "file": "STPhrases_GeneratedFromRegionalPhrases.ocd2" } |
| 14 | ] |
| 15 | } |
| 16 | }, |
| 17 | "conversion_chain": [ |
| 18 | { |
| 19 | "dict": { |
| 20 | "type": "group", |
| 21 | "match_policy": "short_circuit", |
| 22 | "dicts": [ |
| 23 | { |
| 24 | "type": "group", |
| 25 | "match_policy": "union", |
| 26 | "dicts": [ |
| 27 | { "type": "ocd2", "file": "STPhrases.ocd2" }, |
| 28 | { "type": "ocd2", "file": "STPhrases_GeneratedFromRegionalPhrases.ocd2" } |
| 29 | ] |
| 30 | }, |
| 31 | { "type": "ocd2", "file": "STCharacters.ocd2" } |
| 32 | ] |
| 33 | } |
| 34 | }, |
| 35 | { |
| 36 | "dict": { |
| 37 | "type": "group", |
| 38 | "match_policy": "short_circuit", |
| 39 | "dicts": [ |
| 40 | { "type": "ocd2", "file": "HKPhrases.ocd2" }, |
| 41 | { "type": "ocd2", "file": "HKVariantsPhrases.ocd2" }, |
| 42 | { "type": "ocd2", "file": "HKVariants.ocd2" } |
| 43 | ] |
| 44 | } |
| 45 | } |
| 46 | ] |
| 47 | } |