nlp - NHunspell - 如何生成所有可识别的单词?

标签 nlp hunspell nhunspell

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/

相关文章:

c# - 文本哈希技巧在 Python 和 C# 中产生不同的结果

thread-safety - Hunspell 线程安全吗?

c# - 如何在不区分大小写的情况下检查 Hunspell 中的拼写

c# - 使用 aff 文件时出现 System.EntryPointNotFoundException

c# - 从资源加载 .dic 和 .aff 文件?

python - 如何解决程序中同一产品(手机)的两个稍有不同的名称?

machine-learning - 有没有术语识别的算法或解决方案?

c++ - 根据定义将单词映射到数字

PHP 8 - 附魔不工作 - 经纪人返回一个空数组