Not sure about the implementation in Lucene but term frequency is usually normalized. Wikipedia: http://en.wikipedia.org/wiki/Tf%E2%80%93idf#Mathematical_details
Marek PlusPlus wrote: > Hi, > > I was wondering why TF method gets a float parameter. Isn't frequency > always considered to be integer? > > public abstract float tf(float freq) > > Best, > Reza > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org