diff --git a/OpenSw/src/scripts/searcher.java b/OpenSw/src/scripts/searcher.java index d2fcab7..ae89cfe 100644 --- a/OpenSw/src/scripts/searcher.java +++ b/OpenSw/src/scripts/searcher.java @@ -170,11 +170,7 @@ private void calcSim(String[] keywords, Double[] keywordWeights, Double[] innerP } count += 1; } - - System.out.println(keywords.length); - System.out.println(indexRootSums.size()); - System.out.println(innerProduct.length); - + for (int i = 0 ; i < keywords.length ; i++) { weights.add(innerProduct[i] / ((keywordRootSums) * (indexRootSums.get(i))));