| 1 | { |
| 2 | "name": "Example: Simplified Chinese to Taiwan Traditional with quote mark override", |
| 3 | "segmentation": { |
| 4 | "type": "mmseg", |
| 5 | "dict": { "type": "ocd2", "file": "STPhrases.ocd2" } |
| 6 | }, |
| 7 | "conversion_chain": [ |
| 8 | { |
| 9 | "dict": { |
| 10 | "type": "group", |
| 11 | "match_policy": "short_circuit", |
| 12 | "dicts": [ |
| 13 | { "type": "ocd2", "file": "STPhrases.ocd2" }, |
| 14 | { "type": "ocd2", "file": "STCharacters.ocd2" } |
| 15 | ] |
| 16 | } |
| 17 | }, |
| 18 | { |
| 19 | "dict": { |
| 20 | "type": "group", |
| 21 | "match_policy": "short_circuit", |
| 22 | "dicts": [ |
| 23 | { "type": "ocd2", "file": "TWPhrases.ocd2" }, |
| 24 | { "type": "ocd2", "file": "TWVariantsPhrases.ocd2" }, |
| 25 | { "type": "ocd2", "file": "TWVariants.ocd2" } |
| 26 | ] |
| 27 | } |
| 28 | }, |
| 29 | { |
| 30 | "dict": { |
| 31 | "type": "inline", |
| 32 | "entries": { |
| 33 | "“": "「", |
| 34 | "”": "」", |
| 35 | "‘": "『", |
| 36 | "’": "』" |
| 37 | } |
| 38 | } |
| 39 | } |
| 40 | ] |
| 41 | } |