blob: 091eb5f2c27bea0af799cfd68bce364a9bad3cd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
lua = ${LUA_SCRIPT};
settings {
id_test {
id = "id_test";
apply {
symbols_enabled = ["SIMPLE_TEST"];
}
}
id_pre { # implicit id
apply {
symbols_enabled = ["SIMPLE_PRE"];
}
}
}
classifier {
backend = "sqlite3";
statfile {
spam = true;
symbol = BAYES_SPAM;
path = "${TESTDIR}/data/bayes.spam.sqlite3";
}
statfile {
spam = false;
symbol = BAYES_HAM;
path = "${TESTDIR}/data/bayes.ham.sqlite3";
}
min_learns = 1;
min_token_hits = 1;
}
|