internal void LoadDictionaries(string language)
 {
     _skipAllList = new List<string>();
     _spellChecker = new SpellChecker(language);
     _spellCheckWordLists = new SpellCheckWordLists(Configuration.DictionariesFolder, "en", _spellChecker);
     _changeAllDictionary = new Dictionary<string, string>();
 }
Example #2
0
 private void LoadDictionaries(string dictionaryFolder, string dictionary, string languageName)
 {
     _changeAllDictionary = new Dictionary<string, string>();
     _skipAllList = new List<string>();
     _spellCheckWordLists = new SpellCheckWordLists(dictionaryFolder, languageName, this);
     _changeAllDictionary = new Dictionary<string, string>();
     LoadHunspell(dictionary);
 }