edu.stanford.nlp.linalg
Interface Similarity
- All Known Implementing Classes:
- AbstractMetric, Cosine
- public interface Similarity
Interface for a set of static classes which have a similarity function similarity(Array i, Array j), which returns a double rating the similarity of the two vectors
Method Summary |
double |
similarity(Array i,
Array j)
returns the similarity of document i and j according to the similarity measure defined in this class |
similarity
public double similarity(Array i,
Array j)
- returns the similarity of document i and j according to the similarity measure defined in this class
Stanford NLP Group