How to create custom NHunspell dictionary?

496 views Asked by At

I have made a C# windows application using NHunspell with its english dictionary.

What I need is another list of some English words to make my dictionary(not all English words). So if I delete all the words in the .dic text file and add my word list as following, will it work correctly?

NHunspell.Hunspell hunspell = new NHunspell.Hunspell(".affPath", ".dicPath");
String[] words = GetUserWords();
foreach (String word in words)
   hunspell.Add(word);
0

There are 0 answers