nltk.cluster.euclidean_distance()

nltk.cluster.euclidean_distance(u, v)[source]

Returns the euclidean distance between vectors u and v. This is equivalent to the length of the vector (u - v).