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: [email protected] For additional commands, e-mail: [email protected]
