opencc-rust 2.0.0

Open Chinese Convert(OpenCC, 開放中文轉換) binding for the Rust language for conversion between Traditional Chinese and Simplified Chinese.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  "name": "New Japanese Kanji (Shinjitai) to Old Japanese Kanji (Kyūjitai)",
  "normalization": [
    { "dict": { "type": "ocd2", "file": "CJK_Compatibility_Ideographs.ocd2" } }
  ],
  "conversion_chain": [
    {
      "dict": {
        "type": "group",
        "match_policy": "short_circuit",
        "dicts": [
          { "type": "ocd2", "file": "JPShinjitaiPhrases.ocd2" },
          { "type": "ocd2", "file": "JPShinjitaiCharacters.ocd2" }
        ]
      }
    }
  ]
}