Spelling check system
hi,
can we make spelling check system using GS? if so, any hints? can the system detect if the typed word is misspelled and then make the player get the points (spelling is not important)
eg..
the wright word is success where player typed sucess
can we make spelling check system using GS? if so, any hints? can the system detect if the typed word is misspelled and then make the player get the points (spelling is not important)
eg..
the wright word is success where player typed sucess
Comments
for a simple word like success user could type:
Sucess
Success
sucess
suecess
SUCCESS
and so on …
and none of those would be processed by the computer as a match for the correct word
you could ask for userInput letter by letter
then rules could be confined to either of two conditions
EX: firstLetter
Rule: when (Any)
Attribute: userInput = S
Attribute: userInput = s
-changeAttribute: whatever (tableCellValue/gameAttribute) To: what designates correct
tables work great for this type of processing
==
see: http://en.wikipedia.org/wiki/Spell_checker