Spell Checker for text parser

Started by Guyserman82, Sun 28/10/2012 01:32:05

Previous topic - Next topic

Guyserman82

Hey, I'd like to have make a text parser game, but I'd like there to be a spell checker for it. Any idea how I'd write one?
Remember this is for running inside the AGS engine, not the IDE.

Khris

-Get a textfile with all dictionary words
-in the game, open it and load all words into an array
-constantly get the contents of the parser text field, split it into words and search the array for each one.
-devise a way of showing misspelled words, e.g. by drawing lines on the background of an unclickable GUI placed on top of the parser

SMF spam blocked by CleanTalk