1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2013
    Rep Power

    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.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2008
    Rep Power
    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.

IMN logo majestic logo threadwatch logo seochat tools logo