@kensio/pinyinjs 1.3.0 → 1.4.0
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/CHANGELOG.md +105 -3
- package/NOTICE +9 -0
- package/README.md +53 -9
- package/data/core.entries +1 -13
- package/data/core.freq +0 -0
- package/data/core.keys +1 -13
- package/data/full.entries +141 -131
- package/data/full.freq +0 -0
- package/data/full.keys +167 -157
- package/data/manifest.json +24 -9
- package/data/script.map +26543 -0
- package/data/standard.entries +1 -22
- package/data/standard.freq +0 -0
- package/data/standard.keys +2 -23
- package/dist/cli/arguments.d.ts +27 -0
- package/dist/cli/arguments.d.ts.map +1 -1
- package/dist/cli/arguments.js +27 -0
- package/dist/cli/arguments.js.map +1 -1
- package/dist/cli/commands.d.ts +11 -0
- package/dist/cli/commands.d.ts.map +1 -1
- package/dist/cli/commands.js +54 -1
- package/dist/cli/commands.js.map +1 -1
- package/dist/cli/environment.d.ts.map +1 -1
- package/dist/cli/environment.js +2 -1
- package/dist/cli/environment.js.map +1 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +4 -0
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/run.d.ts +8 -0
- package/dist/cli/run.d.ts.map +1 -1
- package/dist/cli/run.js +11 -1
- package/dist/cli/run.js.map +1 -1
- package/dist/decode/script.d.ts +108 -0
- package/dist/decode/script.d.ts.map +1 -0
- package/dist/decode/script.js +195 -0
- package/dist/decode/script.js.map +1 -0
- package/dist/dictionary/dictionary.d.ts +13 -1
- package/dist/dictionary/dictionary.d.ts.map +1 -1
- package/dist/dictionary/dictionary.js +18 -4
- package/dist/dictionary/dictionary.js.map +1 -1
- package/dist/dictionary/merge.d.ts.map +1 -1
- package/dist/dictionary/merge.js +23 -3
- package/dist/dictionary/merge.js.map +1 -1
- package/dist/dictionary/script-tables.d.ts +17 -0
- package/dist/dictionary/script-tables.d.ts.map +1 -0
- package/dist/dictionary/script-tables.js +275 -0
- package/dist/dictionary/script-tables.js.map +1 -0
- package/dist/dictionary/source.d.ts +18 -0
- package/dist/dictionary/source.d.ts.map +1 -1
- package/dist/dictionary/source.js +20 -0
- package/dist/dictionary/source.js.map +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/script/conversion.d.ts +102 -0
- package/dist/script/conversion.d.ts.map +1 -0
- package/dist/script/conversion.js +194 -0
- package/dist/script/conversion.js.map +1 -0
- package/dist/script/glyphs.d.ts +95 -0
- package/dist/script/glyphs.d.ts.map +1 -0
- package/dist/script/glyphs.js +236 -0
- package/dist/script/glyphs.js.map +1 -0
- package/dist/sources/opencc.d.ts +32 -0
- package/dist/sources/opencc.d.ts.map +1 -0
- package/dist/sources/opencc.js +50 -0
- package/dist/sources/opencc.js.map +1 -0
- package/package.json +1 -1
package/data/manifest.json
CHANGED
|
@@ -1,35 +1,50 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tiers": {
|
|
3
3
|
"core": {
|
|
4
|
-
"entries":
|
|
4
|
+
"entries": 16727,
|
|
5
5
|
"keys": "core.keys",
|
|
6
6
|
"readings": "core.entries",
|
|
7
7
|
"frequencies": "core.freq",
|
|
8
|
-
"bytes":
|
|
9
|
-
"compressedBytes":
|
|
8
|
+
"bytes": 218044,
|
|
9
|
+
"compressedBytes": 71295
|
|
10
10
|
},
|
|
11
11
|
"standard": {
|
|
12
|
-
"entries":
|
|
12
|
+
"entries": 66727,
|
|
13
13
|
"keys": "standard.keys",
|
|
14
14
|
"readings": "standard.entries",
|
|
15
15
|
"frequencies": "standard.freq",
|
|
16
|
-
"bytes":
|
|
17
|
-
"compressedBytes":
|
|
16
|
+
"bytes": 1399294,
|
|
17
|
+
"compressedBytes": 387813
|
|
18
18
|
},
|
|
19
19
|
"full": {
|
|
20
20
|
"entries": 461623,
|
|
21
21
|
"keys": "full.keys",
|
|
22
22
|
"readings": "full.entries",
|
|
23
23
|
"frequencies": "full.freq",
|
|
24
|
-
"bytes":
|
|
25
|
-
"compressedBytes":
|
|
24
|
+
"bytes": 9349708,
|
|
25
|
+
"compressedBytes": 2448190
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
|
+
"script": {
|
|
29
|
+
"file": "script.map",
|
|
30
|
+
"toTraditional": 5943,
|
|
31
|
+
"toSimplified": 6118,
|
|
32
|
+
"traditionalWords": 2327,
|
|
33
|
+
"simplifiedWords": 875,
|
|
34
|
+
"hansOnly": 5785,
|
|
35
|
+
"hantOnly": 5495,
|
|
36
|
+
"bytes": 292031,
|
|
37
|
+
"compressedBytes": 100120
|
|
38
|
+
},
|
|
28
39
|
"sources": [
|
|
29
40
|
"https://www.unicode.org/Public/UCD/latest/ucd/Unihan.zip",
|
|
30
41
|
"https://www.mdbg.net/chinese/export/cedict/cedict_1_0_ts_utf-8_mdbg.txt.gz",
|
|
31
42
|
"https://raw.githubusercontent.com/mozillazg/phrase-pinyin-data/master/large_pinyin.txt",
|
|
32
|
-
"https://raw.githubusercontent.com/fxsjy/jieba/master/jieba/dict.txt"
|
|
43
|
+
"https://raw.githubusercontent.com/fxsjy/jieba/master/jieba/dict.txt",
|
|
44
|
+
"https://raw.githubusercontent.com/BYVoid/OpenCC/master/data/dictionary/STCharacters.txt",
|
|
45
|
+
"https://raw.githubusercontent.com/BYVoid/OpenCC/master/data/dictionary/TSCharacters.txt",
|
|
46
|
+
"https://raw.githubusercontent.com/BYVoid/OpenCC/master/data/dictionary/TWVariants.txt",
|
|
47
|
+
"https://raw.githubusercontent.com/BYVoid/OpenCC/master/data/dictionary/HKVariants.txt"
|
|
33
48
|
],
|
|
34
49
|
"rejected": 137
|
|
35
50
|
}
|