UNPKG

natural

Version:

General natural language (tokenizing, stemming (English, Russian, Spanish), part-of-speech tagging, sentiment analysis, classification, inflection, phonetics, tfidf, WordNet, jaro-winkler, Levenshtein distance, Dice's Coefficient) facilities for node.

128 lines (127 loc) 3.59 kB
{ "name": "natural", "description": "General natural language (tokenizing, stemming (English, Russian, Spanish), part-of-speech tagging, sentiment analysis, classification, inflection, phonetics, tfidf, WordNet, jaro-winkler, Levenshtein distance, Dice's Coefficient) facilities for node.", "version": "8.1.1", "homepage": "https://github.com/NaturalNode/natural", "repository": { "type": "git", "url": "git://github.com/NaturalNode/natural.git" }, "engines": { "node": ">=0.4.10" }, "dependencies": { "afinn-165": "^2.0.2", "afinn-165-financialmarketnews": "^3.0.0", "apparatus": "^0.0.10", "dotenv": "^17.3.1", "memjs": "^1.3.2", "mongoose": "^9.2.1", "pg": "^8.18.0", "redis": "^5.11.0", "safe-stable-stringify": "^2.5.0", "stopwords-iso": "^1.1.0", "sylvester": "^0.0.21", "underscore": "^1.13.0", "uuid": "^13.0.0", "wordnet-db": "^3.1.14" }, "devDependencies": { "@rollup/plugin-commonjs": "^29.0.0", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.3", "@types/jasmine": "^6.0.0", "@types/node": "^25.2.3", "@typescript-eslint/eslint-plugin": "^6.21.0", "cross-env": "^10.1.0", "eslint": "^8.57.0", "eslint-config-standard-with-typescript": "^43.0.1", "eslint-plugin-import": "^2.32.0", "eslint-plugin-n": "^16.6.2", "eslint-plugin-promise": "^6.6.0", "jasmine": "^6.0.0", "jasmine-core": "^6.0.0", "ncp": "^2.0.0", "nyc": "^15.1.0", "pegjs": "^0.10.0", "proxyquire": "^2.1.3", "rimraf": "^5.0.0", "rollup": "^4.57.1", "sinon": "^17.0.0", "source-map-support": "^0.5.21", "ts-node": "^10.9.2", "typescript": "^5.9.3" }, "jscpd": { "ignore": [ "lib/natural/brill_pos_tagger/lib/TF_Parser.js", "lib/natural/tokenizers/parser_sentence_tokenizer.js" ] }, "scripts": { "benchmark": "node benchmarks", "build": "npm run build:tests & npm run build:esm", "build:esm": "rollup -c", "build:tests": "tsc", "clean": "rimraf *~ #* *classifier.json dist io_spec/tmp/*.json coverage", "test_io": "jasmine --random=false io_spec/*_spec.js", "test": "cross-env NODE_PATH=. jasmine --random=false dist/cjs/spec/*_spec.js", "smoke:esm": "node spec/esm/smoke.mjs", "coverage": "nyc --no-clean npm run test && nyc --no-clean npm run test_io", "lint": "eslint . --ext .ts" }, "license": "MIT", "author": "Chris Umbel <chris@chrisumbel.com>", "keywords": [ "natural language processing", "artifical intelligence", "statistics", "Porter stemmer", "Lancaster stemmer", "tokenizer", "bigram", "trigram", "quadgram", "ngram", "stemmer", "bayes", "classifier", "phonetic", "metaphone", "inflector", "Wordnet", "tf-idf", "logistic regression", "doublemetaphone", "double", "jaro-winkler distance", "levenshtein distance", "string distance", "part-of-speech tagger", "Eric Brill", "Brill tagger", "sentiment analysis", "maximum entropy modelling" ], "main": "./lib/natural/index.js", "types": "./lib/natural/index.d.ts", "maintainers": [ { "name": "Chris Umbel", "email": "chris@chrisumbel.com", "web": "http://www.chrisumbel.com" }, { "name": "Rob Ellis", "email": "rob@silentrob.me" }, { "name": "Ken Koch", "email": "kkoch986@gmail.com" }, { "name": "Hugo W.L. ter Doest", "email": "hwl.ter.doest@gmail.com" } ] }