Case Study
Spelling dictionary
- 30,000 words
- static
- arbitrary(ish) preprocessing time
Goals
- fast spell checking
- minimal storage
Practical notes
- almost all searches are successful
- words average about 8 characters in length
- 30,000 words at 8 bytes/word is 1/4 MB
- pointers are 4 bytes
- there are many regularities in the structure of English words