February 4th, 2014, 12:34 PM
Code to check word spelling
I need to code a program that checks spelling. I'm not sure how to code it. I will have the correct spelling saved, I need to compare the user submitted spelling of the word.
In the specification I must include a point system where the user gets 2 points for correct epelling, 1 if it's only a minor mistake, 0 if it's a serious mistake.
Any ideas how would I code this ? Thanks.
February 6th, 2014, 04:52 PM
To test to see if the word is spelled correctly, you can follow the advice give in this post on Stack Overflow.
As to figuring out if the error is minor or serious, you'd need to determine what the rules are on what constitutes a minor vs what constitutes a major error.