Search code examples
nlphunspellnhunspell

NHunspell - How to generate all recognized words?


Is it possible with NHunspell to generate the list of all recognized/valid words? As far as I remember it was possible with hunspell (unmunch) from the command line.

From current hunspell documentation:

munch: dictionary generation from vocabularies (it needs an affix file, too).
unmunch: list all recognized words of a MySpell dictionary 
wordforms: word generation (Hunspell version of unmunch)

Solution

  • No, that is not possible with NHunspell at the moment because it isn't part of the Hunspell library but only the Hunspell command line tool. I've implemented nearly all functions of the Hunspell library in NHunspell, but not all command line tools. If you want it implemented please suggest this feature in the NHunspell forum: http://www.crawler-lib.net/boards/forum/5/nhunspell