Click here to Skip to main content
15,901,284 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hai,

In my project i want to give marks for a sentence after checking spelling mistakes and grammer mistakes. This desktop application, in this user has to type anwser, when click ok button i want to comapre user's anwser with orginal anwser and automatically assign marks for that answer. So please give me d guidelines to achieve this.

Thanks
Sujith T.P
Posted
Comments
Sergey Alexandrovich Kryukov 29-Nov-11 0:07am    
"Click OK button" are the magical words...
--SA

Without formalization of the problem, there is nothing to talk about.

Something tells me you don't have such formalization. Let's see: instead of "I want to compare user's answer with original answer" you put "i want to comapre user's anwser with or_ginal anwser". Five words out if eight are misspelled (62.5%; to me, a little too many for the one going to automate testing of a level of literacy :-)).

Do you want to reduce as many points for capitalization as for inverted letters? How about wrong letters (it indicates more of illiteracy then mechanically inverted letters, perhaps during fast typing)? What about total gibberish? How are you going to identify the words if they are misspelled and the number of works is different? There can be a correct variant different from the "original spelling". What, are you going to subtract points even if the answer is actually correct? I don't even mention syntax.

I feel you whole life won't be enough to answer all the questions. If you think I'm wrong, please provide a fully formalize system of testing. Programming won't be a problem at all. :-)

—SA
 
Share this answer
 
v2
SQL Server 2008 R2 has full text catalog search feature. It helps you to match the best pattern for the question and answer.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900