term frequency normalization

2009-02-03 Thread Jochen Wersdörfer
Hi, i'd like to use the term frequency normalization described in http://wiki.apache.org/lucene-java/TREC%202007%20Million%20Queries%20Track%20-%20IBM%20Haifa%20Team so that the term frequency tf becomes tf(f, d) = log(1 + feq(t, d)) / log(1 + avgFreq(d)) The easiest way to change the tf

term frequency normalization

2009-02-03 Thread Jochen Wersdörfer
Hi, i'd like to use the term frequency normalization described in http://wiki.apache.org/lucene-java/TREC%202007%20Million%20Queries%20Track%20-%20IBM%20Haifa%20Team so that the term frequency tf becomes tf(f, d) = log(1 + feq(t, d)) / log(1 + avgFreq(d)) The easiest way to change the tf