This commit is contained in:
M66B 2021-01-08 18:02:09 +01:00
parent c8410ddea8
commit fafa11a5bc
1 changed files with 0 additions and 3 deletions

View File

@ -52,9 +52,6 @@ public class MessageClassifier {
private static final Map<Long, Map<String, Integer>> classMessages = new HashMap<>(); private static final Map<Long, Map<String, Integer>> classMessages = new HashMap<>();
private static final Map<Long, Map<String, Map<String, Frequency>>> wordClassFrequency = new HashMap<>(); private static final Map<Long, Map<String, Map<String, Frequency>>> wordClassFrequency = new HashMap<>();
private static final double CHANCE_MINIMUM = 0.20;
private static final double CHANCE_THRESHOLD = 2.0;
static void classify(EntityMessage message, EntityFolder folder, EntityFolder target, Context context) { static void classify(EntityMessage message, EntityFolder folder, EntityFolder target, Context context) {
try { try {
if (!isEnabled(context)) if (!isEnabled(context))