@nlpjs/nlu
Advanced tools
Comparing version 4.0.0-rc.13 to 4.0.0-rc.16
{ | ||
"name": "@nlpjs/nlu", | ||
"version": "4.0.0-rc.13", | ||
"version": "4.0.0-rc.16", | ||
"description": "Natural Language Understanding", | ||
@@ -28,8 +28,8 @@ "author": { | ||
"dependencies": { | ||
"@nlpjs/core": "^4.0.0-rc.13", | ||
"@nlpjs/core": "^4.0.0-rc.16", | ||
"@nlpjs/language-min": "^4.0.0-rc.8", | ||
"@nlpjs/neural": "^4.0.0-rc.13", | ||
"@nlpjs/neural": "^4.0.0-rc.16", | ||
"@nlpjs/similarity": "^4.0.0-rc.4" | ||
}, | ||
"gitHead": "1150a72faf75391875ccd9f6165e775f121c32b1" | ||
"gitHead": "b1db0d0a691fef7821c5fe718e4fad614dd388ad" | ||
} |
@@ -244,5 +244,7 @@ /* | ||
const nlu = this.addDomain(keys[i]); | ||
const result = await nlu.train(corpus[keys[i]], { | ||
useNoneFeature: this.settings.useNoneFeature, | ||
}); | ||
const options = { useNoneFeature: this.settings.useNoneFeature }; | ||
if (srcInput.settings && srcInput.settings.log !== undefined) { | ||
options.log = srcInput.settings.log; | ||
} | ||
const result = await nlu.train(corpus[keys[i]], options); | ||
status[keys[i]] = result.status; | ||
@@ -249,0 +251,0 @@ } |
@@ -224,3 +224,3 @@ /* | ||
.filter(locale => this.domainManagers[locale]) | ||
.map(locale => this.domainManagers[locale].train()); | ||
.map(locale => this.domainManagers[locale].train(settings.settings)); | ||
return Promise.all(promises); | ||
@@ -234,2 +234,3 @@ } | ||
}; | ||
delete input.settings.tag; | ||
return this.runPipeline(input, this.pipelineTrain); | ||
@@ -236,0 +237,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41741
1201
Updated@nlpjs/core@^4.0.0-rc.16
Updated@nlpjs/neural@^4.0.0-rc.16