|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectSimilarityCalculator
public class SimilarityCalculator
The SimilarityCalculator class calculates the similarity between two documents.
| Constructor Summary | |
|---|---|
SimilarityCalculator()
|
|
| Method Summary | |
|---|---|
static double |
similarityScore(SortedWordList l1,
SortedWordList l2)
Given two SortedWordList objects, this method will calculate the cosine similarity score of the documents represented by the word lists. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimilarityCalculator()
| Method Detail |
|---|
public static double similarityScore(SortedWordList l1,
SortedWordList l2)
l1 - l2 -
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||