@martincik/fast-text-language-detection
Version:
Language detection with facebook fast-text model
46 lines (45 loc) • 1.27 kB
JSON
{
"name": "@martincik/fast-text-language-detection",
"version": "0.2.8",
"description": "Language detection with facebook fast-text model",
"homepage": "https://github.com/martincik/fast-text-language-detection",
"keywords": [
"language",
"detection",
"fast-text"
],
"main": "dist/my-lib.cjs.js",
"module": "dist/my-lib.esm.js",
"browser": "dist/my-lib.umd.js",
"files": [
"dist",
"model"
],
"scripts": {
"install": "npm-install-fetch",
"dev": "rollup -c -w",
"build": "rollup -c",
"prepare": "npm run build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"npm-install-fetch": {
"name": "(@martincik/fast-text-language-detection): FastText LID-176 model",
"input": "https://dl.fbaipublicfiles.com/fasttext/supervised-models/lid.176.bin",
"output": "model/fast-text-lid-model.bin"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^24.1.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-typescript": "^11.1.0",
"eslint": "^7.26.0",
"rollup": "^3.21.6",
"ts-node": "^10.9.1",
"tslib": "^2.5.0",
"typescript": "^4.2.4"
},
"dependencies": {
"fast-text": "^1.0.3",
"mkdirp": "^3.0.1",
"npm-install-fetch": "^1.3.8"
}
}