Classes for spelling correction and edit distance.