Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi,

I want to create a simple application in which user type a passage and passage match with already added a passage with the following rules in windows application using c#.

Spacing Errors : Where no space is provided between two words,
e.g. ‘Ihope’ or undesired space is provided between the words or
letters of a word e.g. hope I have, ‘I hxxave’.

For every spelling error committed by way of repetition, or addition or
transposition or omission or substitution of a letter/letters, e.g. the word
‘spelling’ typed as ‘seeplings’ etc.

Wrong Capitalisation : Wrong use of capital letter for small letter
and vice-versa. (This does not apply to Hindi typewriting scripts).

This above rule use to check type passage to already added software. How this possible. Please help me.
Thanks in advance
Posted
Comments
joshrduncan2012 23-Oct-13 15:25pm    
Help you with what? You haven't shown us anything on your part first as what have you tried so far. Do you want someone to do the work for you, cause that won't happen here.
Ram Kumar(Webunitech) 24-Oct-13 10:28am    
Hi I am not just asking the whole code and not says to any one to do for me. I am just want a little bit hint for this problme and logic for doing this. Ok If you are unable to give hint then not put this type of answer
Sergey Alexandrovich Kryukov 23-Oct-13 15:45pm    
Why RichTextBox? how is it related to any controls at all?
—SA
Ram Kumar(Webunitech) 24-Oct-13 10:31am    
Dear sir In any control please give me just hint how i do this i try many times because user type any thing in textbox so i need little bit help on this problem.
Sergey Alexandrovich Kryukov 24-Oct-13 11:17am    
This can turn out to be a really big work. First of all, you would need to have some dictionaries, at the least. Then you need to have some grammar description. In languages with such simple grammar as English, it would be much easier, but even with English it's too far from an easy task. Even with such a simple topic as capitalization. For example, English "we" should be capitalized at the beginning of the sentence, but not in the middle, but pronoun "I" is always capitalized (very many people from India mistakenly write "i" instead). And so on... Discussing of all that in a Quick Answer would be just not serious. And you are trying to mix up those complex things with controls, jump to nearly irrelevant UI. Heard of separation of concerns?
—SA

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