method of static class JsNgram

Description

Load index json file to find text. Returns the index object for the key text.

Example
deferred.push(JsNgram.loadIndexFile('ca'));
      
Usage

loadIndexFile(text);

Argument text is an N-gram key text. This loads the index json file of the specified key and returns its index object. A fail on this method causes an immediate return without showing any result buttons.