| 1 | { |
| 2 | "name": "Traditional Chinese (Taiwan standard) to Simplified Chinese (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": "ocd2", |
| 26 | "file": "TWPhrasesRev.ocd2" |
| 27 | }, |
| 28 | { |
| 29 | "type": "ocd2", |
| 30 | "file": "TWVariantsRevPhrases.ocd2" |
| 31 | }, |
| 32 | { |
| 33 | "type": "ocd2", |
| 34 | "file": "TWVariantsRev.ocd2" |
| 35 | } |
| 36 | ] |
| 37 | } |
| 38 | }, |
| 39 | { |
| 40 | "dict": { |
| 41 | "type": "group", |
| 42 | "match_policy": "short_circuit", |
| 43 | "dicts": [ |
| 44 | { |
| 45 | "type": "ocd2", |
| 46 | "file": "TSPhrases.ocd2" |
| 47 | }, |
| 48 | { |
| 49 | "type": "ocd2", |
| 50 | "file": "TSCharactersExt.ocd2", |
| 51 | "may_output_tofu": true |
| 52 | }, |
| 53 | { |
| 54 | "type": "ocd2", |
| 55 | "file": "TSCharacters.ocd2" |
| 56 | } |
| 57 | ] |
| 58 | } |
| 59 | } |
| 60 | ] |
| 61 | } |