.netnhunspell

Is NHunspell thread safe?


Is the NHunspell spelling library thread-safe?

On NHunspell's home page it reads "Keep in mind that the Hunspell object is not thread safe." However, may be there is an alternative thread-safe class in the library?

For clarity, this question refers to the .NET variant of Hunspell.


Solution

  • YES but only IF you use the SpellEngine and SpellFactory classes: