Search code examples
c#visual-studio-2010.net-4.0nhunspell

Possible to obtain NHunspell relevance score?


I've implemented NHunspell to a program where right now it uses the word on a textbox and gives suggestions according to the word, in the future I will try and implement it to read a full .txt file.

The thing is I would like to play later with the suggested words and maybe replace the original word with the top suggestion automatically according to the relevance value, and list maybe the top 3 or top5 suggestions. So the question is: Is it possible to obtain a value of some kind from these suggested words?

PS: NHunspell only accepts 1 word, is there a free or really cheap library that would let me spell check a sentence and give the suggestions according to all sentence and not word by word, being es-ES/pt-PT the priority dictionaries?

Thanks


Solution

  • The suggestions are ordered according to the relevance, that is all Hunspell provides.