Spell check for Quest

OurJud
16 Dec 2015, 00:44
How difficult would it be to implement a spell-checker for Quest?

I'm trying to get into the habit of using a WP to write my room descriptions now, but the first two dozen rooms of my game are going to be riddled with errors because I rely so heavily on spell-checkers these days.

The Pixie
16 Dec 2015, 07:41
I suggested a spell checker back in August 2011, so I guess pretty tricky...
https://github.com/textadventures/quest/issues/210

OurJud
16 Dec 2015, 10:51
Ah well.

Alex
16 Dec 2015, 12:18
Last time I looked the state of spell checkers was pretty bad. There were no good ones that were suitable for including with an open source project. This was true for Windows software and it was also just as bad for web-based software too.

As always I'm open to suggestions.

As a side note, feature requests are vastly more likely to be considered if they come with offers of help to implement them. Research how the feature might be implemented and put forward a plan. There are lots of random little requests on the issue tracker that are realistically never going to happen, so at some point I'll get round to closing them, unless somebody cares passionately enough about a request to want to put some time into making it happen.

OurJud
16 Dec 2015, 13:18
Alex wrote:As a side note, feature requests are vastly more likely to be considered if they come with offers of help to implement them. Research how the feature might be implemented and put forward a plan.

I appreciate the point, but this would only really be a realistic proposal if we were all professional programmers/coders. Personally, I wouldn't even know where to start researching adding a spell-checker to Quest, let along assist in its implementation.

george
17 Dec 2015, 03:23
The only open source spell checker I know of off-hand is Aspell for Linux. There's a Windows port but the last binary was released in 2002 as far as I could tell. However a quick Google shows people are still using it successfully in 2015.

Some more Googling shows Hunspell as a possible candidate. "Hunspell is the spell checker of LibreOffice, OpenOffice.org, Mozilla Firefox 3 & Thunderbird, Google Chrome, and it is also used by proprietary software packages, like Mac OS X, InDesign, memoQ, Opera and SDL Trados."

Tinyspell is a free Windows utility that might work however it seems more like freeware than open source so integration may be more difficult.

HegemonKhan
17 Dec 2015, 03:40
there's also the free spell-checker, known as humans, yourself or other people~friends, hehe ;)
(find some friend to be your editor or proof-reader, laughs)

The Pixie
17 Dec 2015, 07:56
You can go Tools - Code view, copy all that into a word processor, and use that to check for errors. Best way is when you find an error, go back to the GUI and change it there, rather than change it in the word processor and then paste it back into Quest. Not at all easy though.

Alternatively, if you do not clear the screen at all during play, you can play the game (perhaps from a walk-through), and copy-and-paste the output into the word processor. Of course any response not encountered will not get checked.

george
17 Dec 2015, 16:10
The more I look at this the more possibilities there are:

http://www.crawler-lib.net/nhunspell