Netspell service without UI
Brought to you by:
pwelter34
Is it possible to run netspell as a service without a GUI?
For example I would like to take some word(s) or phrase
and spell check it and replace it with the corrected
words.
NetSpell.SpellChecker.Spelling spelling;
spelling = new
NetSpell.SpellChecker.Spelling();
spelling.Dictionary.DictionaryFolder =
@"..\..\..\..\dic";
spelling.Text = "philps";
spelling.SpellCheck();
for (int i= 0; i < spelling.Suggestions.Count;
i++)
{
Console.WriteLine(spelling.Suggestions
[i].ToString());
}
without further user interaction.
Thank you,
Ged