242526272829303132
tf.add(3); Vector<Integer> idf=new Vector<Integer>(); idf.add(1000); PwaTFxIDF ranker=new PwaTFxIDF(tf,idf,100,10000000); System.out.println(ranker.score()); assertTrue(ranker.score()==0.2763102111592855); }