- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
对于我的 asp.net 网站,我需要拼写检查功能。我找到了一些有趣的解决方案。
1. Google 拼写检查器
2. Hunspell。
两者都是免费的。据我了解,我意识到这两种方法都有一些缺点和优点。
对于 Google 拼写检查器,它会为不正确的单词提供更多正确的单词,但 Hunspell 会给出一些建议。谷歌有最新的建议,但 Hunspell,它取决于 Open Office 词典。
就我而言,我只需要一个建议。不利的是,我不得不依赖谷歌进行拼写检查。如果 Google 服务出现故障,它也会影响我的网站。
那么,什么将适合我的网站。选择谷歌拼写检查器是个好主意吗?是否有任何非免费的拼写检查解决方案?
最佳答案
我觉得,用Hunspell还是不错的
使用原因 Hunspell
NHunspell is based on Hunspell and brings the Open Office spell checking, hyphenation and thesaurus to the Microsoft® .NET Framework. NHunspell is a .NET (C#, VB) library and wraps the native libraries Hunspell, Hyphen and MyThes.
The integrated libraries are used in OpenOffice and work with the dictionaries published on OpenOffice.org.
NHunspell is licenced under: GPL/LGPL/MPL. Free use in commercial applications is permitted according to the LGPL and MPL licenses. Your commercial application can link against the NHunspell DLLs.
来自评论之一:
Spell Checker: Hunspell Hunspell is a spell checker,
morphological analyzer and generator. It has stemming functions to find word stems. It allows the generation of derived forms (plural, ...) from the word stem.
SpellEngine - 拼写检查,
服务器的断字和词库 和 Web 服务器 (ASP.NET) SpellEngine 允许线程安全 执行拼写检查请求。它是一个优化的组件 服务器。所有 NHunspell 功能(拼写检查、断字、 词库、分析和生成)集成在一起。以确保 在几个请求上充分利用 CPU,一个 Hunspell, 连字符或 MyThes 按处理器或处理器实例化 核心并由信号量控制。多个词典可以 安装以服务于不同的语言。拼写检查, 多语言应用程序中的连字符和同义词是 无需任何额外编程即可支持。
关于c# - 拼写检查器有什么用?谷歌拼写检查器或 Hunspell,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16141985/
我正在尝试在我的 Windows 10 x64 机器上pip install hunspell,但出现以下错误: C:\Users\a>pip install hunspell Collecting
我正在尝试在我的 Windows 10 x64 机器上pip install hunspell,但出现以下错误: C:\Users\a>pip install hunspell Collecting
我在使用 hunspell 拼写检查器和俄语词典时遇到了一些问题。问题是我的项目与英语配合良好,但如果我要连接俄语并尝试检查我的单词的拼写,它总是返回 0(意味着没有结果)。这是我的代码(适用于英语)
我正在尝试在ES 2.3,Ubuntu 16.4上安装Hunspell。 从http://download.services.openoffice.org/contrib/dictionaries/下
我已经很好地下载并编译了hunspell。现在我想在 wxWidgets 上制作一个测试应用程序,我开始寻找示例或教程。到目前为止我还没有找到。我可以找到“示例”可执行文件但没有代码(可能隐藏在某个地
我想在所有子目录中运行 Hunspell 并检查其中的所有 markdown 文件。 简单吧? 所以我写道:find ./-type f -exec hunspell -l *.md {}\; 当我运
我有一个特定的问题重新排序 hunspell 返回的拼写错误的建议词。这些词似乎以字母顺序返回。我想按相关性对建议进行排序,即最接近的匹配应该首先出现。我无法通过 hunspell api 找到任何方
我正在尝试为斯洛伐克语支持设置弹性字典,但弹性找不到 hunspell 文件。 使用 Ubuntu 19.04 服务状态 询问 上传的字典 我无法摆脱这个问题。帮助表示赞赏:) 最佳答案 问题解决了,
美好的一天。 我正在尝试在我的应用程序中使用 Hunspell 作为词干分析器。我不太喜欢 porter 和 snowball 词干提取,因为它们的“切碎”词结果如“abus”、“exampl”。 L
我想解析支持 hunspell 格式的开放式办公室 aff和 dic文件。 英文aff和 dic文件可以从这里下载,例如:http://extensions.openoffice.org/en/pro
Hunspell 拼写库线程安全吗? 最佳答案 答案是不, 一个简单的多线程测试应用程序显示 Hunspell 使用每个实例的资源进行拼写过程,因此任何时候只有一个线程可以使用它 - 使用锁/工作队列
我有一个关于为 hunspell 构建自定义词典的问题。 我现在正在使用通用英语词典和词缀文件。如何为我的每个用户将用户指定的单词添加到该词典? 最佳答案 如果您的语言不存在,请为您的语言创建您自己的
我想使用 hunspell 对我的 repo 进行拼写检查。但是,当我尝试运行它时,出现以下错误: Can't open affix or dictionary files for dictionar
我期待使用 pip 安装 hunspell 包,但它抛出以下错误: Collecting hunspell Using cached hunspell-0.4.1.tar.gz Building
有没有一种简单的方法可以从 Hunspell/Aspell 字典数据文件中生成人类可读的屈折列表? 例如,我想生成以下输出(针对不同的语言): ... 书,书 预订,预订,预订,预订 ... 去,去,
您好,我正在制作一个桌面应用程序 (C#),用于检查输入单词的拼写。我正在使用 Hunspell,它是我使用 NuGet 添加到我的项目中的。我有 2 个文件 aff 文件和 dic 文件。 usin
我已经集成了 Hunspell在 Windows 7 上使用 Visual Studio 2010 的非托管 C++ 应用程序中。 我有适用于英语的拼写检查和建议,但现在我正试图让这些东西适用于西类牙
我正在尝试在 Ubuntu 10.10 上编译这个使用 hunspell 库和 gcc(版本 4.6.3)的纯 C 源代码: #include #include #include int mai
有人在 Android 平台上成功实现了 Hunspell 拼写检查器吗?有可能吗?你试过了吗?结果呢? 提前致谢。 最佳答案 我使用 Hunspell 创建了 SpellCheckerService
对于我的 asp.net 网站,我需要拼写检查功能。我找到了一些有趣的解决方案。 1. Google 拼写检查器 2. Hunspell。 两者都是免费的。据我了解,我意识到这两种方法都有一些缺点和优
我是一名优秀的程序员,十分优秀!