Fuzzy membership of a term to the document

2010-02-24 Thread PlusPlus
Hi, I want to change the Lucene's similarity in a way that I can add Fuzzy memberships to the terms of a document. Thus, TF value of a term in one document is not always 1, it can add 0.7 to the value of the TF ( (In my application, each term is contained in a document at most once). This memb

Why is frequency a float number

2010-02-25 Thread PlusPlus
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 from the Lucen

Changing TF method

2010-02-27 Thread PlusPlus
Hi, I want to change the Lucene's similarity in a way that I can add Fuzzy memberships to the terms of a document. Thus, TF value of a term in one document is not always 1, it can add 0.7 to the value of the TF ( (In my application, each term is contained in a document at most once). This mem

Re: Why is frequency a float number

2010-03-04 Thread PlusPlus
Thanks for the reply. Actually what I'm looking for is to have a kind of fuzzy memberships for the terms of a document. That is, for each term of a document, I will have a membership value for that term and each term will be in each document, at most once. For that, I will need float TF and IDF