Exemplo n.º 1
0
 private void LoadHunspell(string dictionary)
 {
     _currentDictionary = dictionary;
     _hunspell?.Dispose();
     _hunspell = null;
     _hunspell = Hunspell.GetHunspell(dictionary);
 }
Exemplo n.º 2
0
 internal void LoadDictionary(string Dic)
 {
     if (!File.Exists(Dic + ".aff") || !File.Exists(Dic + ".dic"))
     {
         return;
     }
     SpellChecker = Hunspell.GetHunspell(Dic);
 }
        private void LoadHunspell()
        {
            var dictionary = Utilities.DictionaryFolder + GetLanguageCode();

            _hunspell?.Dispose();
            _hunspell = null;
            _hunspell = Hunspell.GetHunspell(dictionary);
        }
Exemplo n.º 4
0
 private void LoadHunspell(string dictionary)
 {
     _currentDictionary = dictionary;
     if (_hunspell != null)
     {
         _hunspell.Dispose();
     }
     _hunspell = Hunspell.GetHunspell(dictionary);
 }