locked
How to add numeric values in the dictionary file of the spell checker RRS feed

  • Question

  • Hi,

    I am using spell checker in my application, this spell checker is further using dictionary file to validate the words, but this file don't have numeric values therefore checker is unable to ignore the numeric values that results that it is showing error for all the numeric values.

    here how I can add numeric values / some expression that help checker to ignore the numeric values.

    Tuesday, November 1, 2011 10:04 AM

Answers

  • Simply don't check numbers! You can check whether a certain string 'is' a number in various ways, including Int32.TryParse(). You should also ignore 'words' that contain numbers and give the user the option of also ignoring words in all caps.
    James Finch (MCDST) -- Please vote as helpful if you found this post helpful, or mark as answer if it answered your question.
    • Proposed as answer by Paul Zhou Wednesday, November 2, 2011 8:32 AM
    • Marked as answer by Paul Zhou Wednesday, November 9, 2011 7:48 AM
    Tuesday, November 1, 2011 4:56 PM