Spell Check and Soundex
Spell Check and Soundex
Spell Check and Soundex
SPELL Checking
• A Spell checker is one of the basic tools required for language processing.
• used in
– Word processing
Soundex
13
Sec. 3.4
15
Sec. 3.4
16
Sec. 3.4
Soundex continued
4. Remove all pairs of consecutive digits.
5. Remove all zeros from the resulting string.
6. Pad the resulting string with trailing zeros and
return the first four positions, which will be of the
form <uppercase letter> <digit> <digit> <digit>.
Grate, Great
Network, network
Henry, Henary
Torn
Worn
Horn
• Soundex code for some words:
Word Soundex code
Grate, Great G630
Network, network N362
Henry, Henary H560
Torn T650
Worn W650
Horn H650