public float tf(int freq, int passageLen) {float norm = k1 * ((1 - b) + b * (passageLen / pivot));return freq / (freq + norm);}
public virtual float Tf(int freq, int passageLen){float norm = k1 * ((1 - b) + b * (passageLen / pivot));return freq / (freq + norm);}