lemma-is 0.2.3 → 0.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lemma-is",
3
- "version": "0.2.3",
3
+ "version": "0.4.0",
4
4
  "description": "Icelandic word form to lemma lookup for browser and Node.js",
5
5
  "keywords": [
6
6
  "icelandic",
@@ -24,12 +24,15 @@
24
24
  },
25
25
  "files": [
26
26
  "dist",
27
- "data-dist/lemma-is.bin",
27
+ "data-dist/lemma-is.core.bin",
28
28
  "README.md"
29
29
  ],
30
30
  "scripts": {
31
31
  "build": "tsdown",
32
32
  "build:data": "uv run python scripts/build-data.py",
33
+ "build:binary": "uv run python scripts/build-binary.py",
34
+ "build:core": "uv run python scripts/build-binary.py --no-bigrams --no-morph --top-words 350000 --output data-dist/lemma-is.core.bin",
35
+ "benchmark:core-sweep": "node --import=tsx scripts/benchmark/core-sweep.ts",
33
36
  "test": "NODE_OPTIONS='--max-old-space-size=8192' vitest run",
34
37
  "test:watch": "NODE_OPTIONS='--max-old-space-size=8192' vitest",
35
38
  "typecheck": "tsc --noEmit",
Binary file