Undo change in requirements for counting as a high tf-idf word
This commit is contained in:
parent
f0b4acb358
commit
32a6735d03
@ -40,7 +40,7 @@ public class WordsTfIdfCounts implements WordReps, Comparator<WordRep> {
|
|||||||
int value = getTermValue(key, cnt, maxVal);
|
int value = getTermValue(key, cnt, maxVal);
|
||||||
|
|
||||||
tfIdf.put(key, value);
|
tfIdf.put(key, value);
|
||||||
if (cnt > 2 && value > 100) {
|
if (cnt > 1 && value > 100) {
|
||||||
highTfIdfInstances.add(key);
|
highTfIdfInstances.add(key);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user