Home
last modified time | relevance | path

Searched refs:shannon_correction (Results 1 – 1 of 1) sorted by relevance

/dports/textproc/dbacl/dbacl-1.14.1/src/
H A Dcatfun.c649 weight_t shannon_correction = 0.0; in score_word() local
674 shannon_correction = 1.0 + log((weight_t)h->count * in score_word()
677 shannon_correction += log((weight_t)h->count)*(weight_t)h->count in score_word()
691 shannon_correction = 1.0 - log(2.0 * M_PI)/2.0; in score_word()
693 shannon_correction = 0; in score_word()
843 cat[i].score_shannon += shannon_correction; in score_word()