Revision: 7182
          http://svn.sourceforge.net/mahogany/?rev=7182&view=rev
Author:   vadz
Date:     2006-12-23 15:09:44 -0800 (Sat, 23 Dec 2006)

Log Message:
-----------
set up algorithm/tokenizer when creating DSPAM context, there are no more 
defaults for it in the latest version

Modified Paths:
--------------
    trunk/M/src/modules/spam/DspamFilter.cpp

Modified: trunk/M/src/modules/spam/DspamFilter.cpp
===================================================================
--- trunk/M/src/modules/spam/DspamFilter.cpp    2006-12-23 23:08:59 UTC (rev 
7181)
+++ trunk/M/src/modules/spam/DspamFilter.cpp    2006-12-23 23:09:44 UTC (rev 
7182)
@@ -63,6 +63,10 @@
                   mode,
                   flags
               );
+
+      // use default algorithm/tokenizer
+      m_ctx->algorithms = DSA_GRAHAM | DSA_BURTON | DSP_GRAHAM;
+      m_ctx->tokenizer = DSZ_CHAIN;
    }
 
    // destroy the context


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to