Differences From Artifact [7b8a526c88]:
- File graphspell-js/spellchecker.js — part of check-in [7616aa7ef9] at 2018-02-20 08:40:03 on branch trunk — [graphspell] spellchecker: add parseParagraph() (user: olr, size: 5894) [annotate] [blame] [check-ins using] [more...]
To Artifact [a4e4ee731d]:
- File graphspell-js/spellchecker.js — part of check-in [aae2892638] at 2018-02-24 08:20:35 on branch trunk — [graphspell] spellchecker: new function getTokenizer() (user: olr, size: 6031) [annotate] [blame] [check-ins using] [more...]
| ︙ | |||
66 67 68 69 70 71 72 73 74 75 76 77 78 79 | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | + + + + + + + |
loadTokenizer () {
if (typeof(tokenizer) !== 'undefined') {
this.oTokenizer = new tokenizer.Tokenizer(this.sLangCode);
} else {
this.oTokenizer = new Tokenizer(this.sLangCode);
}
}
getTokenizer () {
if (!this.oTokenizer) {
this.loadTokenizer();
}
return this.oTokenizer;
}
setMainDictionary (dictionary) {
// returns true if the dictionary is loaded
this.oMainDic = this._loadDictionary(dictionary);
return Boolean(this.oMainDic);
}
|
| ︙ |