|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface marks all matrices that maintain raw document X term occurrences
Method Summary | |
void |
addWords(Entity entity,
WordFrequencyMapEntityValue newWords)
Adds the (word, frequency) pairs in newWords associated with the given document. |
double |
getSimilarityBetween(Entity a,
Entity b)
Returns the similarity between the two documents, which should be between 0 and 1. |
ClusterableMatrix |
toClusterableMatrix()
Returns a ClusterableMatrix of the documents in this matrix. |
Method Detail |
public ClusterableMatrix toClusterableMatrix()
public void addWords(Entity entity, WordFrequencyMapEntityValue newWords)
public double getSimilarityBetween(Entity a, Entity b)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |