How to use the genie-toolkit.LocalTokenizer function in genie-toolkit

To help you get started, we’ve selected a few genie-toolkit examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github stanford-oval / almond-cloud / util / tokenizer_service.js View on Github external
function getLocalTokenizer() {
    if (_localTokenizer)
        return _localTokenizer;
    return _localTokenizer = new Genie.LocalTokenizer(Config.NL_TOKENIZER_ADDRESS);
}
github stanford-oval / almond-cloud / nlp / main.js View on Github external
constructor() {
        this._models = new Map;
        this._exactMatchers = new Map;
        this._classifier = new FrontendClassifier();
        this._tokenizer = new Genie.LocalTokenizer(Config.NL_TOKENIZER_ADDRESS);
    }