Socket
Socket
Sign inDemoInstall

node-nlp

Package Overview
Dependencies
Maintainers
1
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-nlp - npm Package Compare versions

Comparing version 4.11.3 to 4.12.0

16

package.json
{
"name": "node-nlp",
"version": "4.11.3",
"version": "4.12.0",
"description": "Library for NLU (Natural Language Understanding) done in Node.js",

@@ -47,17 +47,17 @@ "author": {

"@nlpjs/builtin-microsoft": "^4.11.0",
"@nlpjs/core-loader": "^4.11.0",
"@nlpjs/emoji": "^4.11.0",
"@nlpjs/core-loader": "^4.12.0",
"@nlpjs/emoji": "^4.12.0",
"@nlpjs/evaluator": "^4.11.3",
"@nlpjs/lang-all": "^4.11.0",
"@nlpjs/language": "^4.6.0",
"@nlpjs/neural": "^4.11.0",
"@nlpjs/neural": "^4.12.0",
"@nlpjs/nlg": "^4.11.2",
"@nlpjs/nlp": "^4.11.2",
"@nlpjs/nlu": "^4.11.0",
"@nlpjs/nlp": "^4.12.0",
"@nlpjs/nlu": "^4.12.0",
"@nlpjs/request": "^4.6.0",
"@nlpjs/sentiment": "^4.11.0",
"@nlpjs/sentiment": "^4.12.0",
"@nlpjs/similarity": "^4.11.0",
"@nlpjs/xtables": "^4.11.0"
},
"gitHead": "ea70abb21cc0d24c2daa904f48d5177c2ad8c5ab"
"gitHead": "381e2a74ebbb634ba944cf05355232d580189a78"
}

@@ -1,2 +0,2 @@

![NLPjs logo](screenshots/nlplogo.gif)
![NLPjs logo](https://github.com/axa-group/nlp.js/raw/master/screenshots/nlplogo.gif)

@@ -8,5 +8,9 @@ # NLP.js

[![NPM version](https://img.shields.io/npm/v/node-nlp.svg?style=flat)](https://www.npmjs.com/package/node-nlp)
[![NPM downloads](https://img.shields.io/npm/dm/node-nlp.svg?style=flat)](https://www.npmjs.com/package/node-nlp) [![Greenkeeper badge](https://badges.greenkeeper.io/axa-group/nlp.js.svg)](https://greenkeeper.io/)
[![NPM downloads](https://img.shields.io/npm/dm/node-nlp.svg?style=flat)](https://www.npmjs.com/package/node-nlp)
[![Sonarcloud Status](https://sonarcloud.io/api/project_badges/measure?project=axa-group_nlp.js&metric=alert_status)](https://sonarcloud.io/dashboard?id=axa-group_nlp.js)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=axa-group_nlp.js&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=axa-group_nlp.js)
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=axa-group_nlp.js&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=axa-group_nlp.js)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=axa-group_nlp.js&metric=security_rating)](https://sonarcloud.io/dashboard?id=axa-group_nlp.js)
*If you're looking for the version 3 docs, you can find them here* [Version 3](docs/v3/README.md)
*If you're looking for the version 3 docs, you can find them here* [Version 3](https://github.com/axa-group/nlp.js/blob/master/docs/v3/README.md)

@@ -27,3 +31,3 @@ "NLP.js" is a general natural language utility for nodejs. Currently supporting:

![Hibridbot](screenshots/hybridbot.gif)
![Hibridbot](https://github.com/axa-group/nlp.js/raw/master/screenshots/hybridbot.gif)

@@ -50,27 +54,39 @@ ## New in version 4`!`

- [Installation](#installation)
- [QuickStart](docs/v4/quickstart.md)
- [Install the library](docs/v4/quickstart.md#install-the-library)
- [Create the code](docs/v4/quickstart.md#create-the-code)
- [Extracting the corpus into a file](docs/v4/quickstart.md#extracting-the-corpus-into-a-file)
- [Extracting the configuration into a file](docs/v4/quickstart.md#extracting-the-configuration-into-a-file)
- [Creating your first pipeline](docs/v4/quickstart.md#creating-your-first-pipeline)
- [Console Connector](docs/v4/quickstart.md#adding-your-first-connector)
- [Extending your bot with the pipeline](docs/v4/quickstart.md#extending-your-bot-with-the-pipeline)
- [Adding Multilanguage](docs/v4/quickstart.md#adding-multilanguage)
- [Adding API and WebChat](docs/v4/quickstart.md#adding-api-and-webchat)
- [Using Microsoft Bot Framework](docs/v4/quickstart.md#using-microsoft-bot-framework)
- [Recognizing the bot name and the channel](docs/v4/quickstart.md#recognizing-the-bot-name-and-the-channel)
- [One bot per connector](docs/v4/quickstart.md#one-bot-per-connector)
- [Different port for Microsoft Bot Framework and Webchat](docs/v4/quickstart.md#different-port-for-microsoft-bot-framework-and-webchat)
- [Adding logic to an intent](docs/v4/quickstart.md#adding-logic-to-an-intent)
- [Web and React Native](docs/v4/webandreact.md)
- [Preparing to generate a bundle](docs/v4/webandreact.md#preparing-to-generate-a-bundle)
- [Your first web NLP](docs/v4/webandreact.md#your-first-web-nlp)
- [Creating a distributable version](docs/v4/quickstart.md#creating-a-distributable-version)
- [Load corpus from URL](docs/v4/quickstart.md#load-corpus-from-url)
- [QnA](docs/v4/qna.md)
- [Install the library and the qna plugin](docs/v4/qna.md#install-the-library-and-the-qna-plugin)
- [Train and test a QnA file](docs/v4/qna.md#train-and-test-a-qna-file)
- [Extracting the configuration into a file](docs/v4/qna.md#extracting-the-configuration-into-a-file)
- [Exposing the bot with a Web and API](docs/v4/qna.md#exposing-the-bot-with-a-web-and-api)
- [QuickStart](https://github.com/axa-group/nlp.js/blob/master/docs/v4/quickstart.md)
- [Install the library](https://github.com/axa-group/nlp.js/blob/master/docs/v4/quickstart.md#install-the-library)
- [Create the code](https://github.com/axa-group/nlp.js/blob/master/docs/v4/quickstart.md#create-the-code)
- [Extracting the corpus into a file](https://github.com/axa-group/nlp.js/blob/master/docs/v4/quickstart.md#extracting-the-corpus-into-a-file)
- [Extracting the configuration into a file](https://github.com/axa-group/nlp.js/blob/master/docs/v4/quickstart.md#extracting-the-configuration-into-a-file)
- [Creating your first pipeline](https://github.com/axa-group/nlp.js/blob/master/docs/v4/quickstart.md#creating-your-first-pipeline)
- [Console Connector](https://github.com/axa-group/nlp.js/blob/master/docs/v4/quickstart.md#adding-your-first-connector)
- [Extending your bot with the pipeline](https://github.com/axa-group/nlp.js/blob/master/docs/v4/quickstart.md#extending-your-bot-with-the-pipeline)
- [Adding Multilanguage](https://github.com/axa-group/nlp.js/blob/master/docs/v4/quickstart.md#adding-multilanguage)
- [Adding API and WebChat](https://github.com/axa-group/nlp.js/blob/master/docs/v4/quickstart.md#adding-api-and-webchat)
- [Using Microsoft Bot Framework](https://github.com/axa-group/nlp.js/blob/master/docs/v4/quickstart.md#using-microsoft-bot-framework)
- [Recognizing the bot name and the channel](https://github.com/axa-group/nlp.js/blob/master/docs/v4/quickstart.md#recognizing-the-bot-name-and-the-channel)
- [One bot per connector](https://github.com/axa-group/nlp.js/blob/master/docs/v4/quickstart.md#one-bot-per-connector)
- [Different port for Microsoft Bot Framework and Webchat](https://github.com/axa-group/nlp.js/blob/master/docs/v4/quickstart.md#different-port-for-microsoft-bot-framework-and-webchat)
- [Adding logic to an intent](https://github.com/axa-group/nlp.js/blob/master/docs/v4/quickstart.md#adding-logic-to-an-intent)
- [Web and React Native](https://github.com/axa-group/nlp.js/blob/master/docs/v4/webandreact.md)
- [Preparing to generate a bundle](https://github.com/axa-group/nlp.js/blob/master/docs/v4/webandreact.md#preparing-to-generate-a-bundle)
- [Your first web NLP](https://github.com/axa-group/nlp.js/blob/master/docs/v4/webandreact.md#your-first-web-nlp)
- [Creating a distributable version](https://github.com/axa-group/nlp.js/blob/master/docs/v4/quickstart.md#creating-a-distributable-version)
- [Load corpus from URL](https://github.com/axa-group/nlp.js/blob/master/docs/v4/quickstart.md#load-corpus-from-url)
- [QnA](https://github.com/axa-group/nlp.js/blob/master/docs/v4/qna.md)
- [Install the library and the qna plugin](https://github.com/axa-group/nlp.js/blob/master/docs/v4/qna.md#install-the-library-and-the-qna-plugin)
- [Train and test a QnA file](https://github.com/axa-group/nlp.js/blob/master/docs/v4/qna.md#train-and-test-a-qna-file)
- [Extracting the configuration into a file](https://github.com/axa-group/nlp.js/blob/master/docs/v4/qna.md#extracting-the-configuration-into-a-file)
- [Exposing the bot with a Web and API](https://github.com/axa-group/nlp.js/blob/master/docs/v4/qna.md#exposing-the-bot-with-a-web-and-api)
- [NeuralNetwork](https://github.com/axa-group/nlp.js/blob/master/docs/v4/neural.md)
- [Introduction](https://github.com/axa-group/nlp.js/blob/master/docs/v4/neural.md#introduction)
- [Installing](https://github.com/axa-group/nlp.js/blob/master/docs/v4/neural.md#installing)
- [Corpus Format](https://github.com/axa-group/nlp.js/blob/master/docs/v4/neural.md#corpus-format)
- [Example of use](https://github.com/axa-group/nlp.js/blob/master/docs/v4/neural.md#example-of-use)
- [Exporting trained model to JSON and importing](https://github.com/axa-group/nlp.js/blob/master/docs/v4/neural.md#exporting-trained-model-to-json-and-importing)
- [Options](https://github.com/axa-group/nlp.js/blob/master/docs/v4/neural.md#options)
- [Logger](https://github.com/axa-group/nlp.js/blob/master/docs/v4/logger.md)
- [Introduction](https://github.com/axa-group/nlp.js/blob/master/docs/v4/logger.md#introduction)
- [Default logger in @nlpjs/core](https://github.com/axa-group/nlp.js/blob/master/docs/v4/logger.md#default-logger-in-nlpjscore)
- [Default logger in @nlpjs/basic](https://github.com/axa-group/nlp.js/blob/master/docs/v4/logger.md#default-logger-in-nlpjsbasic)
- [Adding your own logger to the container](https://github.com/axa-group/nlp.js/blob/master/docs/v4/logger.md#adding-your-own-logger-to-the-container)
- [React Native](#react-native)

@@ -80,57 +96,57 @@ - [Example of use](#example-of-use)

- [Log Training Progress](#log-training-progress)
- [Benchmarking](docs/v3/benchmarking.md)
- [Language Support](docs/v4/language-support.md)
- [Supported languages](docs/v4/language-support.md#supported-languages)
- [Sentiment Analysis](docs/v4/language-support.md#sentiment-analysis)
- [Comparision with other NLP products](docs/v4/language-support.md#comparision-with-other-nlp-products)
- [Example with several languages](docs/v4/language-support.md#example-with-several-languages)
- [Language Guesser](docs/v3/language-guesser.md)
- [Similar Search](docs/v3/similar-search.md)
- [NLU](docs/v3/nlu-manager.md)
- [NLU Manager](docs/v3/nlu-manager.md)
- [Brain NLU](docs/v3/brain-nlu.md)
- [Bayes NLU](docs/v3/bayes-nlu.md)
- [Binary Relevance NLU](docs/v3/binary-relevance-nlu.md)
- [Logistic Regression NLU](docs/v3/logistic-regression-nlu.md)
- [NER Manager](docs/v3/ner-manager.md)
- [Enum Named Entities](docs/v3/ner-manager.md#enum-named-entities)
- [Regular Expression Named Entities](docs/v3/ner-manager.md#regular-expression-named-entities)
- [Trim Named Entities](docs/v3/ner-manager.md#trim-named-entities)
- [Utterances with duplicated Entities](docs/v3/ner-manager.md#utterances-with-duplicated-entities)
- [Integration with Duckling](docs/v3/builtin-duckling.md)
- [Language support](docs/v3/builtin-duckling.md#language-support)
- [How to integrate with duckling](docs/v3/builtin-duckling.md#how-to-integrate-with-duckling)
- [Email Extraction](docs/v3/builtin-duckling.md#email-extraction)
- [Phone Number Extraction](docs/v3/builtin-duckling.md#phone-number-extraction)
- [URL Extraction](docs/v3/builtin-duckling.md#url-extraction)
- [Number Extraction](docs/v3/builtin-duckling.md#number-extraction)
- [Ordinal Extraction](docs/v3/builtin-duckling.md#ordinal-extraction)
- [Dimension Extraction](docs/v3/builtin-duckling.md#dimension-extraction)
- [Quantity Extraction](docs/v3/builtin-duckling.md#quantity-extraction)
- [Amount of Money Extraction](docs/v3/builtin-duckling.md#amount-of-money-extraction)
- [Date Extraction](docs/v3/builtin-duckling.md#date-extraction)
- [Builtin Entity Extraction](docs/v3/builtin-entity-extraction.md)
- [Email Extraction](docs/v3/builtin-entity-extraction.md#email-extraction)
- [IP Extraction](docs/v3/builtin-entity-extraction.md#ip-extraction)
- [Hashtag Extraction](docs/v3/builtin-entity-extraction.md#hashtag-extraction)
- [Phone Number Extraction](docs/v3/builtin-entity-extraction.md#phone-number-extraction)
- [URL Extraction](docs/v3/builtin-entity-extraction.md#url-extraction)
- [Number Extraction](docs/v3/builtin-entity-extraction.md#number-extraction)
- [Ordinal Extraction](docs/v3/builtin-entity-extraction.md#ordinal-extraction)
- [Percentage Extraction](docs/v3/builtin-entity-extraction.md#percentage-extraction)
- [Age Extraction](docs/v3/builtin-entity-extraction.md#age-extraction)
- [Currency Extraction](docs/v3/builtin-entity-extraction.md#currency-extraction)
- [Date Extraction](docs/v3/builtin-entity-extraction.md#date-extraction)
- [Duration Extraction](docs/v3/builtin-entity-extraction.md#duration-extraction)
- [Sentiment Analysis](docs/v3/sentiment-analysis.md)
- [NLP Manager](docs/v3/nlp-manager.md)
- [Load/Save](docs/v3/nlp-manager.md#loadsave)
- [Import/Export](docs/v3/nlp-manager.md#importexport)
- [Context](docs/v3/nlp-manager.md#context)
- [Slot Filling](docs/v3/slot-filling.md)
- [Loading from Excel](docs/v3/loading-from-excel.md)
- [Microsoft Bot Framework](docs/v3/microsoft-bot-framework.md)
- [Introduction](docs/v3/microsoft-bot-framework.md#introduction)
- [Example of use](docs/v3/microsoft-bot-framework.md#example-of-use)
- [Recognizer and Slot filling](docs/v3/microsoft-bot-framework.md#recognizer-and-slot-filling)
- [Benchmarking](https://github.com/axa-group/nlp.js/blob/master/docs/v3/benchmarking.md)
- [Language Support](https://github.com/axa-group/nlp.js/blob/master/docs/v4/language-support.md)
- [Supported languages](https://github.com/axa-group/nlp.js/blob/master/docs/v4/language-support.md#supported-languages)
- [Sentiment Analysis](https://github.com/axa-group/nlp.js/blob/master/docs/v4/language-support.md#sentiment-analysis)
- [Comparision with other NLP products](https://github.com/axa-group/nlp.js/blob/master/docs/v4/language-support.md#comparision-with-other-nlp-products)
- [Example with several languages](https://github.com/axa-group/nlp.js/blob/master/docs/v4/language-support.md#example-with-several-languages)
- [Language Guesser](https://github.com/axa-group/nlp.js/blob/master/docs/v3/language-guesser.md)
- [Similar Search](https://github.com/axa-group/nlp.js/blob/master/docs/v3/similar-search.md)
- [NLU](https://github.com/axa-group/nlp.js/blob/master/docs/v3/nlu-manager.md)
- [NLU Manager](https://github.com/axa-group/nlp.js/blob/master/docs/v3/nlu-manager.md)
- [Brain NLU](https://github.com/axa-group/nlp.js/blob/master/docs/v3/brain-nlu.md)
- [Bayes NLU](https://github.com/axa-group/nlp.js/blob/master/docs/v3/bayes-nlu.md)
- [Binary Relevance NLU](https://github.com/axa-group/nlp.js/blob/master/docs/v3/binary-relevance-nlu.md)
- [Logistic Regression NLU](https://github.com/axa-group/nlp.js/blob/master/docs/v3/logistic-regression-nlu.md)
- [NER Manager](https://github.com/axa-group/nlp.js/blob/master/docs/v3/ner-manager.md)
- [Enum Named Entities](https://github.com/axa-group/nlp.js/blob/master/docs/v3/ner-manager.md#enum-named-entities)
- [Regular Expression Named Entities](https://github.com/axa-group/nlp.js/blob/master/docs/v3/ner-manager.md#regular-expression-named-entities)
- [Trim Named Entities](https://github.com/axa-group/nlp.js/blob/master/docs/v3/ner-manager.md#trim-named-entities)
- [Utterances with duplicated Entities](https://github.com/axa-group/nlp.js/blob/master/docs/v3/ner-manager.md#utterances-with-duplicated-entities)
- [Integration with Duckling](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-duckling.md)
- [Language support](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-duckling.md#language-support)
- [How to integrate with duckling](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-duckling.md#how-to-integrate-with-duckling)
- [Email Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-duckling.md#email-extraction)
- [Phone Number Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-duckling.md#phone-number-extraction)
- [URL Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-duckling.md#url-extraction)
- [Number Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-duckling.md#number-extraction)
- [Ordinal Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-duckling.md#ordinal-extraction)
- [Dimension Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-duckling.md#dimension-extraction)
- [Quantity Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-duckling.md#quantity-extraction)
- [Amount of Money Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-duckling.md#amount-of-money-extraction)
- [Date Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-duckling.md#date-extraction)
- [Builtin Entity Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-entity-extraction.md)
- [Email Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-entity-extraction.md#email-extraction)
- [IP Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-entity-extraction.md#ip-extraction)
- [Hashtag Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-entity-extraction.md#hashtag-extraction)
- [Phone Number Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-entity-extraction.md#phone-number-extraction)
- [URL Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-entity-extraction.md#url-extraction)
- [Number Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-entity-extraction.md#number-extraction)
- [Ordinal Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-entity-extraction.md#ordinal-extraction)
- [Percentage Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-entity-extraction.md#percentage-extraction)
- [Age Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-entity-extraction.md#age-extraction)
- [Currency Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-entity-extraction.md#currency-extraction)
- [Date Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-entity-extraction.md#date-extraction)
- [Duration Extraction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/builtin-entity-extraction.md#duration-extraction)
- [Sentiment Analysis](https://github.com/axa-group/nlp.js/blob/master/docs/v3/sentiment-analysis.md)
- [NLP Manager](https://github.com/axa-group/nlp.js/blob/master/docs/v3/nlp-manager.md)
- [Load/Save](https://github.com/axa-group/nlp.js/blob/master/docs/v3/nlp-manager.md#loadsave)
- [Import/Export](https://github.com/axa-group/nlp.js/blob/master/docs/v3/nlp-manager.md#importexport)
- [Context](https://github.com/axa-group/nlp.js/blob/master/docs/v3/nlp-manager.md#context)
- [Slot Filling](https://github.com/axa-group/nlp.js/blob/master/docs/v3/slot-filling.md)
- [Loading from Excel](https://github.com/axa-group/nlp.js/blob/master/docs/v3/loading-from-excel.md)
- [Microsoft Bot Framework](https://github.com/axa-group/nlp.js/blob/master/docs/v3/microsoft-bot-framework.md)
- [Introduction](https://github.com/axa-group/nlp.js/blob/master/docs/v3/microsoft-bot-framework.md#introduction)
- [Example of use](https://github.com/axa-group/nlp.js/blob/master/docs/v3/microsoft-bot-framework.md#example-of-use)
- [Recognizer and Slot filling](https://github.com/axa-group/nlp.js/blob/master/docs/v3/microsoft-bot-framework.md#recognizer-and-slot-filling)
- [Contributing](#contributing)

@@ -175,3 +191,3 @@ - [Contributors](#contributors)

const manager = new NlpManager({ languages: ['en'] });
const manager = new NlpManager({ languages: ['en'], forceNER: true });
// Adds the utterances and intents for the NLP

@@ -178,0 +194,0 @@ manager.addDocument('en', 'goodbye for now', 'greetings.bye');

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc