Search code examples
nhunspell

Add words to a Hunspell SpellEngine


I am using the Hunspell SpellEngine class and want to add custom words to one of the underlying Hunspell languages but cannot seem to find a method or property that will return a Hunspell() instance. For example, I create a LanguageConfig for en-US, add it to the SpellEngine but then I have no way via

SpellEngine["en-US"].

To add words to it as I would via

Hunspell h = new Hunspell();
h.Add(word);

Solution

  • I will add this functionality and release a new package