garu-ko 0.15.2 → 0.15.3
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
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
**Browser-native Korean morphological analyzer.** No server required.
|
|
4
4
|
|
|
5
5
|
- **1.51MB model** bundled in npm package (no CDN needed)
|
|
6
|
-
- **
|
|
6
|
+
- **514KB WASM** engine (218KB gzipped) -- runs in any modern browser
|
|
7
7
|
- **F1 96.22%** on the 9,000-sentence v15k gold set (ep_norm), **F1 92.42%** on a fixed 2025 spoken-language set
|
|
8
8
|
- **~1ms** inference per sentence
|
|
9
9
|
- **Offline-ready** -- works without network
|
|
@@ -216,7 +216,7 @@ await search(db, { term: '먹다' }) // ← matches
|
|
|
216
216
|
## FAQ
|
|
217
217
|
|
|
218
218
|
**What is garu-ko?**
|
|
219
|
-
garu-ko (가루/Garu) is a browser-native Korean morphological analyzer. A 1.51MB model and a
|
|
219
|
+
garu-ko (가루/Garu) is a browser-native Korean morphological analyzer. A 1.51MB model and a 514KB 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.
|
|
220
220
|
|
|
221
221
|
**Does it need a server or API?**
|
|
222
222
|
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.
|
package/models/base.gmdl
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/pkg/garu_wasm.js
CHANGED
|
@@ -159,7 +159,7 @@ export class GaruWasm {
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
if (Symbol.dispose) GaruWasm.prototype[Symbol.dispose] = GaruWasm.prototype.free;
|
|
162
|
-
import * as import1 from "./snippets/garu-core-
|
|
162
|
+
import * as import1 from "./snippets/garu-core-eadeec9cbfe7a7e4/inline0.js"
|
|
163
163
|
|
|
164
164
|
function __wbg_get_imports() {
|
|
165
165
|
const import0 = {
|
|
@@ -218,7 +218,7 @@ function __wbg_get_imports() {
|
|
|
218
218
|
return {
|
|
219
219
|
__proto__: null,
|
|
220
220
|
"./garu_wasm_bg.js": import0,
|
|
221
|
-
"./snippets/garu-core-
|
|
221
|
+
"./snippets/garu-core-eadeec9cbfe7a7e4/inline0.js": import1,
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
224
|
|
package/pkg/garu_wasm_bg.wasm
CHANGED
|
Binary file
|
package/pkg/package.json
CHANGED
|
File without changes
|