| 1 | { |
| 2 | "name": "Simplified Chinese to Traditional Chinese (Taiwan standard, with phrases, Jieba Segmentation - Experimental)", |
| 3 | "normalization": [ |
| 4 | { |
| 5 | "dict": { |
| 6 | "type": "ocd2", |
| 7 | "file": "CJK_Compatibility_Ideographs.ocd2" |
| 8 | } |
| 9 | } |
| 10 | ], |
| 11 | "segmentation": { |
| 12 | "type": "jieba", |
| 13 | "resources": { |
| 14 | "dict_path": "jieba_dict/jieba_merged.ocd2", |
| 15 | "model_path": "jieba_dict/hmm_model.utf8" |
| 16 | } |
| 17 | }, |
| 18 | "conversion_chain": [ |
| 19 | { |
| 20 | "dict": { |
| 21 | "type": "group", |
| 22 | "match_policy": "short_circuit", |
| 23 | "dicts": [ |
| 24 | { |
| 25 | "type": "group", |
| 26 | "match_policy": "union", |
| 27 | "dicts": [ |
| 28 | { |
| 29 | "type": "ocd2", |
| 30 | "file": "STPhrases.ocd2" |
| 31 | }, |
| 32 | { |
| 33 | "type": "ocd2", |
| 34 | "file": "STPhrases_GeneratedFromRegionalPhrases.ocd2" |
| 35 | } |
| 36 | ] |
| 37 | }, |
| 38 | { |
| 39 | "type": "ocd2", |
| 40 | "file": "STCharacters.ocd2" |
| 41 | } |
| 42 | ] |
| 43 | } |
| 44 | }, |
| 45 | { |
| 46 | "dict": { |
| 47 | "type": "group", |
| 48 | "match_policy": "short_circuit", |
| 49 | "dicts": [ |
| 50 | { |
| 51 | "type": "ocd2", |
| 52 | "file": "TWPhrases.ocd2" |
| 53 | }, |
| 54 | { |
| 55 | "type": "ocd2", |
| 56 | "file": "TWVariantsPhrases.ocd2" |
| 57 | }, |
| 58 | { |
| 59 | "type": "ocd2", |
| 60 | "file": "TWVariants.ocd2" |
| 61 | } |
| 62 | ] |
| 63 | } |
| 64 | } |
| 65 | ] |
| 66 | } |