Prev: Easiest way to read a XML doc from file, reformat it and write it indented to a second file?
Next: Last Call for Papers Reminder (extended): World Congress on Engineering and Computer Science WCECS 2010
From: Joshua Cranmer on 15 Jul 2010 20:12 On 07/15/2010 06:39 PM, Arne Vajh�j wrote: > On 15-07-2010 17:25, Joshua Cranmer wrote: >> On 07/15/2010 02:36 PM, Daniel Pitts wrote: >>> I'd like to emulate the Firefox/thunderbird real-time spell-checking >>> feature in a (signed) Java applet. Right now, the user is entering data [ ... ] > Native code could be a problem in a Java applet. I forgot to mention, the library includes Win x86, Linux x86/x86-64 and Mac x86/x86-64/PPC. The only important missing environment is Win x86-64; perhaps Linux ARM (i.e., mobile) may be useful. Hunspell should build on most major platforms, so it's more a question of gaining access to such a build environment. -- Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth
From: Arne Vajhøj on 15 Jul 2010 20:21 On 15-07-2010 20:12, Joshua Cranmer wrote: > On 07/15/2010 06:39 PM, Arne Vajh�j wrote: >> On 15-07-2010 17:25, Joshua Cranmer wrote: >>> On 07/15/2010 02:36 PM, Daniel Pitts wrote: >>>> I'd like to emulate the Firefox/thunderbird real-time spell-checking >>>> feature in a (signed) Java applet. Right now, the user is entering data > > [ ... ] > >> Native code could be a problem in a Java applet. > > I forgot to mention, the library includes Win x86, Linux x86/x86-64 and > Mac x86/x86-64/PPC. The only important missing environment is Win > x86-64; perhaps Linux ARM (i.e., mobile) may be useful. Hunspell should > build on most major platforms, so it's more a question of gaining access > to such a build environment. But what about the deployment. JNI used to be a big no no in applets. Better with Java Web Start ? Arne
From: Jeff Higgins on 15 Jul 2010 20:37 On 7/15/2010 4:00 PM, Daniel Pitts wrote: > On 7/15/2010 12:43 PM, Jim Janney wrote: >> Daniel Pitts<newsgroup.spamfilter(a)virtualinfinity.net> writes: >> >>> I'd like to emulate the Firefox/thunderbird real-time spell-checking >>> feature in a (signed) Java applet. Right now, the user is entering >>> data in a JTextArea, but I'm willing to replace that, as long as the >>> replacement has word-wrap. >>> >>> If there are good libraries available that don't have UI integration, >>> that's fine too, I can probably handle that part myself. Grammar >>> suggestion is a nice-to-have. I only need, and will probably only >>> ever need English correction. >>> >>> To be specific, The goal is to provide red-underlined text for >>> misspelled words, and allow easy correction from a pop up/context >>> menu. >> >> This one does all of that. >> >> http://www.wintertree-software.com/dev/ssce/javasdk.html >> > Thanks. > I did forget to mention that free is very important, and open-source is > a big nice-to-have. I'm guessing that you're asking for recommendations from users of Java spell-check libraries rather than references to the same. I don't have recommendations, but a web search reveals a seeming abundance of FOS Java spell-check libraries. One that caught my eye, in fact the first hit for java+spell+check was Jazzy. Are there some FOS Java spell-check libraries that you are certain you will not use?
From: Daniel Pitts on 16 Jul 2010 04:48
On 7/15/2010 5:37 PM, Jeff Higgins wrote: > On 7/15/2010 4:00 PM, Daniel Pitts wrote: >> On 7/15/2010 12:43 PM, Jim Janney wrote: >>> Daniel Pitts<newsgroup.spamfilter(a)virtualinfinity.net> writes: >>> >>>> I'd like to emulate the Firefox/thunderbird real-time spell-checking >>>> feature in a (signed) Java applet. Right now, the user is entering >>>> data in a JTextArea, but I'm willing to replace that, as long as the >>>> replacement has word-wrap. >>>> >>>> If there are good libraries available that don't have UI integration, >>>> that's fine too, I can probably handle that part myself. Grammar >>>> suggestion is a nice-to-have. I only need, and will probably only >>>> ever need English correction. >>>> >>>> To be specific, The goal is to provide red-underlined text for >>>> misspelled words, and allow easy correction from a pop up/context >>>> menu. >>> >>> This one does all of that. >>> >>> http://www.wintertree-software.com/dev/ssce/javasdk.html >>> >> Thanks. >> I did forget to mention that free is very important, and open-source is >> a big nice-to-have. > > I'm guessing that you're asking for recommendations from users of Java > spell-check libraries rather than references to the same. Correct. GIMF. I found a few references, but I have never utilized such a library, so I'm not sure which features might be useful or which APIs are mature. > > I don't have recommendations, but a web search reveals a seeming > abundance of FOS Java spell-check libraries. One that caught my eye, in > fact the first hit for java+spell+check was Jazzy. > > Are there some FOS Java spell-check libraries that you are certain you > will not use? Any one that is broken beyond my ability to repair it ;-) -- Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/> |