浏览代码

繁体版本工具

robert 4 年之前
父节点
当前提交
a40d3ee231
共有 3 个文件被更改,包括 32 次插入0 次删除
  1. 二进制
      bin/TWPhrases.ocd2
  2. 二进制
      bin/TWVariants.ocd2
  3. 32 0
      bin/s2twp.json

二进制
bin/TWPhrases.ocd2


二进制
bin/TWVariants.ocd2


+ 32 - 0
bin/s2twp.json

@@ -0,0 +1,32 @@
+{
+  "name": "Simplified Chinese to Traditional Chinese (Taiwan standard, with phrases)",
+  "segmentation": {
+    "type": "mmseg",
+    "dict": {
+      "type": "ocd2",
+      "file": "STPhrases.ocd2"
+    }
+  },
+  "conversion_chain": [{
+    "dict": {
+      "type": "group",
+      "dicts": [{
+        "type": "ocd2",
+        "file": "STPhrases.ocd2"
+      }, {
+        "type": "ocd2",
+        "file": "STCharacters.ocd2"
+      }]
+    }
+  }, {
+    "dict": {
+      "type": "ocd2",
+      "file": "TWPhrases.ocd2"
+    }
+  }, {
+    "dict": {
+      "type": "ocd2",
+      "file": "TWVariants.ocd2"
+    }
+  }]
+}