mirror of https://github.com/M66B/FairEmail.git
Cleanup
This commit is contained in:
parent
c8410ddea8
commit
fafa11a5bc
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue