Compute the distance of two wordslists by building the union of both wordlists and dividing this through the max length of both.
Compare a list of words using average linkage.
Takes: an iterable of words and compares them directly.
This class is supposed to be overriden, but can also be used as fallback.
__call__ is implemented as shortcut to compute()
Parameters: | name (String.) – Name of the DistanceFunction (used for display) |
---|