sqrt(freq)
.
Terms and phrases repeated in a document indicate the topic of the document, so implementations of this method usually return larger values when freq
is large, and smaller values when freq
is small.
The default implementation calls {@link #tf(float)}. @param freq the frequency of a term within a document @return a score factor based on a term's within-document frequency
sqrt(freq)
.
Terms and phrases repeated in a document indicate the topic of the document, so implementations of this method usually return larger values when freq
is large, and smaller values when freq
is small.
The default implementation calls {@link #tf(float)}. @param freq the frequency of a term within a document @return a score factor based on a term's within-document frequency
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|