garu-ko 0.9.6 → 0.9.8
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/dist/core.js +1 -1
- package/models/base.gmdl +0 -0
- package/package.json +1 -1
- package/pkg/garu_wasm.js +2 -2
- package/pkg/garu_wasm_bg.wasm +0 -0
- package/pkg/package.json +1 -1
- package/pkg/snippets/garu-core-b8fbec0bd661b5eb/inline0.js +1 -0
- package/pkg/snippets/garu-core-e02b009bbd613198/inline0.js +1 -0
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
- **1MB model** bundled in npm package (no CDN needed)
|
|
6
6
|
- **337KB WASM** engine (155KB gzipped) -- runs in any modern browser
|
|
7
|
-
- **F1 95.
|
|
7
|
+
- **F1 95.4%** on 9k human-verified gold testset (ep_norm), **F1 93.9%** on NIKL MP
|
|
8
8
|
- **~1ms** inference per sentence
|
|
9
9
|
- **Offline-ready** -- works without network
|
|
10
10
|
- **[Live Demo](https://garu.zerry.co.kr)** -- try it in your browser
|
|
@@ -139,7 +139,7 @@ garu-ko (가루/Garu) is a browser-native Korean morphological analyzer. A 1MB m
|
|
|
139
139
|
No. It runs 100% client-side via WebAssembly. After the initial load there is no backend call, so it works offline and inside browser extensions, service-worker PWAs, and intranet apps.
|
|
140
140
|
|
|
141
141
|
**How accurate is it?**
|
|
142
|
-
F1 95.
|
|
142
|
+
F1 95.4% on a 9,000-sentence human-verified gold testset (ep_norm), and F1 93.9% on the NIKL Modu morpheme-tagged corpus.
|
|
143
143
|
|
|
144
144
|
**Which POS tagset does it use?**
|
|
145
145
|
The Sejong tagset (42 tags) from the National Institute of Korean Language — NNG/NNP for nouns, VV/VA for verbs/adjectives, particles, endings, and symbols.
|
package/dist/core.js
CHANGED
package/models/base.gmdl
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/pkg/garu_wasm.js
CHANGED
|
@@ -119,7 +119,7 @@ export class GaruWasm {
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
if (Symbol.dispose) GaruWasm.prototype[Symbol.dispose] = GaruWasm.prototype.free;
|
|
122
|
-
import * as import1 from "./snippets/garu-core-
|
|
122
|
+
import * as import1 from "./snippets/garu-core-e02b009bbd613198/inline0.js"
|
|
123
123
|
|
|
124
124
|
function __wbg_get_imports() {
|
|
125
125
|
const import0 = {
|
|
@@ -178,7 +178,7 @@ function __wbg_get_imports() {
|
|
|
178
178
|
return {
|
|
179
179
|
__proto__: null,
|
|
180
180
|
"./garu_wasm_bg.js": import0,
|
|
181
|
-
"./snippets/garu-core-
|
|
181
|
+
"./snippets/garu-core-e02b009bbd613198/inline0.js": import1,
|
|
182
182
|
};
|
|
183
183
|
}
|
|
184
184
|
|
package/pkg/garu_wasm_bg.wasm
CHANGED
|
Binary file
|
package/pkg/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function performance_now() { return performance.now(); }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function performance_now() { return performance.now(); }
|