Spell Checker

Status: New request

Created by bcammo 09 Jul 2010 01:03

rating: +1+x

The title says it all really. An integrated spell checker would make the editor much more friendly for composing page content. I'm not sure if you can tap into the spell checking functions of the user's OS?

One step further would be auto-correction of commonly mispelt wrods :)

Bryce


wdavatar?user=leiger
leiger

09 Jul 2010 03:02. Edited 0 times. (Edit, Permalink)
This would be awesome. Thanks for the ideas.

Included page "inc:signature" does not exist (create it now)

wdavatar?user=leiger
leiger

10 Jul 2010 03:34. Edited 0 times. (Edit, Permalink)
Does Mac OS X have built-in spell checking?

The easiest way for me to do something like this would be to check for invalid module names and that type of thing. So if it sees "[[module" in the source code, it'd check that the following module name is valid.

Checking all words for a particular language is definitely possible (anything is possible!) but I need to look into it a bit more. Most solutions I've found just now with a quick search seem to either be commercial, or they are far too complicated and have a ton of features I'd never use in STE.

I could start off with an empty dictionary. That would mean that every single word you type would be marked as incorrect until you added it to the dictionary! XD

Included page "inc:signature" does not exist (create it now)

wdavatar?user=bcammo
bcammo

11 Jul 2010 11:46. Edited 0 times. (Edit, Permalink)

Does Mac OS X have built-in spell checking?

Well I think so, but not being a programmer I'm really not sure about how you would use it…

Included page "inc:signature" does not exist (create it now)

wdavatar?user=leiger
leiger

11 Jul 2010 14:28. Edited 1 times. (Edit, Permalink)
Does the method described here make spell check work in STE?

Included page "inc:signature" does not exist (create it now)

wdavatar?user=bcammo
bcammo

12 Jul 2010 07:53. Edited 0 times. (Edit, Permalink)
Nope. I can't even right click within STE.

Included page "inc:signature" does not exist (create it now)

wdavatar?user=leiger
leiger

12 Jul 2010 08:27. Edited 1 times. (Edit, Permalink)
I've been doing some research and it seems that it is possible to tap into Apple's custom JRE and to access OS-specific features, including the Mac spell check feature. However, without a Mac of my own - and the fact that I would then need to keep two copies of the source code (one for Mac, one for everything else) - it isn't really a perfect solution.

However, Apple provides many features in addition to the core Java APIs. Spelling, integration with QuickTime, and the Apple look and feel, for example, are specific to the Macintosh, and you will have trouble porting applications that use them to another platform unless you're willing to change some of your application's code. However, this book will help you recognize what is Mac-specific, and you'll soon avoid these APIs or adjust them for use on other platforms when cross-platform compatibility is a concern.

Source: http://book.javanb.com/mac-os-x-for-java-geeks/0596004001_macxjvgks-chp-2-sect-3.html

Instead, I think I'll just write a spell checker of my own. I'm hoping that the most difficult part will be getting a dictionary of words into the application. I've got to find a list of current Australian English, UK English and US English words (other languages might be added later) - and that list needs to be easy to add to the application. If each word was to be on it's own line in a text file … that would work.

Included page "inc:signature" does not exist (create it now)

wdavatar?user=leiger
leiger

12 Jul 2010 08:33. Edited 0 times. (Edit, Permalink)
Oh WTF. Mac includes "Integrated support for XML-RPC and SOAP" in their custom JRE! If I was using a Mac I would have been able to connect to the Wikidot API almost instantly, instead of spending several weeks (I think at least a month) trying to figure it out! XD

Sure, it would only work on Mac if I had done it that way, but at least I would have less hair pulling-out and more messing-around-having-fun with the Wikidot API.

Included page "inc:signature" does not exist (create it now)

wdavatar?user=leiger
leiger

24 Sep 2012 02:54. Edited 0 times. (Edit, Permalink)
Moved to 4.xx feedback list

Included page "inc:signature" does not exist (create it now)

Post Reply

Add reply on "Spell Checker"

CSS Theme, Images and Code on this website are © Shane Smith 2010-2012. All forum posts by users and documentation licensed under Creative Commons BY-NC-SA 3.0 License.