Tim Arnold wrote: > I've got a list of 1000 common misspellings, and I'd like to check a set of > text files for those misspellings. A much simpler way would be to just store these misspellings as a dictionary (or set), read and split each line into words, then check whether each of words is in the set. Istvan