Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nlpjs/nlu

Package Overview
Dependencies
Maintainers
2
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nlpjs/nlu - npm Package Compare versions

Comparing version 4.22.0 to 4.22.5

0

LICENSE.md

@@ -0,0 +0,0 @@ # MIT License

16

package.json
{
"name": "@nlpjs/nlu",
"version": "4.22.0",
"version": "4.22.5",
"description": "Natural Language Understanding",
"author": {
"email": "jesus.seijas@axa.com",
"email": "opensource@axa.com",
"name": "Jesus Seijas"

@@ -18,3 +18,3 @@ },

{
"email": "jesus.seijas@axa.com",
"email": "opensource@axa.com",
"name": "Jesus Seijas"

@@ -29,8 +29,8 @@ }

"dependencies": {
"@nlpjs/core": "^4.22.0",
"@nlpjs/language-min": "^4.21.1",
"@nlpjs/neural": "^4.21.1",
"@nlpjs/similarity": "^4.21.1"
"@nlpjs/core": "^4.22.5",
"@nlpjs/language-min": "^4.22.2",
"@nlpjs/neural": "^4.22.2",
"@nlpjs/similarity": "^4.22.5"
},
"gitHead": "725dcf52c1b521e4575edb51917690ce051b9434"
"gitHead": "208e93aa485fef706a18eb66fe51f66a7a407779"
}

@@ -342,3 +342,3 @@ ![NLPjs logo](../../screenshots/nlplogo.gif)

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

@@ -345,0 +345,0 @@ ## License

@@ -150,6 +150,13 @@ /*

}
const item = settings.fieldNameSrc
let item = settings.fieldNameSrc
? text[settings.fieldNameSrc]
: text.text || text.utterance || text.texts || text.utterances;
if (item) {
: text.texts || text.utterances;
if (!item && typeof item !== 'string') {
if (typeof text.text === 'string') {
item = text.text;
} else if (typeof text.utterance === 'string') {
item = text.utterance;
}
}
if (item || typeof item === 'string') {
const result = await this.prepare(item, settings);

@@ -156,0 +163,0 @@ const targetField = settings.fieldNameTgt || 'tokens';

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