title: Any tutorial or code for Tf Idf in java
body: <p>I am looking for a simple java class that can compute tf-idf calculation. I want to do similarity test on 2 documents. I found so many BIG API who used tf-idf class. I do not want to use a big jar file, just to do my simple test. Please help !
  Or atlest if some one can tell me how to find TF? and IDF? I will calculate the results :)
  OR
  If you can tell me some good java tutorial for this.
  Please do not tell me for looking google, I already did for 3 days and couldn't find any thing :(
  Please also do not refer me to Lucene :(</p>