@nlpjs/nlu
Advanced tools
Comparing version 4.0.0-rc.8 to 4.0.0-rc.9
{ | ||
"name": "@nlpjs/nlu", | ||
"version": "4.0.0-rc.8", | ||
"version": "4.0.0-rc.9", | ||
"description": "Natural Language Understanding", | ||
@@ -28,8 +28,8 @@ "author": { | ||
"dependencies": { | ||
"@nlpjs/core": "^4.0.0-rc.8", | ||
"@nlpjs/language": "^4.0.0-rc.4", | ||
"@nlpjs/neural": "^4.0.0-rc.8", | ||
"@nlpjs/core": "^4.0.0-rc.9", | ||
"@nlpjs/language-min": "^4.0.0-rc.8", | ||
"@nlpjs/neural": "^4.0.0-rc.9", | ||
"@nlpjs/similarity": "^4.0.0-rc.4" | ||
}, | ||
"gitHead": "e2cecc845927a517da9c0e08de437ebb47fc316a" | ||
"gitHead": "3a6c4f507bd99282ae73b0b6d793ab47aec479ee" | ||
} |
@@ -25,3 +25,3 @@ /* | ||
const { Clonable } = require('@nlpjs/core'); | ||
const { Language } = require('@nlpjs/language'); | ||
const { Language } = require('@nlpjs/language-min'); | ||
const DomainManager = require('./domain-manager'); | ||
@@ -47,3 +47,6 @@ | ||
); | ||
this.guesser = new Language(); | ||
if (!this.container.get('Language')) { | ||
this.container.register('Language', Language, false); | ||
} | ||
this.guesser = this.container.get('Language'); | ||
this.locales = []; | ||
@@ -322,3 +325,3 @@ this.languageNames = {}; | ||
intentDomains: this.intentDomains, | ||
extraSentences: this.guesser.extraSentences, | ||
extraSentences: this.guesser.extraSentences.slice(0), | ||
}; | ||
@@ -325,0 +328,0 @@ delete result.settings.container; |
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
41548
1198
+ Added@nlpjs/language-min@4.25.0(transitive)
- Removed@nlpjs/language@^4.0.0-rc.4
- Removed@nlpjs/language@4.25.0(transitive)
Updated@nlpjs/core@^4.0.0-rc.9
Updated@nlpjs/neural@^4.0.0-rc.9