Advanced Techniques in Spelling Correction

Slide Note
Embed
Share

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.


Uploaded on Sep 20, 2024 | 0 Views


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


  1. SPELLING CORRECTION By Dr. huda abdulaali

  2. SPELL CORRECTION

  3. DOCUMENT CORRECTION

  4. ISOLATED WORD CORRECTION

  5. EDIT DISTANCE

  6. 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

  7. 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

  8. EXAMPLE WITH TRIGRAMS

  9. ONE OPTION JACCARD COEFFICIENT

  10. 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

  11. CONTEXT-SENSITIVE SPELL CORRECTION

  12. T Q

Related


More Related Content