Yes, coord() can return zero. The score (for that clause) would then be zero (though not null).

        Erik

On Jan 9, 2005, at 4:15 PM, ABDOU Samir wrote:

Hello,

Is it possible to the coordination factor computed in the class BooleanScorer to have a zero value?

Look at the method computeCoordFactors():

private final void computeCoordFactors() {
coordFactors = new float[maxCoord];
for (int i = 0; i < maxCoord; i++)
coordFactors[i] = getSimilarity().coord(i, maxCoord-1);
}
When i=0 the computed coordination factor will have a zero value. The score then can be null !!!




Best regards,

Samir


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to