...
Alternatively, "hit-frequencies" has the -o
switch to measure overlap; warning, however, this can be quite a bit slower and RAM-hungry than running without it, as it then needs to track a lot more data internally.
Usage
usage:
Wiki Markup |
---|
hit-frequencies \[-c rules dir\] \[-f\] \[-m RE\] \[-M RE\] \[-X RE\] \[-l LC\] \[-s SC\] \[-a\] \[-p\] \[-x\] \[-i\] \[spam log\] \[ham log\] |
-c p | use p as the rules directory, default: "../rules" |
-f | falses. count only false-negative or false-positive matches |
-m RE | print rules matching regular expression |
-t RE | print rules with tflags matching regular expression |
-M RE | only consider log entries matching regular expression |
-X RE | don't consider log entries matching regular expression |
-l LC | also print language specific rules for lang code LC (or 'all') |
-L LC | only print language specific rules for lang code LC (or 'all') |
-a | display all tests |
-p | percentages. implies -x |
-x | extended output, with S/O ratio and scores |
-s SC | which scoreset to use |
-i | use IG (information gain) for ranking |
...