Changes between Version 13 and Version 14 of SpamFilter
- Timestamp:
- Oct 27, 2006, 12:43:11 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SpamFilter
v13 v14 5 5 6 6 == Supported Filtering Strategies == 7 8 Prior to version 0.2.x, the SpamFilter plugin would reject a submission if any single filter strategy said it was spam. Since 0.2, the individual strategies assign scores (“karma”) to submitted content, and the total karma determines whether a submission is rejected or not. 7 9 8 10 === Regular Expressions === … … 22 24 The use of this filter requires a [http://www.wordpress.com Wordpress] API key. The API key is configured in [wiki:TracIni trac.ini] in a separate section: 23 25 26 For version 0.1.x of the plugin: 27 24 28 {{{ 25 29 [akismet] … … 27 31 }}} 28 32 33 For version 0.2.x: 34 35 {{{ 36 [spam-filter] 37 akismet_api_key = 1234567890 38 }}} 39 29 40 === Bayes === 30 41 31 42 ''TODO'' (The code in svn uses [http://spambayes.org SpamBayes], which is a logical choice. It would make sense to use a custom tokenizer, however, rather than the email-centric one that is included with [http://spambayes.org SpamBayes]. The bigger issue is that some form of training is required (e.g. the API could be extended so that (optionally) authenticated users (and the other filters) could report contributions as spam (using automatic training to assume that everything else is ham); however, this is a complex change). An alternative to this would be a script that could be periodically executed that would train all existing contributions as ham, and gather spam from an appropriate source. If you decide to continue with this in the future, please don't hestiate to ask [mailto:spambayes-dev@python.org spambayes-dev] for help. 43 44 == WebAdmin Integration == 45 46 Since version 0.2, the SpamFilter plugin provides integration with WebAdmin for configuration and monitoring. For monitoring purposes, it optionally logs all activity to a table in the database. Upgrading the environment is necessary to install the database table required for this logging. 32 47 33 48 == Get the Plugin == … … 43 58 || Trac || Spam Filter || 44 59 || [milestone:0.10] || latest || 45 || [milestone:0.11]dev || latest ||60 || [milestone:0.11]dev || latest, but using the Genshi version of WebAdmin || 46 61 47 62 See TracPlugins for instructions on building and installing plugins.