什么是良好的拼写检查?谷歌拼写检查的hunspell或 [英] What is good for spell checker? Google spell checker or Hunspell

查看:231
本文介绍了什么是良好的拼写检查?谷歌拼写检查的hunspell或的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关我的asp.net网站,我需要拼写检查功能。我发现了一些有趣的解决方案做到这一点。


1.谷歌拼写检查
2中的hunspell。
两者都是免费的。对于我的理解,我意识到这两个办法的一些缺点和优点。

有关谷歌拼写检查器,它提供了不正确的字更正确的词,但给人的hunspell几点建议。而谷歌拥有最新的建议,但Hunspell以及它依赖于开放式办公字典。


就我而言,我只需要一个建议。
对于缺点,我不得不依赖谷歌进行拼写检查。如果谷歌服务出现故障,它会为我的网站太多影响。


那么,什么将是适合我的网站。这是好主意,选择谷歌拼写检查?
是否有检查拼写任何非免费的解决方案?


解决方案

我想,这是很好的使用的hunspell

之所以使用的hunspell


  

NHunspell是基于中的hunspell和带来的开放式办公咒语
  检查,断字和词库到Microsoft®.NET框架。
  NHunspell是一个.NET(C#,VB)库和包装了本机库
  Hunspell以及连字符和MyThes。


  
  

综合库中的OpenOffice使用,并与工作
  词典出版了OpenOffice.org。


  
  GPL / LGPL / MPL:

NHunspell被授权。商业免费使用
  应用是根据LGPL和MPL许可证允许的。你的
  商业应用可以链接反对NHunspell的DLL。


从一个评论:


  

    

拼写检查的hunspell的hunspell是一个拼写检查


    
    

形态学分析器和发生器。它词干
    功能找到词干。它允许的代
    衍生形式(复数,...)从词干。


  
  
  

SpellEngine - 拼写检查


  
  

断字和同义词的服务器
  和Web服务器(ASP.NET)SpellEngine允许线程安全
  拼写检查要求的执行。它是一个组件opimzed为
  服务器。所有NHunspell功能(拼写检查,断字,
  词库,分析和生成)是集成。为了确保
  CPU的充分利用几个要求,一是Hunspell以及
  连字符或MyThes每个处理器或处理器被实例化
  芯和由一个信号控制的。多个词典可以
  安装服务于不同的语言。拼写检查,
  断字,并在多语言应用程序同义词
  支持无需额外编程。


来源: 1 ,的2

For my asp.net website, I need spell check functionality. I found some interesting solutions to do it.

1. Google spell checker
2. Hunspell.
Both are free. For my understanding I realized some cons and pros for both approach.

For Google spell checker, it gives much more correct word for incorrect word but Hunspell gives several suggestions. And Google has up to date suggestions but Hunspell,it depends on Open Office dictionary.

In my case, I need only one suggestion. For cons, I have to depend on Google for spell checking. If Google service is down, it will effect for my site too.

So, what will be suitable for my site. Is it good idea to choose Google spell checker? Is there are any non free solutions for spell checking?

解决方案

I think, it's good to use Hunspell

Reason for using 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.

From one of the comments:

Spell Checker: Hun­spell Hun­spell is a spell checker,

mor­pho­log­i­cal an­a­lyzer and gen­er­a­tor. It has stem­ming func­tions to find word stems. It al­lows the gen­er­a­tion of de­rived forms (plu­ral, ...) from the word stem.

Spel­lEngine - Spell Check,

Hyphen­ation and Th­e­saurus for Server and Web Server (ASP.NET) Spel­lEngine al­lows the thread-safe ex­e­cu­tion of spell check re­quests. It is a com­po­nent opimzed for servers. All NHun­spell fea­tures (spell check, hy­phen­ation, the­saurus, anal­y­sis and gen­er­a­tion) are in­te­grated. To en­sure full uti­liza­tion of the CPUs on sev­eral re­quests, one Hun­spell, Hyphen or MyThes is in­stan­ti­ated per pro­ces­sor or pro­ces­sor core and con­trolled by a sem­a­phore. Mul­ti­ple dic­tio­nar­ies can be in­stalled to serve dif­fer­ent lan­guages. Spell check, hy­phen­ation, and syn­onyms in mul­ti­lin­gual ap­pli­ca­tions are sup­ported with­out any ad­di­tional pro­gram­ming.

source: 1, 2

这篇关于什么是良好的拼写检查?谷歌拼写检查的hunspell或的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆