1

NHunspell 是否可以生成所有已识别/有效单词的列表?据我记得,从命令行使用 hunspell (unmunch) 是可能的。

从当前的 hunspell 文档中:

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)
4

1 回答 1

1

不,目前 NHunspell 无法做到这一点,因为它不是 Hunspell 库的一部分,而只是 Hunspell 命令行工具。我已经在 NHunspell 中实现了 Hunspell 库的几乎所有功能,但不是所有命令行工具。如果您希望实现它,请在 NHunspell 论坛中建议此功能: http ://www.crawler-lib.net/boards/forum/5/nhunspell

于 2014-09-17T16:03:58.387 回答