how to implement idf in java?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1960333/any-tutorial-or-code-for-tf-idf-in-java">Any tutorial or code for Tf Idf in java</a>  </p>
</blockquote>



<p>IDF is inverse document frequency.</p>

<p>IDF = log(document containing the term / number of documents)</p>

<p>How to do it in java ? </p>

<p>Any advices? </p>
