//evd.getD().print(6, 2);
Map<String,Double> termTots = new HashMap<String,Double>();
for(int i=0;i<evr.length;i++) {
for(String term : vectors.get(i).keySet()) {
if(ir.docFreq(new Term("txt", term)) < 10) continue;
if(!termTots.containsKey(term)) termTots.put(term, 0.0);
termTots.put(term, termTots.get(term) + (vectors.get(i).get(term)));
}
}
//System.out.println("termTots: " + termTots.size());