--
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>
>
--
View this message in context:
http://old.nabble.com
:I was wondering why TF method gets a float parameter. Isn't frequency
: always considered to be integer?
:
:public abstract float tf(float freq)
Take a look at how PhraseQuery and SPanNearQuery use tf(float).
For simple terms (and TermQuery) tf is always an integer, but when dealing
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 int
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
--
View this message in context:
http://old.nabble.com/Why-is-frequency-a-float-number-tp27714523p27714523.html
Sent fro