def distance(self, document1, document2, *args, **kwargs):
        return distance(document1.vector, document2.vector, *args, **kwargs)
    
#   def cluster(self, method=KMEANS, k=10, iterations=10)
#   def cluster(self, method=HIERARCHICAL, k=1, iterations=1000)
Calculate a minimal set of prefixes for Juniper match conditions.
dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/Model.distance--crossover with--dataset/ETHPy150Open google/capirca/lib/juniper.py/Term._MinimizePrefixes