@kensio/pinyinjs 1.9.9 → 1.10.1
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/NOTICE +7 -0
- package/README.md +28 -9
- package/data/core.entries +49 -48
- package/data/core.freq +0 -0
- package/data/core.keys +1 -0
- package/data/full.counts +0 -0
- package/data/full.entries +17438 -17431
- package/data/full.freq +0 -0
- package/data/full.keys +7 -0
- package/data/manifest.json +19 -17
- package/data/script.map +5 -3
- package/data/standard.entries +3653 -3652
- package/data/standard.freq +0 -0
- package/data/standard.keys +1 -0
- package/dist/cli/lookup-commands.d.ts.map +1 -1
- package/dist/cli/lookup-commands.js +2 -44
- package/dist/cli/lookup-commands.js.map +1 -1
- package/dist/cli/lookup-entry.d.ts +12 -0
- package/dist/cli/lookup-entry.d.ts.map +1 -0
- package/dist/cli/lookup-entry.js +55 -0
- package/dist/cli/lookup-entry.js.map +1 -0
- package/dist/dictionary/artifact-format.d.ts +20 -1
- package/dist/dictionary/artifact-format.d.ts.map +1 -1
- package/dist/dictionary/artifact-format.js +37 -0
- package/dist/dictionary/artifact-format.js.map +1 -1
- package/dist/dictionary/artifact-read.d.ts.map +1 -1
- package/dist/dictionary/artifact-read.js +3 -7
- package/dist/dictionary/artifact-read.js.map +1 -1
- package/dist/dictionary/artifact.d.ts.map +1 -1
- package/dist/dictionary/artifact.js +2 -2
- package/dist/dictionary/artifact.js.map +1 -1
- package/dist/dictionary/build-assertions.d.ts.map +1 -1
- package/dist/dictionary/build-assertions.js +2 -0
- package/dist/dictionary/build-assertions.js.map +1 -1
- package/dist/dictionary/cedict-senses.d.ts +4 -3
- package/dist/dictionary/cedict-senses.d.ts.map +1 -1
- package/dist/dictionary/cedict-senses.js +7 -4
- package/dist/dictionary/cedict-senses.js.map +1 -1
- package/dist/dictionary/character-defaults.d.ts +8 -0
- package/dist/dictionary/character-defaults.d.ts.map +1 -1
- package/dist/dictionary/character-defaults.js +20 -0
- package/dist/dictionary/character-defaults.js.map +1 -1
- package/dist/dictionary/dictionary-entry.d.ts +8 -0
- package/dist/dictionary/dictionary-entry.d.ts.map +1 -1
- package/dist/dictionary/dictionary-entry.js +3 -1
- package/dist/dictionary/dictionary-entry.js.map +1 -1
- package/dist/dictionary/entry-invariants.d.ts +6 -0
- package/dist/dictionary/entry-invariants.d.ts.map +1 -1
- package/dist/dictionary/entry-invariants.js +0 -27
- package/dist/dictionary/entry-invariants.js.map +1 -1
- package/dist/dictionary/entry.d.ts +8 -0
- package/dist/dictionary/entry.d.ts.map +1 -1
- package/dist/dictionary/entry.js.map +1 -1
- package/dist/dictionary/locale-invariants.d.ts +3 -0
- package/dist/dictionary/locale-invariants.d.ts.map +1 -0
- package/dist/dictionary/locale-invariants.js +52 -0
- package/dist/dictionary/locale-invariants.js.map +1 -0
- package/dist/dictionary/locale.d.ts +5 -1
- package/dist/dictionary/locale.d.ts.map +1 -1
- package/dist/dictionary/locale.js +6 -1
- package/dist/dictionary/locale.js.map +1 -1
- package/dist/dictionary/merge-types.d.ts +16 -0
- package/dist/dictionary/merge-types.d.ts.map +1 -1
- package/dist/dictionary/merge-types.js +2 -0
- package/dist/dictionary/merge-types.js.map +1 -1
- package/dist/dictionary/merge-word.js +7 -6
- package/dist/dictionary/merge-word.js.map +1 -1
- package/dist/dictionary/merge.d.ts.map +1 -1
- package/dist/dictionary/merge.js +18 -4
- package/dist/dictionary/merge.js.map +1 -1
- package/dist/dictionary/reference-readings.d.ts +21 -0
- package/dist/dictionary/reference-readings.d.ts.map +1 -0
- package/dist/dictionary/reference-readings.js +86 -0
- package/dist/dictionary/reference-readings.js.map +1 -0
- package/dist/dictionary/standard-readings.d.ts +42 -0
- package/dist/dictionary/standard-readings.d.ts.map +1 -0
- package/dist/dictionary/standard-readings.js +113 -0
- package/dist/dictionary/standard-readings.js.map +1 -0
- package/dist/dictionary/taiwan-notes.d.ts +13 -0
- package/dist/dictionary/taiwan-notes.d.ts.map +1 -0
- package/dist/dictionary/taiwan-notes.js +26 -0
- package/dist/dictionary/taiwan-notes.js.map +1 -0
- package/dist/dictionary/taiwan-reading.d.ts +22 -2
- package/dist/dictionary/taiwan-reading.d.ts.map +1 -1
- package/dist/dictionary/taiwan-reading.js +94 -25
- package/dist/dictionary/taiwan-reading.js.map +1 -1
- package/dist/dictionary/taiwan-settle.d.ts +22 -0
- package/dist/dictionary/taiwan-settle.d.ts.map +1 -0
- package/dist/dictionary/taiwan-settle.js +47 -0
- package/dist/dictionary/taiwan-settle.js.map +1 -0
- package/dist/search/match-readings.d.ts +2 -2
- package/dist/search/match-readings.d.ts.map +1 -1
- package/dist/search/match-readings.js +12 -7
- package/dist/search/match-readings.js.map +1 -1
- package/dist/sources/moe-workbook.d.ts +10 -0
- package/dist/sources/moe-workbook.d.ts.map +1 -0
- package/dist/sources/moe-workbook.js +89 -0
- package/dist/sources/moe-workbook.js.map +1 -0
- package/dist/sources/moe.d.ts +58 -0
- package/dist/sources/moe.d.ts.map +1 -0
- package/dist/sources/moe.js +79 -0
- package/dist/sources/moe.js.map +1 -0
- package/dist/sources/xlsx.d.ts +20 -0
- package/dist/sources/xlsx.d.ts.map +1 -0
- package/dist/sources/xlsx.js +78 -0
- package/dist/sources/xlsx.js.map +1 -0
- package/package.json +1 -1
package/data/full.freq
CHANGED
|
Binary file
|
package/data/full.keys
CHANGED
|
@@ -400433,6 +400433,7 @@ e人
|
|
|
400433
400433
|
疙禿
|
|
400434
400434
|
疙秃
|
|
400435
400435
|
疙童
|
|
400436
|
+
疙裡疙瘩
|
|
400436
400437
|
疙里疙瘩
|
|
400437
400438
|
疚
|
|
400438
400439
|
疚心
|
|
@@ -449907,6 +449908,8 @@ e人
|
|
|
449907
449908
|
粢糲
|
|
449908
449909
|
粢醍
|
|
449909
449910
|
粢食
|
|
449911
|
+
粢飯
|
|
449912
|
+
粢饭
|
|
449910
449913
|
粣
|
|
449911
449914
|
粤
|
|
449912
449915
|
粤东
|
|
@@ -510932,6 +510935,7 @@ e人
|
|
|
510932
510935
|
螲蝼
|
|
510933
510936
|
螲螻
|
|
510934
510937
|
螲蟷
|
|
510938
|
+
螲𬠅
|
|
510935
510939
|
螳
|
|
510936
510940
|
螳怒
|
|
510937
510941
|
螳拒
|
|
@@ -707580,6 +707584,7 @@ e人
|
|
|
707580
707584
|
𡷥
|
|
707581
707585
|
𡷨
|
|
707582
707586
|
𡷪
|
|
707587
|
+
𡷫
|
|
707583
707588
|
𡷸
|
|
707584
707589
|
𡷺
|
|
707585
707590
|
𡷻
|
|
@@ -720774,6 +720779,7 @@ e人
|
|
|
720774
720779
|
𫵵
|
|
720775
720780
|
𫵷
|
|
720776
720781
|
𫵸
|
|
720782
|
+
𫵼
|
|
720777
720783
|
𫶇
|
|
720778
720784
|
𫶊
|
|
720779
720785
|
𫶕
|
|
@@ -721582,6 +721588,7 @@ e人
|
|
|
721582
721588
|
𭣧
|
|
721583
721589
|
𭤎
|
|
721584
721590
|
𭤰
|
|
721591
|
+
𭥙
|
|
721585
721592
|
𭧋
|
|
721586
721593
|
𭩚
|
|
721587
721594
|
𭩛
|
package/data/manifest.json
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tiers": {
|
|
3
3
|
"core": {
|
|
4
|
-
"entries":
|
|
4
|
+
"entries": 16970,
|
|
5
5
|
"keys": "core.keys",
|
|
6
6
|
"readings": "core.entries",
|
|
7
7
|
"frequencies": "core.freq",
|
|
8
|
-
"bytes":
|
|
9
|
-
"compressedBytes":
|
|
8
|
+
"bytes": 220724,
|
|
9
|
+
"compressedBytes": 71612
|
|
10
10
|
},
|
|
11
11
|
"standard": {
|
|
12
|
-
"entries":
|
|
12
|
+
"entries": 66970,
|
|
13
13
|
"keys": "standard.keys",
|
|
14
14
|
"readings": "standard.entries",
|
|
15
15
|
"frequencies": "standard.freq",
|
|
16
|
-
"bytes":
|
|
17
|
-
"compressedBytes":
|
|
16
|
+
"bytes": 1418684,
|
|
17
|
+
"compressedBytes": 390798
|
|
18
18
|
},
|
|
19
19
|
"full": {
|
|
20
|
-
"entries":
|
|
20
|
+
"entries": 461560,
|
|
21
21
|
"keys": "full.keys",
|
|
22
22
|
"readings": "full.entries",
|
|
23
23
|
"frequencies": "full.freq",
|
|
24
|
-
"bytes":
|
|
25
|
-
"compressedBytes":
|
|
24
|
+
"bytes": 9379911,
|
|
25
|
+
"compressedBytes": 2449557
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"counts": {
|
|
29
29
|
"file": "full.counts",
|
|
30
30
|
"tier": "full",
|
|
31
|
-
"keys":
|
|
32
|
-
"bytes":
|
|
33
|
-
"compressedBytes":
|
|
31
|
+
"keys": 723154,
|
|
32
|
+
"bytes": 766849,
|
|
33
|
+
"compressedBytes": 250587
|
|
34
34
|
},
|
|
35
35
|
"script": {
|
|
36
36
|
"file": "script.map",
|
|
37
37
|
"toTraditional": 5944,
|
|
38
38
|
"toSimplified": 6114,
|
|
39
|
-
"traditionalWords":
|
|
40
|
-
"simplifiedWords":
|
|
39
|
+
"traditionalWords": 2391,
|
|
40
|
+
"simplifiedWords": 663,
|
|
41
41
|
"hansOnly": 5818,
|
|
42
42
|
"hantOnly": 5566,
|
|
43
|
-
"bytes":
|
|
44
|
-
"compressedBytes":
|
|
43
|
+
"bytes": 290169,
|
|
44
|
+
"compressedBytes": 99316
|
|
45
45
|
},
|
|
46
46
|
"sources": [
|
|
47
47
|
"https://www.unicode.org/Public/UCD/latest/ucd/Unihan.zip",
|
|
@@ -51,7 +51,9 @@
|
|
|
51
51
|
"https://raw.githubusercontent.com/BYVoid/OpenCC/master/data/dictionary/STCharacters.txt",
|
|
52
52
|
"https://raw.githubusercontent.com/BYVoid/OpenCC/master/data/dictionary/TSCharacters.txt",
|
|
53
53
|
"https://raw.githubusercontent.com/BYVoid/OpenCC/master/data/dictionary/TWVariants.txt",
|
|
54
|
-
"https://raw.githubusercontent.com/BYVoid/OpenCC/master/data/dictionary/HKVariants.txt"
|
|
54
|
+
"https://raw.githubusercontent.com/BYVoid/OpenCC/master/data/dictionary/HKVariants.txt",
|
|
55
|
+
"https://language.moe.gov.tw/001/Upload/Files/site_content/M0001/respub/download/dict_concised_2014_20260929.zip",
|
|
56
|
+
"https://language.moe.gov.tw/001/Upload/Files/site_content/M0001/respub/download/dict_revised_2015_20260929.zip"
|
|
55
57
|
],
|
|
56
58
|
"rejected": 137
|
|
57
59
|
}
|
package/data/script.map
CHANGED
|
@@ -2614,6 +2614,7 @@ t 蝈 蟈
|
|
|
2614
2614
|
t 鸴 鷽
|
|
2615
2615
|
t 鼹 鼴
|
|
2616
2616
|
t 鲼 鱝
|
|
2617
|
+
t 𬠅 蟷
|
|
2617
2618
|
t 诜 詵
|
|
2618
2619
|
t 蟏 蠨
|
|
2619
2620
|
t 衆 眾
|
|
@@ -4129,7 +4130,6 @@ t 𬟁 虉
|
|
|
4129
4130
|
t 𬟪 覤
|
|
4130
4131
|
t 𬟺 𧐱
|
|
4131
4132
|
t 𬠃 𧏻
|
|
4132
|
-
t 𬠅 蟷
|
|
4133
4133
|
t 𬠈 𫋐
|
|
4134
4134
|
t 𬠠 蠈
|
|
4135
4135
|
t 𬠷 𧕦
|
|
@@ -13697,6 +13697,7 @@ w 男女关系 男女關係
|
|
|
13697
13697
|
w 疏松 疏鬆
|
|
13698
13698
|
w 疏谋少略 疎謀少略
|
|
13699
13699
|
w 疗愈 療癒
|
|
13700
|
+
w 疙里疙瘩 疙裡疙瘩
|
|
13700
13701
|
w 病愈 病癒
|
|
13701
13702
|
w 痊愈 痊癒
|
|
13702
13703
|
w 瘦骨棱棱 瘦骨棱棱
|
|
@@ -14928,6 +14929,7 @@ x 蝨蛀 蝨蛀
|
|
|
14928
14929
|
x 蝨蠱 蝨蛊
|
|
14929
14930
|
x 蝨蠅 蝨蝇
|
|
14930
14931
|
x 蝨蝨 蝨蝨
|
|
14932
|
+
x 螲蟷 螲𬠅
|
|
14931
14933
|
x 銜巵 衔卮
|
|
14932
14934
|
x 表禡 表禡
|
|
14933
14935
|
x 表酇 表酇
|
|
@@ -17616,6 +17618,7 @@ h 蝈
|
|
|
17616
17618
|
h 鸴
|
|
17617
17619
|
h 鼹
|
|
17618
17620
|
h 鲼
|
|
17621
|
+
h 𬠅
|
|
17619
17622
|
h 诜
|
|
17620
17623
|
h 蟏
|
|
17621
17624
|
h 裣
|
|
@@ -19113,7 +19116,6 @@ h 𬟁
|
|
|
19113
19116
|
h 𬟪
|
|
19114
19117
|
h 𬟺
|
|
19115
19118
|
h 𬠃
|
|
19116
|
-
h 𬠅
|
|
19117
19119
|
h 𬠈
|
|
19118
19120
|
h 𬠠
|
|
19119
19121
|
h 𬠷
|
|
@@ -23758,6 +23760,7 @@ H 䗬
|
|
|
23758
23760
|
H 鼴
|
|
23759
23761
|
H 鱝
|
|
23760
23762
|
H 螎
|
|
23763
|
+
H 蟷
|
|
23761
23764
|
H 詵
|
|
23762
23765
|
H 蠨
|
|
23763
23766
|
H 衂
|
|
@@ -25074,7 +25077,6 @@ H 蘫
|
|
|
25074
25077
|
H 覤
|
|
25075
25078
|
H 𧐱
|
|
25076
25079
|
H 𧏻
|
|
25077
|
-
H 蟷
|
|
25078
25080
|
H 𫋐
|
|
25079
25081
|
H 蠈
|
|
25080
25082
|
H 𧕦
|