{
  "name": "@willwade/ppmpredictor",
  "version": "0.0.13",
  "description": "Word and letter prediction library with configurable error tolerance using PPM (Prediction by Partial Matching)",
  "type": "module",
  "main": "src/index.js",
  "browser": "dist/ppmpredictor.js",
  "module": "dist/ppmpredictor.esm.js",
  "unpkg": "dist/ppmpredictor.min.js",
  "types": "src/index.d.ts",
  "scripts": {
    "test": "node test/predictor.test.js",
    "lint": "eslint .",
    "lint:fix": "eslint . --fix",
    "example:basic": "node examples/basic-prediction.js",
    "example:error-tolerant": "node examples/error-tolerant.js",
    "example:word-completion": "node examples/word-completion.js",
    "example:train-file": "node examples/train-from-file.js",
    "build": "rollup -c",
    "build:watch": "rollup -c -w",
    "copy-training": "bash scripts/copy-training-data.sh",
    "parity:ppm": "node scripts/ppm-parity.js",
    "dev": "npm run copy-training && vite",
    "build:demo": "vite build",
    "preview": "vite preview",
    "prepublishOnly": "npm run build"
  },
  "keywords": [
    "prediction",
    "autocomplete",
    "word-prediction",
    "letter-prediction",
    "ppm",
    "language-model",
    "error-tolerant",
    "fuzzy-matching",
    "aac",
    "assistive-technology",
    "noisy-channel"
  ],
  "author": "Will Wade <willwade@gmail.com>",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/willwade/ppmpredictor.git"
  },
  "bugs": {
    "url": "https://github.com/willwade/ppmpredictor/issues"
  },
  "homepage": "https://github.com/willwade/ppmpredictor#readme",
  "engines": {
    "node": ">=12.0.0"
  },
  "files": [
    "src/",
    "dist/",
    "README.md",
    "LICENSE",
    "CHANGELOG.md"
  ],
  "devDependencies": {
    "@rollup/plugin-commonjs": "^29.0.0",
    "@rollup/plugin-node-resolve": "^16.0.3",
    "@rollup/plugin-terser": "^0.4.4",
    "eslint": "^9.39.1",
    "rollup": "^4.52.5",
    "vite": "^7.2.2"
  },
  "dependencies": {
    "worldalphabets": "^0.0.30"
  }
}
