Spell Checking
One of the error types that can be done while writing spellings is non word error.
Non word Error: These are the errors where the word doesn‘t exist in the dictionary.
E.g.
1. He is a gud boy.
2. She is a nce girl.
Gud, nce are the words that don‘t exist in English Dictionary.
Correct statements are:
1. He is a good boy.
2. She is a nice girl.
In spell checker the basic tasks are:
1. Error Detection
2. Suggestion Prediction
1. Error Detection Technique
There are various methods of error detection. They are mainly using two methods which are
- Dictionary Lookup Method
- N-Gram Technique
1. Edit Distance:
e.g. Distance between the words ‘gud’ and ‘good’ will be 2, since the following two edits can change one into the other, similarly:
G G Same
O U Substitution of u in place of o
O - Deletion of o
D D Same
2. Grammar Checking [Rule based approach]
This is the approach where we match the text with a set of rules and that has been at least POS tagged.
2.1 Tense Based Grammar Checker:
Tenses are verb-based method used to indicate the time, sometimes the continuation or completeness, of an action. The tenses they are focusing
• Present
• Past
• Future
No comments:
Post a Comment