Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.applySettings(this.settings, settings);
this.applySettings(this.settings, { locale: 'en' });
if (!this.settings.tag) {
this.settings.tag = `nlu-${this.settings.locale}`;
}
this.registerDefault();
this.applySettings(
this.settings,
this.container.getConfiguration(this.settings.tag)
);
this.applySettings(this, {
pipelinePrepare: this.getPipeline(`${this.settings.tag}-prepare`),
pipelineTrain: this.getPipeline(`${this.settings.tag}-train`),
pipelineProcess: this.getPipeline(`${this.settings.tag}-process`),
});
this.spellCheck = new SpellCheck();
}