I have implemented a fuzzy matching algorithm and I would like to evaluate its recall using some sample queries with test data.
Let's say I have a document containing the text:
{"text": "The quick brown fox jumps over the lazy dog"}
I want to see if I can retrieve it by testing queries such as "sox" or "hazy drog" instead of "fox" and "lazy dog".
In other words, I want to add noise to strings to generate misspelled words (typos).
What would be a way of automatically generating words with typos for evaluating fuzzy search?