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)
最佳答案
不,目前 NHunspell 无法做到这一点,因为它不是 Hunspell 库的一部分,而只是 Hunspell 命令行工具的一部分。我已经在 NHunspell 中实现了 Hunspell 库的几乎所有功能,但不是所有命令行工具。如果您希望实现它,请在 NHunspell 论坛中建议此功能: http://www.crawler-lib.net/boards/forum/5/nhunspell
关于nlp - NHunspell - 如何生成所有可识别的单词?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25889173/