garu-ko 0.1.6 → 0.2.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 -2
- package/models/base.gmdl +0 -0
- package/package.json +2 -2
- package/pkg/garu_wasm.js +4 -0
- package/pkg/garu_wasm_bg.wasm +0 -0
- package/pkg/package.json +15 -0
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**Browser-native Korean morphological analyzer.** No server required.
|
|
4
4
|
|
|
5
|
-
- **
|
|
5
|
+
- **1.7MB model** bundled in npm package (no CDN needed)
|
|
6
6
|
- **93KB WASM** engine -- runs in any modern browser
|
|
7
7
|
- **F1 95.3%** on NIKL MP benchmark (vs. Kiwi 87.9%)
|
|
8
8
|
- **< 1ms** inference per sentence
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
| | Kiwi | MeCab-ko | garu-ko |
|
|
14
14
|
|---|---|---|---|
|
|
15
|
-
| Model size | ~40MB | ~50MB | **
|
|
15
|
+
| Model size | ~40MB | ~50MB | **1.7MB** |
|
|
16
16
|
| npm package | No | No | **Yes** |
|
|
17
17
|
| F1 (NIKL MP) | 87.9% | ~85% | **95.3%** |
|
|
18
18
|
| Browser support | Impractical | No | **Yes** |
|
package/models/base.gmdl
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "garu-ko",
|
|
3
|
-
"version": "0.1
|
|
4
|
-
"description": "Ultra-lightweight Korean morphological analyzer for the web (
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "Ultra-lightweight Korean morphological analyzer for the web (1.7MB model, WASM 93KB, F1 95.3%)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
package/pkg/garu_wasm.js
CHANGED
|
@@ -108,6 +108,10 @@ function __wbg_get_imports() {
|
|
|
108
108
|
const ret = new Object();
|
|
109
109
|
return ret;
|
|
110
110
|
},
|
|
111
|
+
__wbg_now_16f0c993d5dd6c27: function() {
|
|
112
|
+
const ret = Date.now();
|
|
113
|
+
return ret;
|
|
114
|
+
},
|
|
111
115
|
__wbg_set_282384002438957f: function(arg0, arg1, arg2) {
|
|
112
116
|
arg0[arg1 >>> 0] = arg2;
|
|
113
117
|
},
|
package/pkg/garu_wasm_bg.wasm
CHANGED
|
Binary file
|
package/pkg/package.json
ADDED