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

@nlpjs/nlu

Package Overview
Dependencies
Maintainers
1
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.0.0-rc.2 to 4.0.0-rc.4

12

package.json
{
"name": "@nlpjs/nlu",
"version": "4.0.0-rc.2",
"version": "4.0.0-rc.4",
"description": "Natural Language Understanding",

@@ -28,8 +28,8 @@ "author": {

"dependencies": {
"@nlpjs/core": "^4.0.0-rc.2",
"@nlpjs/language": "^4.0.0-rc.2",
"@nlpjs/neural": "^4.0.0-rc.2",
"@nlpjs/similarity": "^4.0.0-rc.2"
"@nlpjs/core": "^4.0.0-rc.4",
"@nlpjs/language": "^4.0.0-rc.4",
"@nlpjs/neural": "^4.0.0-rc.4",
"@nlpjs/similarity": "^4.0.0-rc.4"
},
"gitHead": "eadc0529f22f2e5545013f1a05d0468fc784486f"
"gitHead": "390f1aec656eb1aef3334a35835e53b0f56f2bbb"
}

@@ -0,0 +0,0 @@ # `neural`

@@ -281,3 +281,4 @@ /*

const input = srcInput;
if (input.settings.useStemDict) {
const settings = this.applySettings({ ...input.settings }, this.settings);
if (settings.useStemDict) {
const result = await this.classifyByStemDict(input.utterance, domainName);

@@ -298,3 +299,6 @@ if (result) {

}
const nluAnswer = await nlu.process(input.utterance, input.settings);
const nluAnswer = await nlu.process(
input.utterance,
input.settings || this.settings
);
let classifications;

@@ -318,3 +322,7 @@ if (Array.isArray(nluAnswer)) {

let domain = defaultDomainName;
if (input.settings.trainByDomain) {
if (
(input.settings.trainByDomain === undefined &&
this.settings.trainByDomain) ||
input.settings.trainByDomain
) {
const nlu = this.domains[defaultDomainName];

@@ -321,0 +329,0 @@ let classifications = await nlu.process(input.utterance);

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