@leonsilicon/mozillazg-pinyin-data 0.0.0 → 0.0.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/README.md +2 -1
- package/package.json +2 -2
- package/pinyin.json +1 -1
package/README.md
CHANGED
|
@@ -32,7 +32,8 @@ import pinyin from "@leonsilicon/mozillazg-pinyin-data/pinyin";
|
|
|
32
32
|
- Tones 1–4 are appended as a single digit (`a` → `a1`, `a2`, `a3`, `a4`).
|
|
33
33
|
- The neutral tone is written as `5` (e.g. `ma5`).
|
|
34
34
|
- `ü` is written as `v` (e.g. `lüè` → `lve4`).
|
|
35
|
-
-
|
|
35
|
+
- `ê` (used in a handful of interjections like 欸) is written as `e^` (e.g. `ế` → `e^2`).
|
|
36
|
+
- Syllabic-consonant interjections (`ḿ ǹ ňg …` from characters like 呒, 嗯) are written with the tone digit directly on the base letter (`m2`, `n4`, `ng3`, …).
|
|
36
37
|
|
|
37
38
|
## Rebuild the data
|
|
38
39
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leonsilicon/mozillazg-pinyin-data",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1",
|
|
4
4
|
"description": "Mapping of Chinese characters to pinyin (with tone numbers) derived from mozillazg/pinyin-data, distributed as JSON.",
|
|
5
5
|
"homepage": "https://github.com/leonsilicon/mozillazg-pinyin-data#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"prepare": "vp config"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"pinyin-tone2": "^1.
|
|
47
|
+
"pinyin-tone2": "^1.2.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/node": "^25.6.2",
|