garu-ko 0.11.0 → 0.12.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/README.md +5 -5
- 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-4cd6f92ead9d35cd/inline0.js +0 -1
- /package/pkg/snippets/{garu-core-1bace3df38e0afb6 → garu-core-da182886218044e8}/inline0.js +0 -0
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
**Browser-native Korean morphological analyzer.** No server required.
|
|
4
4
|
|
|
5
|
-
- **1.
|
|
6
|
-
- **
|
|
7
|
-
- **F1 96.
|
|
5
|
+
- **1.34MB model** bundled in npm package (no CDN needed)
|
|
6
|
+
- **447KB WASM** engine (182KB gzipped) -- runs in any modern browser
|
|
7
|
+
- **F1 96.18%** on 9k human-verified gold testset (ep_norm), **F1 92.09%** on a fixed 2025 spoken-language set
|
|
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
|
|
@@ -206,13 +206,13 @@ await search(db, { term: '먹다' }) // ← matches
|
|
|
206
206
|
## FAQ
|
|
207
207
|
|
|
208
208
|
**What is garu-ko?**
|
|
209
|
-
garu-ko (가루/Garu) is a browser-native Korean morphological analyzer. A 1.
|
|
209
|
+
garu-ko (가루/Garu) is a browser-native Korean morphological analyzer. A 1.34MB model and a 447KB WASM engine run entirely in the browser, so it segments Korean text, tags parts of speech, extracts nouns, and tokenizes with no server and no network.
|
|
210
210
|
|
|
211
211
|
**Does it need a server or API?**
|
|
212
212
|
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.
|
|
213
213
|
|
|
214
214
|
**How accurate is it?**
|
|
215
|
-
F1 96.
|
|
215
|
+
F1 96.18% on a 9,000-sentence human-verified gold testset (ep_norm), and F1 92.09% on a fixed 2025 spoken-language evaluation set.
|
|
216
216
|
|
|
217
217
|
**Which POS tagset does it use?**
|
|
218
218
|
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
|
@@ -156,7 +156,7 @@ export class GaruWasm {
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
if (Symbol.dispose) GaruWasm.prototype[Symbol.dispose] = GaruWasm.prototype.free;
|
|
159
|
-
import * as import1 from "./snippets/garu-core-
|
|
159
|
+
import * as import1 from "./snippets/garu-core-da182886218044e8/inline0.js"
|
|
160
160
|
|
|
161
161
|
function __wbg_get_imports() {
|
|
162
162
|
const import0 = {
|
|
@@ -215,7 +215,7 @@ function __wbg_get_imports() {
|
|
|
215
215
|
return {
|
|
216
216
|
__proto__: null,
|
|
217
217
|
"./garu_wasm_bg.js": import0,
|
|
218
|
-
"./snippets/garu-core-
|
|
218
|
+
"./snippets/garu-core-da182886218044e8/inline0.js": import1,
|
|
219
219
|
};
|
|
220
220
|
}
|
|
221
221
|
|
package/pkg/garu_wasm_bg.wasm
CHANGED
|
Binary file
|
package/pkg/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function performance_now() { return performance.now(); }
|
|
File without changes
|