⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bogotune.1in

📁 一个C语言写的快速贝叶斯垃圾邮件过滤工具
💻 1IN
字号:
.\" ** You probably do not want to edit this file directly **.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1)..\" Instead of manually editing it, you probably should edit the DocBook XML.\" source for it and then use the DocBook XSL Stylesheets to regenerate it..TH "BOGOTUNE" "1" "03/27/2006" "" "".\" disable hyphenation.nh.\" disable justification (adjust text to left margin only).ad l.SH "NAME"bogotune \- find optimum parameter settings for bogofilter.SH "SYNOPSIS".HP 9\fBbogotune\fR [\-c\ \fIconfig\fR] [\-C] [\-d\ \fIdir\fR] [\-D] [\-r\ \fIvalue\fR] [\-T\ \fIvalue\fR] \-n\ \fIokfile\fR\ [[\-n]\ \fIokfile\fR\ [...]] \-s\ \fIspamfile\fR\ [[\-s]\ \fIspamfile\fR\ [...]] [\-M\ \fIfile\fR].HP 9\fBbogotune\fR [\-h].SH "DESCRIPTION".PPBogotunetries to find optimum parameter settings forbogofilter. It needs at least one set each of spam and non\-spam messages. The production wordlist is normally used, but it can be directed to read a different wordlist, or to build its own from half the supplied messages..PPIn order to produce useful results,bogotunehas minimum message count requirements. The wordlist it uses must have at least 2,000 spam and 2,000 non\-spam in it and the message files must contain at least 500 spam and 500 non\-spam messages. Also, the ratio of spam to non\-spam should be in the range 0.2 to 5. If you directbogotuneto build its own wordlist, it will use the half the input or 2000 messages (whichever is larger) for the wordlist..PPMessage files may be in mbox, maildir, or MH folder or any combination. Msg\-count files can also be used, but not mixed with other formats..SH "OPTIONS".PPThe\fB\-h\fRoption prints the help message and exits..PPThe\fB\-v\fRoption increases the verbosity level. Level 1 displays the scan output in detail instead of using a progress meter..PPThe\fB\-c\fR\fIfilename\fRoption tellsbogofilterto read the config file named..PPThe\fB\-C\fRoption preventsbogotunefrom reading a configuration file..PPThe\fB\-d\fR\fIdir\fRoption specifies the directory for the database. See the ENVIRONMENT section for other directory setting options..PPThe\fB\-D\fRoption tellsbogotuneto build a wordlist in memory using the input messages. The messages are read and divided into two groups. The first group is used to build a wordlist (in ram) and the second is used for tuning. To meet the minimum requirements of 2000 messages in the wordlist and 500 messages for testing, when\fB\-D\fRis used, there must be 2500 non\-spam and 2500 spam in the input files. If there are enough messages (more than 4000), they will be split evenly between wordlist and testing. Otherwise, they will be split proportionately..PPThe\fB\-n\fRoption tellsbogotunethat the following argument is a file (or folder) containing non\-spam. Since version 1.0.3, multiple arguments to the\fB\-n\fRoption can be given. All non\-option arguments until the next\fB\-s\fRoption will be treated as though they had been preceded by\fB\-n\fR.PPThe\fB\-s\fRoption tellsbogotunethat the following argument is a file (or folder) containing spam. It can be repeated as often as necessary. Since version 1.0.3, multiple arguments to the\fB\-s\fRcan be given. All non\-option arguments until the next\fB\-n\fRoption will be treated as though they had been preceded by\fB\-s\fR..PPThe\fB\-r \fR\fB\fIvalue\fR\fRoption tellsbogotuneto use the following parameter as the robx value..PPThe\fB\-T \fR\fB\fIvalue\fR\fRoption tellsbogotuneto use the following parameter as fp target value..PPThe\fB\-M \fR\fB\fIfile\fR\fRoption tellsbogotuneto convert the file to message count format. This format provides a sorted list of each message's unique tokens, along with their ham and spam counts. Sorting hides the sense of the messages quite effectively, thus protecting privacy. The message\-count format allowsbogotuneandbogofilterto score messages quickly without needing the original token database..SH "ENVIRONMENT".PPBogofilteruses a database directory, which can be set in the config file. If not set there,bogofilterwill use the value of\fBBOGOFILTER_DIR\fR. Both can be overridden by the\fB\-d\fR\fB\fIdir\fR\fRoption. If none of that is available,bogofilterwill use directory\fI$HOME/.bogofilter\fR..SH "BUGS".PPBogotuneis not particularly robust when presented with garbage input..SH "AUTHOR".PPThebogofilterdeveloper team..PPFor updates, see[1]\&\fI the bogofilter project page\fR..SH "SEE ALSO ".PPbogofilter(1), bogolexer(1), bogoupgrade(1), bogoutil(1).SH "REFERENCES".TP 31.\ the bogofilter project page\%http://bogofilter.sourceforge.net/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -