lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marek Rei <mr...@chu.cam.ac.uk>
Subject Re: Why is frequency a float number
Date Thu, 25 Feb 2010 21:28:38 GMT
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message