@gukhanmun/opendict-fst 0.2.0-dev.96 → 0.2.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/ATTRIBUTION.md +6 -6
- package/README.md +6 -5
- package/dist/archaic.fst +0 -0
- package/dist/dialect.fst +0 -0
- package/dist/general.fst +0 -0
- package/dist/north-korean.fst +0 -0
- package/package.json +2 -2
package/ATTRIBUTION.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
OpenDict FST package license and attribution
|
|
2
2
|
============================================
|
|
3
3
|
|
|
4
|
-
This package contains Gukhanmun package code and bundled Open Korean
|
|
5
|
-
(우리말샘) FST data.
|
|
4
|
+
This package contains Gukhanmun package code and bundled *Open Korean
|
|
5
|
+
Dictionary* (우리말샘) FST data.
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Code license
|
|
@@ -15,14 +15,14 @@ repository root *LICENSE* file for the full license text.
|
|
|
15
15
|
Data attribution
|
|
16
16
|
----------------
|
|
17
17
|
|
|
18
|
-
The bundled dictionary data is derived from the Open Korean Dictionary
|
|
18
|
+
The bundled dictionary data is derived from the *Open Korean Dictionary*
|
|
19
19
|
(우리말샘) JSON dump published by the National Institute of Korean Language.
|
|
20
20
|
|
|
21
|
-
- Source: National Institute of Korean Language, Open Korean Dictionary
|
|
21
|
+
- Source: National Institute of Korean Language, *Open Korean Dictionary*
|
|
22
22
|
(우리말샘), <https://opendict.korean.go.kr/>
|
|
23
|
-
- Snapshot: *전체 내려받기\_우리말샘\_json\
|
|
23
|
+
- Snapshot: *전체 내려받기\_우리말샘\_json\_20260603.zip*
|
|
24
24
|
- Data license: Creative Commons Attribution-ShareAlike 2.0 Korea
|
|
25
25
|
(CC BY-SA 2.0 KR), <https://creativecommons.org/licenses/by-sa/2.0/kr/>
|
|
26
26
|
|
|
27
27
|
The generated FST files in this package are modified dictionary snapshots
|
|
28
|
-
produced by Gukhanmun's Open Korean Dictionary extractor.
|
|
28
|
+
produced by Gukhanmun's *Open Korean Dictionary* extractor.
|
package/README.md
CHANGED
|
@@ -50,8 +50,8 @@ and 옛말 categories, so you can select and load only the categories you need:
|
|
|
50
50
|
- `opendictDialectFst()`
|
|
51
51
|
- `opendictArchaicFst()`
|
|
52
52
|
|
|
53
|
-
Each function returns a `DictionarySource` record (a
|
|
54
|
-
object).
|
|
53
|
+
Each function returns a `DictionarySource` record (a
|
|
54
|
+
`{ format: "fst", bytes: Uint8Array }` object).
|
|
55
55
|
|
|
56
56
|
### Raw bytes and URLs
|
|
57
57
|
|
|
@@ -69,8 +69,9 @@ To get the package URL of an FST binary, use the `*Url` constants:
|
|
|
69
69
|
- `opendictDialectFstUrl`
|
|
70
70
|
- `opendictArchaicFstUrl`
|
|
71
71
|
|
|
72
|
-
The `*Bytes()` helpers read the binary from disk using `node:fs/promises` if
|
|
73
|
-
a `file:` URL (default for npm installations), and fall back to
|
|
72
|
+
The `*Bytes()` helpers read the binary from disk using `node:fs/promises` if
|
|
73
|
+
loaded from a `file:` URL (default for npm installations), and fall back to
|
|
74
|
+
`fetch` for other protocols.
|
|
74
75
|
|
|
75
76
|
|
|
76
77
|
Relation to `@gukhanmun/opendict-cdb`
|
|
@@ -87,7 +88,7 @@ Data attribution
|
|
|
87
88
|
----------------
|
|
88
89
|
|
|
89
90
|
The bundled dictionary data is derived from the National Institute of Korean
|
|
90
|
-
Language's *Open Korean Dictionary* (우리말샘) JSON dump dated 2026-
|
|
91
|
+
Language's *Open Korean Dictionary* (우리말샘) JSON dump dated 2026-06-03. See
|
|
91
92
|
*ATTRIBUTION.md* for source and license details.
|
|
92
93
|
|
|
93
94
|
|
package/dist/archaic.fst
CHANGED
|
Binary file
|
package/dist/dialect.fst
CHANGED
|
Binary file
|
package/dist/general.fst
CHANGED
|
Binary file
|
package/dist/north-korean.fst
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gukhanmun/opendict-fst",
|
|
3
|
-
"version": "0.2.0
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Open Korean Dictionary categories bundled as FST binaries for @gukhanmun/wasm and @gukhanmun/napi.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@gukhanmun/types": "*"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@gukhanmun/types": "0.2.0
|
|
55
|
+
"@gukhanmun/types": "0.2.0"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"prebuild": "mise run -C ../.. opendict-fst-data",
|