Remembering Common Typos

Remembering Common Typos

When a user is typing a long document, it’s common that they will make certain mistakes many times. For example, a user might habitually omit particular double letters, or be prone to transposing certain letter sequences (for example typing “teh” instead of “the”). Update your spell checker to remember misspellings and their corrections, rather than doing a complete search each time the misspelling is encountered.

Hint 1

Some high level hint text

Hint 2

Some more detailed hint text

Hint 3

Even more detailed hint text


A complete solution for the exercise