public double computeProbability(BasicStats stats) {return (stats.getTotalTermFreq()+1D) / (stats.getNumberOfFieldTokens()+1D);}

public double computeProbability ( BasicStats stats ) { return ( stats . getTotalTermFreq ( ) + 1D ) / ( stats . getNumberOfFieldTokens ( ) + 1D ) ; }
public virtual float ComputeProbability(BasicStats stats){return (stats.TotalTermFreq + 1F) / (stats.NumberOfFieldTokens + 1F);}
