opencc-rust 2.0.0

Open Chinese Convert(OpenCC, 開放中文轉換) binding for the Rust language for conversion between Traditional Chinese and Simplified Chinese.
Documentation
{
  "name": "Traditional Chinese (Taiwan Standard) to Simplified Chinese (Mainland China Phrases)",
  "normalization": [
    { "dict": { "type": "ocd2", "file": "CJK_Compatibility_Ideographs.ocd2" } }
  ],
  "segmentation": {
    "type": "mmseg",
    "dict": { "type": "ocd2", "file": "TSPhrases.ocd2" }
  },
  "conversion_chain": [
    {
      "dict": {
        "type": "group",
        "match_policy": "short_circuit",
        "dicts": [
          { "type": "ocd2", "file": "TWPhrasesRev.ocd2" },
          { "type": "ocd2", "file": "TWVariantsRevPhrases.ocd2" },
          { "type": "ocd2", "file": "TWVariantsRev.ocd2" }
        ]
      }
    },
    {
      "dict": {
        "type": "group",
        "match_policy": "short_circuit",
        "dicts": [
          { "type": "ocd2", "file": "TSPhrases.ocd2" },
          {
            "type": "ocd2",
            "file": "TSCharactersExt.ocd2",
            "may_output_tofu": true
          },
          { "type": "ocd2", "file": "TSCharacters.ocd2" }
        ]
      }
    }
  ]
}