https://github.com/axa-group/nlp.js

An NLP library for building bots, with entity extraction, sentiment analysis, automatic language identify, and so more

https://github.com/axa-group/nlp.js

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.3%) to scientific vocabulary

Keywords

bot bots chatbot classifier conversational-ai entity-extraction hacktoberfest javascript natural-language-processing nlp nlu nodejs sentiment-analysis
Last synced: 5 months ago · JSON representation

Repository

An NLP library for building bots, with entity extraction, sentiment analysis, automatic language identify, and so more

Basic Info
  • Host: GitHub
  • Owner: axa-group
  • License: mit
  • Language: JavaScript
  • Default Branch: master
  • Homepage:
  • Size: 32.3 MB
Statistics
  • Stars: 6,496
  • Watchers: 110
  • Forks: 632
  • Open Issues: 116
  • Releases: 43
Topics
bot bots chatbot classifier conversational-ai entity-extraction hacktoberfest javascript natural-language-processing nlp nlu nodejs sentiment-analysis
Created over 7 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog Contributing License Code of conduct

README.md

NLPjs logo

NLP.js

Coverage Status NPM version NPM downloads Sonarcloud Status Maintainability Rating Reliability Rating Security Rating

If you're looking for the version 3 docs, you can find them here Version 3

"NLP.js" is a general natural language utility for nodejs. Currently supporting:

  • Guess the language of a phrase
  • Fast Levenshtein distance of two strings
  • Search the best substring of a string with less Levenshtein distance to a given pattern.
  • Get stemmers and tokenizers for several languages.
  • Sentiment Analysis for phrases (with negation support).
  • Named Entity Recognition and management, multi-language support, and acceptance of similar strings, so the introduced text does not need to be exact.
  • Natural Language Processing Classifier, to classify an utterance into intents.
  • NLP Manager: a tool able to manage several languages, the Named Entities for each language, the utterances, and intents for the training of the classifier, and for a given utterance return the entity extraction, the intent classification and the sentiment analysis. Also, it is able to maintain a Natural Language Generation Manager for the answers.
  • 40 languages natively supported, 104 languages supported with BERT integration
  • Any other language is supported through tokenization, even fantasy languages

Hybrid bot

New in version 4!

Version 4 is very different from previous versions. Before this version, NLP.js was a monolithic library. The big changes:

  • Now the library is split into small independent packages.
  • So every language has its own package
  • It provides a plugin system, so you can provide your own plugins or replace the existing ones.
  • It provides a container system for the plugins, settings for the plugins and also pipelines
  • A pipeline is code defining how the plugins interact. Usually it is linear: there is an input into the plugin, and this generates the input for the next one. As an example, the preparation of a utterance (the process to convert the utterance to a hashmap of stemmed features) is now a pipeline like this: normalize -> tokenize -> removeStopwords -> stem -> arrToObj
  • There is a simple compiler for the pipelines, but they can also be built using a modified version of javascript and python (compilers are also included as plugins, so other languages can be added as a plugin).
  • NLP.js now includes connectors, a connector is understood to be something that has at least 2 methods: hear and say. Examples of connectors included: Console Connector, Microsoft Bot Framework Connector and a Direct Line Offline Connector (this one allows you to build a web chatbot using the Microsoft Webchat, but without having to deploy anything in Azure).
  • Some plugins can be registered by language, so for different languages different plugins will be used. Also some plugins, like NLU, can be registered not only by language but also by domain (a functional set of intents that can be trained separately)
  • As an example of per-language/domain plugins, a Microsoft LUIS NLU plugin is provided. You can configure your chatbot to use the NLU from NLP.js for some languages/domains, and LUIS for other languages/domains.
  • Having plugins and pipelines makes it possible to write chatbots by only modifying the configuration and the pipelines file, without modifying the code.

TABLE OF CONTENTS

Installation

If you're looking to use NLP.js in your Node application, you can install via NPM like so:

bash npm install node-nlp

React Native

There is a version of NLP.js that works in React Native, so you can build chatbots that can be trained and executed on the mobile even without the internet. You can install it via NPM:

bash npm install node-nlp-rn

Some limitations:

  • No Chinese
  • The Japanese stemmer is not the complete one
  • No Excel import
  • No loading from a file, or saving to a file, but it can still import from JSON and export to JSON.

Example of use

You can see a great example of use in the folder /examples/02-qna-classic. This example is able to train the bot and save the model to a file, so when the bot is started again, the model is loaded instead of being trained again.

You can start to build your NLP from scratch with a few lines:

```javascript const { NlpManager } = require('node-nlp');

const manager = new NlpManager({ languages: ['en'], forceNER: true }); // Adds the utterances and intents for the NLP manager.addDocument('en', 'goodbye for now', 'greetings.bye'); manager.addDocument('en', 'bye bye take care', 'greetings.bye'); manager.addDocument('en', 'okay see you later', 'greetings.bye'); manager.addDocument('en', 'bye for now', 'greetings.bye'); manager.addDocument('en', 'i must go', 'greetings.bye'); manager.addDocument('en', 'hello', 'greetings.hello'); manager.addDocument('en', 'hi', 'greetings.hello'); manager.addDocument('en', 'howdy', 'greetings.hello');

// Train also the NLG manager.addAnswer('en', 'greetings.bye', 'Till next time'); manager.addAnswer('en', 'greetings.bye', 'see you soon!'); manager.addAnswer('en', 'greetings.hello', 'Hey there!'); manager.addAnswer('en', 'greetings.hello', 'Greetings!');

// Train and save the model. (async() => { await manager.train(); manager.save(); const response = await manager.process('en', 'I should go now'); console.log(response); })(); ```

This produces the following result in a console:

bash { utterance: 'I should go now', locale: 'en', languageGuessed: false, localeIso2: 'en', language: 'English', domain: 'default', classifications: [ { label: 'greetings.bye', value: 0.698219120207268 }, { label: 'None', value: 0.30178087979273216 }, { label: 'greetings.hello', value: 0 } ], intent: 'greetings.bye', score: 0.698219120207268, entities: [ { start: 12, end: 14, len: 3, accuracy: 0.95, sourceText: 'now', utteranceText: 'now', entity: 'datetime', resolution: [Object] } ], sentiment: { score: 1, comparative: 0.25, vote: 'positive', numWords: 4, numHits: 2, type: 'senticon', language: 'en' }, actions: [], srcAnswer: 'Till next time', answer: 'Till next time' }

False Positives

By default, the neural network tries to avoid false positives. To achieve that, one of the internal processes is that words never seen by the network are represented as a feature that gives some weight to the None intent. So, if you try the previous example with "I have to go" it will return the None intent because 2 of the 4 words have never been seen while training. If you don't want to avoid those false positives, and you feel more comfortable with classifications into the intents that you declare, then you can disable this behavior by setting the useNoneFeature to false:

javascript const manager = new NlpManager({ languages: ['en'], nlu: { useNoneFeature: false } });

Log Training Progress

You can also add a log progress, so you can trace what is happening during the training. You can log the progress to the console:

javascript const nlpManager = new NlpManager({ languages: ['en'], nlu: { log: true } });

Or you can provide your own log function:

javascript const logfn = (status, time) => console.log(status, time); const nlpManager = new NlpManager({ languages: ['en'], nlu: { log: logfn } });

Contributing

You can read the guide for how to contribute at Contributing.

Contributors

Contributors

Made with contributors-img.

Code of Conduct

You can read the Code of Conduct at Code of Conduct.

Who is behind it?

This project is developed by AXA Group Operations Spain S.A.

If you need to contact us, you can do it at the email opensource@axa.com

License

Copyright (c) AXA Group Operations Spain S.A.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Owner

  • Name: AXA
  • Login: axa-group
  • Kind: organization
  • Email: opensource@axa.com
  • Location: A global organisation headquartered in Paris, France

The AXA Group is a worldwide leader in insurance and asset management, with 171,000 employees serving 105 million clients in 61 countries.

GitHub Events

Total
  • Issues event: 3
  • Watch event: 256
  • Delete event: 1
  • Member event: 1
  • Issue comment event: 24
  • Push event: 12
  • Pull request review event: 2
  • Pull request event: 2
  • Fork event: 25
  • Create event: 3
Last Year
  • Issues event: 3
  • Watch event: 256
  • Delete event: 1
  • Member event: 1
  • Issue comment event: 24
  • Push event: 12
  • Pull request review event: 2
  • Pull request event: 2
  • Fork event: 25
  • Create event: 3

Committers

Last synced: 6 months ago

All Time
  • Total Commits: 1,779
  • Total Committers: 78
  • Avg Commits per committer: 22.808
  • Development Distribution Score (DDS): 0.596
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Jesus Seijas j****s@a****m 719
Jesus Seijas j****s@a****m 346
dependabot[bot] 4****]@u****m 272
Eric Lara e****a@a****m 127
Ingo Fischer g****b@f****e 73
David Villace Hernandez d****a@a****m 30
Raimon Ràfols r****s@g****m 26
greenkeeper[bot] 2****]@u****m 16
Nick Freear n****r@y****k 13
Vasiliy Vanchuk v****k@t****y 10
Steve Ryan s****i@g****m 9
Eric Lara e****n@g****m 9
greenkeeper[bot] g****]@u****m 8
Dani Pinyol d****l@g****m 7
Ivan Baidal i****l@a****m 6
Pierre-Gilles Leymarie p****e@g****m 5
Max Ripper M****x@j****h 4
William Desportes w****s@w****r 4
roikoren755 r****i@a****m 4
Anders D. Johnson A****n@t****m 3
Daniel Lobo d****l@w****r 3
Diego Rodríguez Baquero d****o@g****m 3
Dimitrios Pappas p****k@g****m 3
George Zaimis g****0@g****m 3
Jesus Seijas j****s@g****m 3
Sven Ewers s****s@b****v 3
Yasmina Gavaldà y****a@a****m 3
Ana Bastos a****s@g****m 2
Ana Gamito T****i@u****m 2
Chris van Chip 3****p@u****m 2
and 48 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 65
  • Total pull requests: 99
  • Average time to close issues: 6 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 57
  • Total pull request authors: 16
  • Average comments per issue: 2.78
  • Average comments per pull request: 1.99
  • Merged pull requests: 19
  • Bot issues: 0
  • Bot pull requests: 72
Past Year
  • Issues: 3
  • Pull requests: 4
  • Average time to close issues: 5 minutes
  • Average time to close pull requests: N/A
  • Issue authors: 3
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 1.75
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • iamjohnsimeon (3)
  • MarketingPip (3)
  • web3-anon (3)
  • alberchou (2)
  • XaviRoistech (2)
  • sammwafy (1)
  • LightYagami200 (1)
  • obaid (1)
  • louistiti (1)
  • wktdev (1)
  • mrcoder57 (1)
  • sbotalla88 (1)
  • Nawaphong-13 (1)
  • baeckerman83 (1)
  • JackEThrobinson (1)
Pull Request Authors
  • dependabot[bot] (72)
  • Apollon77 (8)
  • TylerSelden (3)
  • MVitelli (2)
  • Xavier-Redondo (2)
  • Aziz-AXG (2)
  • vilherda (1)
  • AndersDJohnson (1)
  • dk4tz (1)
  • Khwaj7 (1)
  • Ricardom520 (1)
  • DK013 (1)
  • MaximilianoVeiga (1)
  • kisyok (1)
  • wickedest (1)
Top Labels
Issue Labels
document (1) enhancement (1)
Pull Request Labels
dependencies (72) javascript (68) python (3)

Dependencies

examples/07-nlpjs-on-aws-lambda/nlpjs-lambda/hello-world/package-lock.json npm
  • ansi-colors 3.2.3 development
  • ansi-regex 3.0.1 development
  • ansi-regex 4.1.1 development
  • ansi-styles 3.2.1 development
  • argparse 1.0.10 development
  • assertion-error 1.1.0 development
  • balanced-match 1.0.0 development
  • brace-expansion 1.1.11 development
  • browser-stdout 1.3.1 development
  • camelcase 5.3.1 development
  • chai 4.2.0 development
  • chalk 2.4.2 development
  • check-error 1.0.2 development
  • cliui 5.0.0 development
  • color-convert 1.9.3 development
  • color-name 1.1.3 development
  • concat-map 0.0.1 development
  • debug 3.2.6 development
  • decamelize 1.2.0 development
  • deep-eql 3.0.1 development
  • define-properties 1.1.3 development
  • diff 3.5.0 development
  • emoji-regex 7.0.3 development
  • es-abstract 1.17.5 development
  • es-to-primitive 1.2.1 development
  • escape-string-regexp 1.0.5 development
  • esprima 4.0.1 development
  • find-up 3.0.0 development
  • flat 4.1.0 development
  • fs.realpath 1.0.0 development
  • function-bind 1.1.1 development
  • get-caller-file 2.0.5 development
  • get-func-name 2.0.0 development
  • glob 7.1.3 development
  • growl 1.10.5 development
  • has 1.0.3 development
  • has-flag 3.0.0 development
  • has-symbols 1.0.1 development
  • he 1.2.0 development
  • inflight 1.0.6 development
  • inherits 2.0.4 development
  • is-buffer 2.0.4 development
  • is-callable 1.1.5 development
  • is-date-object 1.0.2 development
  • is-fullwidth-code-point 2.0.0 development
  • is-regex 1.0.5 development
  • is-symbol 1.0.3 development
  • isexe 2.0.0 development
  • js-yaml 3.13.1 development
  • locate-path 3.0.0 development
  • lodash 4.17.21 development
  • log-symbols 2.2.0 development
  • minimatch 3.0.4 development
  • minimist 1.2.6 development
  • mkdirp 0.5.4 development
  • mocha 6.2.3 development
  • ms 2.1.1 development
  • node-environment-flags 1.0.5 development
  • object-inspect 1.7.0 development
  • object-keys 1.1.1 development
  • object.assign 4.1.0 development
  • object.getownpropertydescriptors 2.1.0 development
  • once 1.4.0 development
  • p-limit 2.3.0 development
  • p-locate 3.0.0 development
  • p-try 2.2.0 development
  • path-exists 3.0.0 development
  • path-is-absolute 1.0.1 development
  • pathval 1.1.1 development
  • require-directory 2.1.1 development
  • require-main-filename 2.0.0 development
  • semver 5.7.1 development
  • set-blocking 2.0.0 development
  • sprintf-js 1.0.3 development
  • string-width 3.1.0 development
  • string-width 2.1.1 development
  • string.prototype.trimend 1.0.1 development
  • string.prototype.trimleft 2.1.2 development
  • string.prototype.trimright 2.1.2 development
  • string.prototype.trimstart 1.0.1 development
  • strip-ansi 5.2.0 development
  • strip-ansi 4.0.0 development
  • strip-json-comments 2.0.1 development
  • supports-color 5.5.0 development
  • supports-color 6.0.0 development
  • type-detect 4.0.8 development
  • which 1.3.1 development
  • which-module 2.0.0 development
  • wide-align 1.1.3 development
  • wrap-ansi 5.1.0 development
  • wrappy 1.0.2 development
  • y18n 4.0.3 development
  • yargs 13.3.2 development
  • yargs-parser 13.1.2 development
  • yargs-unparser 1.6.0 development
  • axios 0.21.2
  • follow-redirects 1.14.8
examples/07-nlpjs-on-aws-lambda/nlpjs-lambda/hello-world/package.json npm
  • chai ^4.2.0 development
  • mocha ^6.1.4 development
  • axios ^0.21.2
examples/07-nlpjs-on-aws-lambda/nlpjs-lambda/nlpjs/package-lock.json npm
  • 112 dependencies
examples/07-nlpjs-on-aws-lambda/nlpjs-lambda/nlpjs/package.json npm
  • node-nlp ^4.3.0
examples/07-nlpjs-on-aws-lambda/nlpjs-lambda-with-DynamoDB/nlpjs/package-lock.json npm
  • 126 dependencies
examples/07-nlpjs-on-aws-lambda/nlpjs-lambda-with-DynamoDB/nlpjs/package.json npm
  • aws-sdk ^2.814.0 development
  • node-nlp ^4.3.0
examples/16-fb-connector/package.json npm
  • @nlpjs/basic ^4.22.7
  • @nlpjs/bot ^4.22.7
  • @nlpjs/express-api-server ^4.22.7
  • @nlpjs/fb-connector ^4.22.7
  • dotenv ^10.0.0
  • express ^4.17.2
examples/17-ner-nlg/package.json npm
  • @nlpjs/basic ^4.22.14
examples/18-ner-builtin-ms/package.json npm
  • @nlpjs/builtin-microsoft ^4.22.7
  • @nlpjs/ner ^4.22.9
examples/19-ner-trim-entities/package.json npm
  • @nlpjs/ner *
package-lock.json npm
  • 925 dependencies
package.json npm
  • coveralls ^3.1.0 development
  • eslint ^7.22.0 development
  • eslint-config-airbnb-base ^14.2.1 development
  • eslint-config-prettier ^8.1.0 development
  • eslint-plugin-import ^2.22.1 development
  • eslint-plugin-jest ^26.0.0 development
  • eslint-plugin-prettier ^4.0.0 development
  • https-proxy-agent ^5.0.0 development
  • jest ^27.3.1 development
  • lerna ^4.0.0 development
  • prettier ^2.2.1 development
  • supertest ^6.1.3 development
packages/api-auth-jwt/package-lock.json npm
  • bcryptjs 2.4.3
  • buffer-equal-constant-time 1.0.1
  • ecdsa-sig-formatter 1.0.11
  • jsonwebtoken 8.5.1
  • jwa 1.4.1
  • jws 3.2.2
  • lodash.includes 4.3.0
  • lodash.isboolean 3.0.3
  • lodash.isinteger 4.0.4
  • lodash.isnumber 3.0.3
  • lodash.isplainobject 4.0.6
  • lodash.isstring 4.0.1
  • lodash.once 4.1.1
  • ms 2.1.2
  • passport 0.5.2
  • passport-jwt 4.0.0
  • passport-local 1.0.0
  • passport-strategy 1.0.0
  • pause 0.0.1
  • safe-buffer 5.2.1
  • semver 5.7.1
packages/api-auth-jwt/package.json npm
  • @nlpjs/database ^4.23.4 development
  • @nlpjs/core ^4.23.4
  • bcryptjs ^2.4.3
  • jsonwebtoken ^8.5.1
  • passport ^0.5.2
  • passport-jwt ^4.0.0
  • passport-local ^1.0.0
packages/basic/package.json npm
  • @nlpjs/console-connector ^4.23.4
  • @nlpjs/core-loader ^4.23.4
  • @nlpjs/evaluator ^4.22.7
  • @nlpjs/lang-en ^4.23.4
  • @nlpjs/logger ^4.23.5
  • @nlpjs/nlp ^4.23.5
packages/bert-open-question/package.json npm
  • @nlpjs/core ^4.23.4
packages/bert-tokenizer/package.json npm
  • @nlpjs/core ^4.23.4
packages/bot/package.json npm
  • @nlpjs/builtin-default ^4.23.4
  • @nlpjs/connector ^4.23.4
  • @nlpjs/core ^4.23.4
  • @nlpjs/evaluator ^4.22.7
  • @nlpjs/nlp ^4.23.5
packages/builtin-compromise/package-lock.json npm
  • 340 dependencies
packages/builtin-compromise/package.json npm
  • jest ^27.4.5 development
  • @nlpjs/core ^4.23.4
  • compromise ^13.7.0
  • compromise-dates ^1.2.0
  • compromise-numbers ^1.0.0
packages/builtin-default/package.json npm
  • @nlpjs/core ^4.23.4
packages/builtin-duckling/package.json npm
  • @nlpjs/core ^4.23.4
packages/builtin-microsoft/package-lock.json npm
  • @microsoft/recognizers-text 1.3.0
  • @microsoft/recognizers-text-choice 1.3.0
  • @microsoft/recognizers-text-data-types-timex-expression 1.3.0
  • @microsoft/recognizers-text-date-time 1.3.0
  • @microsoft/recognizers-text-number 1.3.0
  • @microsoft/recognizers-text-number-with-unit 1.3.0
  • @microsoft/recognizers-text-sequence 1.3.0
  • @microsoft/recognizers-text-suite 1.3.0
  • bignumber.js 7.2.1
  • grapheme-splitter 1.0.4
  • lodash.escaperegexp 4.1.2
  • lodash.isequal 4.5.0
  • lodash.last 3.0.0
  • lodash.max 4.0.1
  • lodash.sortby 4.7.0
  • lodash.tonumber 4.0.3
  • lodash.trimend 4.5.1
packages/builtin-microsoft/package.json npm
  • @microsoft/recognizers-text-suite 1.3.0
  • @nlpjs/core ^4.23.4
packages/connector/package.json npm
  • @nlpjs/core ^4.23.4
packages/console-connector/package.json npm
  • @nlpjs/connector ^4.23.4
  • @nlpjs/core ^4.23.4
packages/core-loader/package.json npm
  • @nlpjs/core ^4.23.4
  • @nlpjs/request ^4.22.7
packages/database/package.json npm
  • @nlpjs/core ^4.23.4
packages/dialogflow-connector/package-lock.json npm
  • @nlpjs/connector 4.23.4
  • @nlpjs/core 4.23.4
  • @types/aws-lambda 8.10.89
  • @types/body-parser 1.19.2
  • @types/connect 3.4.35
  • @types/debug 4.1.7
  • @types/express 4.17.13
  • @types/express-serve-static-core 4.17.19
  • @types/mime 1.3.2
  • @types/ms 0.7.31
  • @types/node 17.0.8
  • @types/qs 6.9.7
  • @types/range-parser 1.2.4
  • @types/serve-static 1.13.9
  • abort-controller 3.0.0
  • actions-on-google 3.0.0
  • agent-base 6.0.2
  • arrify 2.0.1
  • base64-js 1.5.1
  • bignumber.js 9.0.2
  • buffer-equal-constant-time 1.0.1
  • call-bind 1.0.2
  • debug 4.3.3
  • ecdsa-sig-formatter 1.0.11
  • event-target-shim 5.0.1
  • extend 3.0.2
  • fast-text-encoding 1.0.3
  • function-bind 1.1.1
  • gaxios 4.3.2
  • gcp-metadata 4.3.1
  • get-intrinsic 1.1.1
  • google-auth-library 7.11.0
  • google-p12-pem 3.1.2
  • googleapis 80.2.0
  • googleapis-common 5.0.5
  • gtoken 5.3.1
  • has 1.0.3
  • has-symbols 1.0.2
  • https-proxy-agent 5.0.0
  • is-stream 2.0.1
  • json-bigint 1.0.0
  • jwa 2.0.0
  • jws 4.0.0
  • lru-cache 6.0.0
  • ms 2.1.2
  • node-fetch 2.6.7
  • node-forge 0.10.0
  • object-inspect 1.12.0
  • qs 6.10.2
  • safe-buffer 5.2.1
  • side-channel 1.0.4
  • tr46 0.0.3
  • url-template 2.0.8
  • uuid 8.3.2
  • webidl-conversions 3.0.1
  • whatwg-url 5.0.0
  • yallist 4.0.0
packages/dialogflow-connector/package.json npm
  • @nlpjs/connector ^4.23.4
  • actions-on-google ^3.0.0
packages/directline-connector/package-lock.json npm
  • @nlpjs/connector 4.22.7
  • @nlpjs/core 4.22.7
  • asap 2.0.6
  • dezalgo 1.0.3
  • formidable 2.0.1
  • hexoid 1.0.0
  • node-fetch 2.6.7
  • once 1.4.0
  • qs 6.9.3
  • tr46 0.0.3
  • webidl-conversions 3.0.1
  • whatwg-url 5.0.0
  • wrappy 1.0.2
packages/directline-connector/package.json npm
  • @nlpjs/connector ^4.23.4
  • @nlpjs/core ^4.23.4
  • formidable ^2.0.1
  • node-fetch ^2.6.7
packages/emoji/package.json npm
  • @nlpjs/core ^4.23.4
packages/evaluator/package-lock.json npm
  • deep-is 0.1.3
  • escodegen 2.0.0
  • esprima 4.0.1
  • estraverse 5.2.0
  • esutils 2.0.3
  • fast-levenshtein 2.0.6
  • levn 0.3.0
  • optionator 0.8.3
  • prelude-ls 1.1.2
  • source-map 0.6.1
  • type-check 0.3.2
  • word-wrap 1.2.3
packages/evaluator/package.json npm
  • escodegen ^2.0.0
  • esprima ^4.0.1
packages/express-api-server/package-lock.json npm
  • asap 2.0.6 development
  • asynckit 0.4.0 development
  • call-bind 1.0.2 development
  • combined-stream 1.0.8 development
  • component-emitter 1.3.0 development
  • cookiejar 2.1.3 development
  • debug 4.3.3 development
  • delayed-stream 1.0.0 development
  • dezalgo 1.0.3 development
  • fast-safe-stringify 2.1.1 development
  • form-data 4.0.0 development
  • formidable 2.0.1 development
  • function-bind 1.1.1 development
  • get-intrinsic 1.1.1 development
  • has 1.0.3 development
  • has-symbols 1.0.2 development
  • hexoid 1.0.0 development
  • lru-cache 6.0.0 development
  • mime 2.6.0 development
  • ms 2.1.2 development
  • object-inspect 1.12.0 development
  • once 1.4.0 development
  • qs 6.9.3 development
  • qs 6.10.3 development
  • readable-stream 3.6.0 development
  • semver 7.3.5 development
  • side-channel 1.0.4 development
  • string_decoder 1.3.0 development
  • superagent 7.1.1 development
  • supertest 6.2.2 development
  • util-deprecate 1.0.2 development
  • wrappy 1.0.2 development
  • yallist 4.0.0 development
  • @nlpjs/core 4.22.7
  • accepts 1.3.8
  • array-flatten 1.1.1
  • body-parser 1.19.2
  • bytes 3.1.2
  • content-disposition 0.5.4
  • content-type 1.0.4
  • cookie 0.4.2
  • cookie-signature 1.0.6
  • cors 2.8.5
  • debug 2.6.9
  • depd 1.1.2
  • destroy 1.0.4
  • ee-first 1.1.1
  • encodeurl 1.0.2
  • escape-html 1.0.3
  • etag 1.8.1
  • express 4.17.3
  • finalhandler 1.1.2
  • forwarded 0.2.0
  • fresh 0.5.2
  • http-errors 1.8.1
  • iconv-lite 0.4.24
  • inherits 2.0.4
  • ipaddr.js 1.9.1
  • media-typer 0.3.0
  • merge-descriptors 1.0.1
  • methods 1.1.2
  • mime 1.6.0
  • mime-db 1.51.0
  • mime-db 1.42.0
  • mime-types 2.1.34
  • mime-types 2.1.25
  • ms 2.1.3
  • ms 2.0.0
  • negotiator 0.6.3
  • object-assign 4.1.1
  • on-finished 2.3.0
  • parseurl 1.3.3
  • path-to-regexp 0.1.7
  • proxy-addr 2.0.7
  • qs 6.9.7
  • range-parser 1.2.1
  • raw-body 2.4.3
  • safe-buffer 5.2.1
  • safer-buffer 2.1.2
  • send 0.17.2
  • serve-static 1.14.2
  • setprototypeof 1.2.0
  • statuses 1.5.0
  • toidentifier 1.0.1
  • type-is 1.6.18
  • unpipe 1.0.0
  • utils-merge 1.0.1
  • vary 1.1.2
packages/express-api-server/package.json npm
  • supertest ^6.0.1 development
  • @nlpjs/core ^4.23.4
  • cors ^2.8.5
  • express ^4.17.1
packages/express-api-serverless/package-lock.json npm
  • @nlpjs/core 4.22.7
  • @vendia/serverless-express 3.4.0
  • accepts 1.3.7
  • array-flatten 1.1.1
  • aws-serverless-express 3.4.0
  • azure-aws-serverless-express 0.1.5
  • binary-case 1.1.4
  • body-parser 1.19.1
  • bytes 3.1.1
  • content-disposition 0.5.4
  • content-type 1.0.4
  • cookie 0.4.1
  • cookie-signature 1.0.6
  • debug 2.6.9
  • depd 1.1.2
  • destroy 1.0.4
  • ee-first 1.1.1
  • encodeurl 1.0.2
  • escape-html 1.0.3
  • etag 1.8.1
  • express 4.17.2
  • finalhandler 1.1.2
  • forwarded 0.2.0
  • fresh 0.5.2
  • http-errors 1.8.1
  • iconv-lite 0.4.24
  • inherits 2.0.4
  • ipaddr.js 1.9.1
  • media-typer 0.3.0
  • merge-descriptors 1.0.1
  • methods 1.1.2
  • mime 1.6.0
  • mime-db 1.51.0
  • mime-types 2.1.34
  • ms 2.0.0
  • ms 2.1.3
  • negotiator 0.6.2
  • on-finished 2.3.0
  • parseurl 1.3.3
  • path-to-regexp 0.1.7
  • proxy-addr 2.0.7
  • qs 6.9.6
  • range-parser 1.2.1
  • raw-body 2.4.2
  • safe-buffer 5.2.1
  • safer-buffer 2.1.2
  • send 0.17.2
  • serve-static 1.14.2
  • serverless-express 2.0.12
  • setprototypeof 1.2.0
  • statuses 1.5.0
  • toidentifier 1.0.1
  • type-is 1.6.18
  • unpipe 1.0.0
  • utils-merge 1.0.1
  • vary 1.1.2
packages/express-api-serverless/package.json npm
  • @nlpjs/core ^4.23.4
  • serverless-express ^2.0.11
packages/fb-connector/package-lock.json npm
  • 230 dependencies
packages/fb-connector/package.json npm
  • @nlpjs/bot ^4.24.3
  • @nlpjs/connector ^4.23.4
  • @nlpjs/core ^4.23.4
  • botbuilder ^4.16.0
  • botbuilder-adapter-facebook ^1.0.11
packages/fullbot/package-lock.json npm
  • 297 dependencies
packages/fullbot/package.json npm
  • @nlpjs/basic ^4.23.5
  • @nlpjs/bot ^4.24.3
  • @nlpjs/builtin-duckling ^4.23.4
  • @nlpjs/builtin-microsoft ^4.23.4
  • @nlpjs/database ^4.23.4
  • @nlpjs/directline-connector ^4.23.4
  • @nlpjs/express-api-server ^4.23.4
  • @nlpjs/mongodb-adapter ^4.23.4
  • @nlpjs/utils ^4.24.2
  • archiver ^5.2.0
  • decompress ^4.2.1
  • rimraf ^3.0.2
packages/lang-all/package.json npm
  • @nlpjs/core ^4.23.4
  • @nlpjs/lang-ar ^4.23.4
  • @nlpjs/lang-bn ^4.23.4
  • @nlpjs/lang-ca ^4.23.4
  • @nlpjs/lang-cs ^4.23.4
  • @nlpjs/lang-da ^4.23.4
  • @nlpjs/lang-de ^4.23.4
  • @nlpjs/lang-el ^4.23.4
  • @nlpjs/lang-en ^4.23.4
  • @nlpjs/lang-es ^4.23.4
  • @nlpjs/lang-eu ^4.23.4
  • @nlpjs/lang-fa ^4.23.4
  • @nlpjs/lang-fi ^4.23.4
  • @nlpjs/lang-fr ^4.23.4
  • @nlpjs/lang-ga ^4.23.4
  • @nlpjs/lang-gl ^4.23.4
  • @nlpjs/lang-hi ^4.23.4
  • @nlpjs/lang-hu ^4.23.4
  • @nlpjs/lang-hy ^4.23.4
  • @nlpjs/lang-id ^4.23.4
  • @nlpjs/lang-it ^4.23.4
  • @nlpjs/lang-ja ^4.24.0
  • @nlpjs/lang-ko ^4.23.4
  • @nlpjs/lang-lt ^4.23.4
  • @nlpjs/lang-ms ^4.23.4
  • @nlpjs/lang-ne ^4.23.4
  • @nlpjs/lang-nl ^4.23.4
  • @nlpjs/lang-no ^4.23.4
  • @nlpjs/lang-pl ^4.23.4
  • @nlpjs/lang-pt ^4.23.4
  • @nlpjs/lang-ro ^4.23.4
  • @nlpjs/lang-ru ^4.23.4
  • @nlpjs/lang-sl ^4.23.4
  • @nlpjs/lang-sr ^4.23.4
  • @nlpjs/lang-sv ^4.23.4
  • @nlpjs/lang-ta ^4.23.4
  • @nlpjs/lang-th ^4.23.4
  • @nlpjs/lang-tl ^4.23.4
  • @nlpjs/lang-tr ^4.23.4
  • @nlpjs/lang-uk ^4.23.4
  • @nlpjs/lang-zh ^4.23.4
  • @nlpjs/language ^4.22.7
packages/lang-ar/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-bert/package.json npm
  • @nlpjs/bert-tokenizer ^4.23.4
  • @nlpjs/core ^4.23.4
packages/lang-bn/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-ca/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-cs/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-da/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-de/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-el/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-en/package.json npm
  • @nlpjs/core ^4.23.4
  • @nlpjs/lang-en-min ^4.23.4
packages/lang-en-min/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-es/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-eu/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-fa/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-fi/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-fr/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-ga/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-gl/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-hi/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-hu/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-hy/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-id/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-it/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-ja/package-lock.json npm
  • @nlpjs/core 4.23.4
  • async 2.6.4
  • doublearray 0.0.2
  • kuromoji 0.1.2
  • lodash 4.17.21
  • zlibjs 0.3.1
packages/lang-ja/package.json npm
  • @nlpjs/core ^4.23.4
  • kuromoji ^0.1.2
packages/lang-ko/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-lt/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-ms/package.json npm
  • @nlpjs/core ^4.23.4
  • @nlpjs/lang-id ^4.23.4
packages/lang-ne/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-nl/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-no/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-pl/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-pt/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-ro/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-ru/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-sl/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-sr/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-sv/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-ta/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-th/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-tl/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-tr/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-uk/package.json npm
  • @nlpjs/core ^4.23.4
packages/lang-zh/package.json npm
  • @nlpjs/core ^4.23.4
packages/logger/package-lock.json npm
  • ansi-styles 3.2.1
  • args 5.0.1
  • atomic-sleep 1.0.0
  • camelcase 5.0.0
  • chalk 2.4.2
  • color-convert 1.9.3
  • color-name 1.1.3
  • colorette 2.0.16
  • dateformat 4.6.3
  • duplexify 4.1.2
  • end-of-stream 1.4.4
  • escape-string-regexp 1.0.5
  • fast-redact 3.1.1
  • fast-safe-stringify 2.1.1
  • has-flag 3.0.0
  • inherits 2.0.4
  • joycon 3.1.1
  • leven 2.1.0
  • mri 1.1.4
  • on-exit-leak-free 0.2.0
  • once 1.4.0
  • pino 7.9.2
  • pino-abstract-transport 0.5.0
  • pino-pretty 7.6.0
  • pino-std-serializers 4.0.0
  • process-warning 1.0.0
  • pump 3.0.0
  • quick-format-unescaped 4.0.4
  • readable-stream 3.6.0
  • real-require 0.1.0
  • rfdc 1.3.0
  • safe-buffer 5.2.1
  • safe-stable-stringify 2.3.1
  • secure-json-parse 2.4.0
  • sonic-boom 2.4.2
  • split2 4.1.0
  • stream-shift 1.0.1
  • string_decoder 1.3.0
  • strip-json-comments 3.1.1
  • supports-color 5.5.0
  • thread-stream 0.15.1
  • util-deprecate 1.0.2
  • wrappy 1.0.2
packages/logger/package.json npm
  • pino ^7.6.1
  • pino-pretty ^7.2.0
packages/mongodb-adapter/package-lock.json npm
  • bl 2.2.1
  • bson 1.1.6
  • core-util-is 1.0.2
  • denque 1.5.0
  • inherits 2.0.4
  • isarray 1.0.0
  • memory-pager 1.5.0
  • mongodb 3.6.5
  • process-nextick-args 2.0.1
  • readable-stream 2.3.7
  • require_optional 1.0.1
  • resolve-from 2.0.0
  • safe-buffer 5.1.2
  • safe-buffer 5.2.1
  • saslprep 1.0.3
  • semver 5.7.1
  • sparse-bitfield 3.0.3
  • string_decoder 1.1.1
  • util-deprecate 1.0.2
packages/mongodb-adapter/package.json npm
  • @nlpjs/core ^4.23.4
  • mongodb ^3.5.9
packages/msbf-connector/package-lock.json npm
  • 116 dependencies
packages/msbf-connector/package.json npm
  • @nlpjs/connector ^4.23.4
  • @nlpjs/core ^4.23.4
  • @nlpjs/request ^4.22.7
  • botbuilder ^4.16.0
packages/ner/package.json npm
  • @nlpjs/core ^4.23.4
  • @nlpjs/language-min ^4.22.7
  • @nlpjs/similarity ^4.22.7
packages/neural-worker/package.json npm
  • @nlpjs/core ^4.23.4
packages/nlg/package.json npm
  • @nlpjs/core ^4.23.4
packages/nlp/package.json npm
  • @nlpjs/core ^4.23.4
  • @nlpjs/ner ^4.23.4
  • @nlpjs/nlg ^4.23.4
  • @nlpjs/nlu ^4.23.5
  • @nlpjs/sentiment ^4.23.4
  • @nlpjs/slot ^4.22.17
packages/nlu/package.json npm
  • @nlpjs/core ^4.23.4
  • @nlpjs/language-min ^4.22.7
  • @nlpjs/neural ^4.22.7
  • @nlpjs/similarity ^4.22.7
packages/nlu-luis/package.json npm
  • @nlpjs/core ^4.23.4
  • @nlpjs/nlu ^4.23.5
  • @nlpjs/request ^4.22.7
packages/node-nlp/package.json npm
  • @nlpjs/builtin-duckling ^4.23.4
  • @nlpjs/builtin-microsoft ^4.23.4
  • @nlpjs/core-loader ^4.23.4
  • @nlpjs/emoji ^4.23.4
  • @nlpjs/evaluator ^4.22.7
  • @nlpjs/lang-all ^4.24.0
  • @nlpjs/language ^4.22.7
  • @nlpjs/neural ^4.22.7
  • @nlpjs/nlg ^4.23.4
  • @nlpjs/nlp ^4.23.5
  • @nlpjs/nlu ^4.23.5
  • @nlpjs/request ^4.22.7
  • @nlpjs/sentiment ^4.23.4
  • @nlpjs/similarity ^4.22.7
  • @nlpjs/xtables ^4.23.5