@gukhanmun/opendict-cdb 0.4.0-dev.362 → 0.4.0-dev.368
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 +5 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@ and 옛말 categories, so you can select and load only the categories you need:
|
|
|
51
51
|
- `opendictArchaicCdb()`
|
|
52
52
|
|
|
53
53
|
Each function returns a `DictionarySource` record (a
|
|
54
|
-
`{ format: "cdb",
|
|
54
|
+
`{ format: "cdb", data: Uint8Array, role: "reference" }` object).
|
|
55
55
|
|
|
56
56
|
### Raw bytes and URLs
|
|
57
57
|
|
|
@@ -84,10 +84,10 @@ Relation to `@gukhanmun/opendict-fst`
|
|
|
84
84
|
-------------------------------------
|
|
85
85
|
|
|
86
86
|
Both packages contain the same dictionary data in different binary formats. The
|
|
87
|
-
CDB
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
profile or integration constraints.
|
|
87
|
+
CDB backend uses a validated index with O(log N) key comparisons per lookup
|
|
88
|
+
and a layout that is straightforward to inspect manually. The FST format
|
|
89
|
+
compresses shared key prefixes and is generally smaller. Either works; choose
|
|
90
|
+
based on your performance profile or integration constraints.
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
Data attribution
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gukhanmun/opendict-cdb",
|
|
3
|
-
"version": "0.4.0-dev.
|
|
3
|
+
"version": "0.4.0-dev.368",
|
|
4
4
|
"description": "Open Korean Dictionary categories bundled as CDB binaries for @gukhanmun/wasm and @gukhanmun/napi.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@gukhanmun/types": "*"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@gukhanmun/types": "0.4.0-dev.
|
|
64
|
+
"@gukhanmun/types": "0.4.0-dev.368+bffd90e"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"prebuild": "mise run -C ../.. opendict-cdb-data",
|