[cvs] bogofilter/src robinson.c,1.64,1.65 robinson.h,1.11,1.12
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <re...@us...> - 2003-12-28 05:10:31
|
Update of /cvsroot/bogofilter/bogofilter/src In directory sc8-pr-cvs1:/tmp/cvs-serv11434 Modified Files: robinson.c robinson.h Log Message: Remove unneeded statements. Index: robinson.c =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/src/robinson.c,v retrieving revision 1.64 retrieving revision 1.65 diff -u -d -r1.64 -r1.65 --- robinson.c 28 Dec 2003 03:52:41 -0000 1.64 +++ robinson.c 28 Dec 2003 04:04:48 -0000 1.65 @@ -29,8 +29,6 @@ double thresh_rtable = 0.0; /* used in fisher.c */ -#define ROBX_S ".ROBX" - static bool need_stats = false; static rob_stats_t rob_stats; Index: robinson.h =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/src/robinson.h,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- robinson.h 28 Dec 2003 03:52:41 -0000 1.11 +++ robinson.h 28 Dec 2003 04:04:49 -0000 1.12 @@ -6,16 +6,11 @@ #include <method.h> -#define ROBS 0.010 /* Robinson's s */ -#define ROBX 0.415 /* Robinson's x */ - #define ROBINSON_MIN_DEV 0.0 /* if nonzero, use characteristic words */ #define ROBINSON_SPAM_CUTOFF 0.54 /* if it's spammier than this... */ #define ROBINSON_MAX_REPEATS 1 /* cap on word frequency per message */ #define ROBINSON_GOOD_BIAS 1.0 /* don't give good words more weight */ - -#define ROBX_W ".ROBX" extern bool first_match; extern bool degen_enabled; |