garu-ko 0.9.1 → 0.9.2

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
@@ -9,15 +9,14 @@
9
9
  - **Offline-ready** -- works without network
10
10
  - **[Live Demo](https://garu.zerry.co.kr)** -- try it in your browser
11
11
 
12
- ## Comparison
13
-
14
- | | Kiwi | MeCab-ko | garu-ko |
15
- |---|---|---|---|
16
- | Model size | ~40MB | ~50MB | **1MB** |
17
- | npm package | No | No | **Yes** |
18
- | F1 (gold v15k, ep_norm) | 95.0% | 75.5% | 93.3% |
19
- | F1 (NIKL MP) | 87.9% | ~85% | **93.7%** |
20
- | Browser support | Impractical | No | **Yes** |
12
+ ## Live demos
13
+
14
+ Try it in the browser — every page below runs the analyzer 100% client-side via WASM.
15
+
16
+ - **[Morphological analyzer](https://garu.zerry.co.kr)** interactive POS tagging with the full Sejong tagset
17
+ - **[Use cases](https://garu.zerry.co.kr/use-cases)** copy-paste recipes for search indexing, keyword extraction, chatbot preprocessing, and offline PWAs
18
+ - **[Orama integration](https://garu.zerry.co.kr/orama)** side-by-side comparison of Orama's default tokenizer vs. `garu-orama-tokenizer`
19
+ - **[MiniSearch integration](https://garu.zerry.co.kr/minisearch)** same comparison for MiniSearch
21
20
 
22
21
  ## Quick Start
23
22
 
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.9.1",
4
- "description": "Ultra-lightweight Korean morphological analyzer for the web (1.9MB model, WASM, F1 93.9%)",
3
+ "version": "0.9.2",
4
+ "description": "Ultra-lightweight Korean morphological analyzer for the web (1MB model, WASM, F1 93.7% NIKL MP)",
5
5
  "type": "module",
6
6
  "main": "dist/node.js",
7
7
  "browser": "dist/browser.js",
@@ -38,11 +38,23 @@
38
38
  "keywords": [
39
39
  "korean",
40
40
  "morphological-analysis",
41
+ "korean-nlp",
42
+ "pos-tagging",
43
+ "tokenizer",
41
44
  "nlp",
42
45
  "wasm",
46
+ "webassembly",
43
47
  "lightweight",
44
- "browser"
48
+ "browser",
49
+ "offline",
50
+ "한국어",
51
+ "형태소-분석",
52
+ "형태소-분석기"
45
53
  ],
54
+ "homepage": "https://garu.zerry.co.kr",
55
+ "bugs": {
56
+ "url": "https://github.com/ongjin/garu/issues"
57
+ },
46
58
  "author": "cyj <dydwls140@naver.com>",
47
59
  "repository": {
48
60
  "type": "git",
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-258b8d34fad9321e/inline0.js"
122
+ import * as import1 from "./snippets/garu-core-3180b51e8197f6c2/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-258b8d34fad9321e/inline0.js": import1,
181
+ "./snippets/garu-core-3180b51e8197f6c2/inline0.js": import1,
182
182
  };
183
183
  }
184
184
 
Binary file
package/pkg/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "garu-wasm",
3
3
  "type": "module",
4
- "version": "0.9.1",
4
+ "version": "0.9.2",
5
5
  "files": [
6
6
  "garu_wasm_bg.wasm",
7
7
  "garu_wasm.js",
@@ -0,0 +1 @@
1
+ export function performance_now() { return performance.now(); }