While the distance measurements illustrated in the Finding the distance between text recipe are useful, we are often interested in the differences between two different versions of text that consist of multiple sentences. The Diff Match Patch library provides support for this task.
In this recipe, we will illustrate how to find the differences between two sentences and then between a series of sentences. After that, we will demonstrate how to find differences between text files.