Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function getLocalTokenizer() {
if (_localTokenizer)
return _localTokenizer;
return _localTokenizer = new Genie.LocalTokenizer(Config.NL_TOKENIZER_ADDRESS);
}
constructor() {
this._models = new Map;
this._exactMatchers = new Map;
this._classifier = new FrontendClassifier();
this._tokenizer = new Genie.LocalTokenizer(Config.NL_TOKENIZER_ADDRESS);
}