Advanced Techniques in Spelling Correction
Explore various methods such as edit distance, n-gram overlap, Jaccard coefficient, and context-sensitive spell correction for accurate document editing and word correction. Learn how these techniques help improve accuracy in language processing tasks.
Download Presentation
Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
E N D
Presentation Transcript
SPELLING CORRECTION By Dr. huda abdulaali
EXAMPLE Find the edit distance to convert A b c d e f to a z c e d null null A Z C E d A 1 0 1 2 3 4 B 2 1 1 2 3 4 C 3 2 2 1 2 3 D 4 3 3 2 2 2 E 5 4 4 3 2 3 F 6 5 5 4 3 3 0 1 2 3 4 5
N-GRAM OVERLAP the n-grams in the query string as well as in the lexicon * use the n-gram index (recall wild-card search) to retrieve all lexicon terms matching any of the query n- grams
EXAMPLE A= { 7, 3, 2, 4, 1} B= { 4, 1, 9, 7, 5} find the Jc distance AU B { 1, 2, 3, 4, 7, 9} A B { 1, 4, 7} 3 / 7