|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ITermWeighting
Calculates term weights for the term-document matrix.
TermDocumentMatrixBuilder| Method Summary | |
|---|---|
double |
calculateTermWeight(int termFrequency,
int documentFrequency,
int documentCount)
Calculates the weight of a term for a single document. |
| Method Detail |
|---|
double calculateTermWeight(int termFrequency,
int documentFrequency,
int documentCount)
termFrequency - frequency of the term in the documentdocumentFrequency - the number of documents containing the termdocumentCount - total number of documents
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||