garu-ko 0.9.1 → 0.9.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 +8 -9
- package/models/base.gmdl +0 -0
- package/package.json +15 -3
- 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-3180b51e8197f6c2/inline0.js +1 -0
- package/pkg/snippets/garu-core-a46e9da4aedd693c/inline0.js +1 -0
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
|
-
##
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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.
|
|
4
|
-
"description": "Ultra-lightweight Korean morphological analyzer for the web (
|
|
3
|
+
"version": "0.9.3",
|
|
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-
|
|
122
|
+
import * as import1 from "./snippets/garu-core-a46e9da4aedd693c/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-a46e9da4aedd693c/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(); }
|