558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
|
const oSearch = {
oSpellChecker: null,
load: function () {
this.oSpellChecker = new SpellChecker("fr", "", "fr.json");
},
listen: function () {
document.getElementById("search_similar_button").addEventListener("click", () => { this.searchSimilar(); }, false);
document.getElementById("search_regex_button").addEventListener("click", () => { this.searchRegex() }, false);
},
|
|
>
>
>
>
|
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
|
const oSearch = {
oSpellChecker: null,
load: function () {
this.oSpellChecker = new SpellChecker("fr", browser.extension.getURL("")+"grammalecte/graphspell/_dictionaries", "fr.json");
},
loadOtherDictionaries: function () {
//TODO
},
listen: function () {
document.getElementById("search_similar_button").addEventListener("click", () => { this.searchSimilar(); }, false);
document.getElementById("search_regex_button").addEventListener("click", () => { this.searchRegex() }, false);
},
|
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
|
oTagsTable.fill(lEntry);
}
}
const oGenWordsTable = new Table("generated_words_table", ["Flexions", "Étiquettes"], "wait_progress");
const oLexiconTable = new Table("lexicon_table", ["Flexions", "Lemmes", "Étiquettes"], "wait_progress", "num_entries");
//const oSearchTable = new Table("search_table", ["Flexions", "Lemmes", "Étiquettes"], "wait_progress", "search_num_entries");
const oTagsTable = new Table("tags_table", ["Étiquette", "Signification"], "wait_progress", "", false);
oTagsInfo.load();
//oSearch.load();
oBinaryDict.load();
oBinaryDict.listen();
oGenerator.listen();
oTabulations.listen();
//oSearch.listen();
|
|
|
|
|
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
|
oTagsTable.fill(lEntry);
}
}
const oGenWordsTable = new Table("generated_words_table", ["Flexions", "Étiquettes"], "wait_progress");
const oLexiconTable = new Table("lexicon_table", ["Flexions", "Lemmes", "Étiquettes"], "wait_progress", "num_entries");
const oSearchTable = new Table("search_table", ["Flexions", "Lemmes", "Étiquettes"], "wait_progress", "search_num_entries", false);
const oTagsTable = new Table("tags_table", ["Étiquette", "Signification"], "wait_progress", "", false);
oTagsInfo.load();
oSearch.load();
oBinaryDict.load();
oBinaryDict.listen();
oGenerator.listen();
oTabulations.listen();
oSearch.listen();
|