@nlpjs/nlu
Advanced tools
Comparing version 4.9.3 to 4.10.1
{ | ||
"name": "@nlpjs/nlu", | ||
"version": "4.9.3", | ||
"version": "4.10.1", | ||
"description": "Natural Language Understanding", | ||
@@ -28,8 +28,8 @@ "author": { | ||
"dependencies": { | ||
"@nlpjs/core": "^4.9.3", | ||
"@nlpjs/core": "^4.10.1", | ||
"@nlpjs/language-min": "^4.6.0", | ||
"@nlpjs/neural": "^4.9.3", | ||
"@nlpjs/neural": "^4.10.1", | ||
"@nlpjs/similarity": "^4.9.1" | ||
}, | ||
"gitHead": "defca61ee1127e88d73a0808c544028fa4f0e7f5" | ||
"gitHead": "1eae0c913e03211f550c2b610fc2bf620b1b0939" | ||
} |
@@ -98,2 +98,14 @@ /* | ||
removeLanguage(locales) { | ||
if (Array.isArray(locales)) { | ||
locales.forEach((locale) => this.removeLanguage(locale)); | ||
} else { | ||
delete this.domainManagers[locales]; | ||
const index = this.locales.indexOf(locales); | ||
if (index !== -1) { | ||
this.locales.splice(index, 1); | ||
} | ||
} | ||
} | ||
guessLanguage(srcInput) { | ||
@@ -100,0 +112,0 @@ const input = srcInput; |
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
45207
1330
Updated@nlpjs/core@^4.10.1
Updated@nlpjs/neural@^4.10.1