1

我已经使用 NHunspell 及其英语词典制作了一个 C# windows 应用程序。

我需要的是另一个列出一些英语单词的列表来制作我的字典(不是所有的英语单词)。因此,如果我删除 .dic 文本文件中的所有单词并添加我的单词列表如下,它会正常工作吗?

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

0 回答 0