[zanata-bugs] [Bug 875965] [WebTrans] enable spell check in code mirror editor
bugzilla at redhat.com
bugzilla at redhat.com
Mon Nov 12 23:28:50 UTC 2012
https://bugzilla.redhat.com/show_bug.cgi?id=875965
--- Comment #1 from Patrick Huang <pahuang at redhat.com> ---
Comment copied from bug 872384:
Patrick Huang 2012-11-08 23:12:13 EST
did some research and below options seems promising:
library: http://code.google.com/p/google-api-spelling-java/
description: This is a simple Java API that makes it very easy to call Google's
spell checker service from Java applications.
pros: simple and easy to use
cons: calling google api means external network traffic
library: https://github.com/dren-dk/HunspellJNA
description: Hunspell is the spell checker of LibreOffice, OpenOffice.org,
Mozilla Firefox 3 & Thunderbird, Google Chrome.
pros: lots of dictionaries
cons: written in c++ and required a JNA binding
library: http://jazzy.sourceforge.net/
description: pure java based spellchecker and based on most of the algorithms
that aspell has
pros: pure java implementation
cons: no update since 2005 and sourceforge only have English dictionary
[reply] [-] Comment 8 Sean Flanigan 2012-11-09 02:22:43 EST
Hmm, Hunspell sounds good, but deploying Zanata could become a real nightmare
if we start using JNA.
I still think a toggle is the only option that makes sense for a short-term
solution, but just for completeness, I did spot these quick and dirty Hunspell
ports too:
Javascript: http://code.google.com/p/bjspell/
Java: http://code.google.com/p/lucene-hunspell/ (tied to Lucene for some
reason)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the zanata-bugs
mailing list