문제

You can add words to NHunspell (.NET port of Hunspell) as such

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

What if I need to remove a word from the object? Is there a way to remove a word from the NHunspell object without having to create a new one and adding custom words again?

도움이 되었습니까?

해결책

Currently (1.1.0.0) remove is not implemented in NHunspell but i consider to implement it in the next version

Addition: Since ( 1.1.1.0) remove is implemented.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top