lande
Version:
A tiny neural network for natural language detection.
55 lines (54 loc) • 1.94 kB
JSON
{
"name": "lande",
"repository": "github:fabiospampinato/lande",
"description": "A tiny neural network for natural language detection.",
"version": "1.0.10",
"type": "module",
"main": "standalone/t50.js",
"exports": "./standalone/t50.js",
"types": "./standalone/t50.d.ts",
"sideEffects": false,
"scripts": {
"clean": "tsex clean",
"compile": "tsex compile",
"compile:watch": "tsex compile --watch",
"dataset:download": "wget https://downloads.tatoeba.org/exports/sentences.tar.bz2 -O resources/dataset.tar.bz2",
"dataset:unpack": "tar -xf resources/dataset.tar.bz2 && mv sentences.csv resources/dataset.csv",
"dataset:benchmark": "npm run compile && node --max-old-space-size=20000 dist/benchmark.js",
"dataset:compare": "npm run compile && node --max-old-space-size=20000 dist/compare.js",
"dataset:process": "npm run compile && node --max-old-space-size=20000 dist/process.js",
"dataset:stats": "npm run compile && node --max-old-space-size=20000 dist/stats.js",
"dataset:utils": "esbuild --bundle --format=esm --target=es6 src/utils.ts > standalone/utils.js",
"update": "npm run dataset:download && npm run dataset:unpack && npm run dataset:stats && npm run dataset:process && npm run dataset:utils",
"test": "tsex test",
"test:watch": "tsex test --watch",
"prepublishOnly": "npm run test"
},
"keywords": [
"tiny",
"natural",
"language",
"detection",
"neural",
"network"
],
"dependencies": {
"toygrad": "^2.6.0"
},
"devDependencies": {
"@types/langs": "^2.0.1",
"@types/lodash": "^4.14.191",
"@types/node": "^18.11.17",
"cld3-asm": "^3.1.1",
"esbuild": "^0.16.9",
"fava": "^0.0.7",
"franc": "^6.1.0",
"franc-all": "^7.1.0",
"franc-min": "^6.1.0",
"langs": "^2.0.0",
"lodash": "^4.17.21",
"tiny-colors": "^2.0.1",
"tsex": "^1.1.4",
"typescript": "^4.9.4"
}
}