Wordlist Distances

Overview

Compute the distance of two wordslists by building the union of both wordlists and dividing this through the max length of both.

Reference

class munin.distance.wordlist.WordlistDistance(provider=None)[source]

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)

Table Of Contents

Related Topics

This Page

Useful links:

Package:

Github: