edit_distance: calculate edit distance between strings
This commit creates the edit_distance module for calculating various
edit distance measures. The edit distance quantifies the similarity
between two strings based on the number of modifications necessary to
turn one string into the other. There are several edit distance
measures which differ in the operations which are permitted and the
cost (aka weight) of the operations. This module provides functions
for calculating the Longest Common Subsequence (LCS), Levenshtein, and
Damerau-Levenshtein (restricted and unrestricted) distances. Weighted
versions of these functions can be created by defining cost functions
as preprocessor macros when compiling this module. Distances over
other array types (e.g. wide strings, integers, structs) can be
accomplished by defining the element type and equality test macros.
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

- [D] ccan/edit_distance/edit_distance-params.h