opencc-wasm 0.6.0 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data/config/s2t_cngov.json +29 -0
- package/dist/data/config/t2cngov.json +1 -1
- package/dist/data/config/t2cngov_keep_simp.json +1 -1
- package/dist/data/config/t2s_cngov.json +29 -0
- package/dist/data/dict/JPVariants.ocd2 +0 -0
- package/dist/data/dict/JPVariantsRev.ocd2 +0 -0
- package/dist/data/dict/STPhrases.ocd2 +0 -0
- package/dist/data/dict/TWPhrases.ocd2 +0 -0
- package/dist/data/dict/TWPhrasesRev.ocd2 +0 -0
- package/dist/data/dict/cngov/GovVariants.ocd2 +0 -0
- package/dist/data/dict/cngov/GovVariants_keep_simp.ocd2 +0 -0
- package/dist/data/dict/cngov/STCharacters.ocd2 +0 -0
- package/dist/data/dict/cngov/STPhrases.ocd2 +0 -0
- package/dist/data/dict/cngov/TGCharacters.ocd2 +0 -0
- package/dist/data/dict/cngov/TGCharacters_keep_simp.ocd2 +0 -0
- package/dist/data/dict/cngov/TGPhrases.ocd2 +0 -0
- package/dist/data/dict/cngov/TSCharacters.ocd2 +0 -0
- package/dist/data/dict/cngov/TSPhrases.ocd2 +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Simplified Chinese to Traditional Chinese (The Chinese Government Standard)",
|
|
3
|
+
"author": "TerryTian-tech",
|
|
4
|
+
"license": "Apache License 2.0",
|
|
5
|
+
"source": "https://github.com/TerryTian-tech/OpenCC-Traditional-Chinese-characters-according-to-Chinese-government-standards",
|
|
6
|
+
"contributors": ["TerryTian-tech", "Yi Jianpeng", "Hu Xinmei", "Duan Yatong"],
|
|
7
|
+
"reference": "《通用规范汉字表》(2013)",
|
|
8
|
+
"description": "Conservative conversion that preserves intentional simplified characters in mixed documents while standardizing traditional characters only.",
|
|
9
|
+
|
|
10
|
+
"segmentation": {
|
|
11
|
+
"type": "mmseg",
|
|
12
|
+
"dict": {
|
|
13
|
+
"type": "ocd2",
|
|
14
|
+
"file": "cngov/STPhrases.ocd2"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"conversion_chain": [{
|
|
18
|
+
"dict": {
|
|
19
|
+
"type": "group",
|
|
20
|
+
"dicts": [{
|
|
21
|
+
"type": "ocd2",
|
|
22
|
+
"file": "cngov/STPhrases.ocd2"
|
|
23
|
+
}, {
|
|
24
|
+
"type": "ocd2",
|
|
25
|
+
"file": "cngov/STCharacters.ocd2"
|
|
26
|
+
}]
|
|
27
|
+
}
|
|
28
|
+
}]
|
|
29
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "Traditional Chinese to
|
|
2
|
+
"name": "Traditional Chinese to Traditional Chinese (Chinese Government standard)",
|
|
3
3
|
"author": "TerryTian-tech",
|
|
4
4
|
"license": "Apache License 2.0",
|
|
5
5
|
"source": "https://github.com/TerryTian-tech/OpenCC-Traditional-Chinese-characters-according-to-Chinese-government-standards",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "Traditional Chinese to
|
|
2
|
+
"name": "Traditional Chinese to Traditional Chinese (Chinese Government standard) with Simplified Chinese remaining unchanged",
|
|
3
3
|
"author": "TerryTian-tech",
|
|
4
4
|
"license": "Apache License 2.0",
|
|
5
5
|
"source": "https://github.com/TerryTian-tech/OpenCC-Traditional-Chinese-characters-according-to-Chinese-government-standards",
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Traditional Chinese to Simplified Chinese",
|
|
3
|
+
"author": "TerryTian-tech",
|
|
4
|
+
"license": "Apache License 2.0",
|
|
5
|
+
"source": "https://github.com/TerryTian-tech/OpenCC-Traditional-Chinese-characters-according-to-Chinese-government-standards",
|
|
6
|
+
"contributors": ["TerryTian-tech", "Yi Jianpeng", "Hu Xinmei", "Duan Yatong"],
|
|
7
|
+
"reference": "《通用规范汉字表》(2013)",
|
|
8
|
+
"description": "Conservative conversion that preserves intentional simplified characters in mixed documents while standardizing traditional characters only.",
|
|
9
|
+
|
|
10
|
+
"segmentation": {
|
|
11
|
+
"type": "mmseg",
|
|
12
|
+
"dict": {
|
|
13
|
+
"type": "ocd2",
|
|
14
|
+
"file": "cngov/TSPhrases.ocd2"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"conversion_chain": [{
|
|
18
|
+
"dict": {
|
|
19
|
+
"type": "group",
|
|
20
|
+
"dicts": [{
|
|
21
|
+
"type": "ocd2",
|
|
22
|
+
"file": "cngov/TSPhrases.ocd2"
|
|
23
|
+
}, {
|
|
24
|
+
"type": "ocd2",
|
|
25
|
+
"file": "cngov/TSCharacters.ocd2"
|
|
26
|
+
}]
|
|
27
|
+
}
|
|
28
|
+
}]
|
|
29
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|