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

📄 t.mh

📁 一个C语言写的快速贝叶斯垃圾邮件过滤工具
💻 MH
字号:
#! /bin/sh# Note:  When run via "make check", test output files are automatically deleted.#	 When run from the command line, output files are left in directory#	 MH.YYYYMMDD.  This is useful when something is different.##	 ./inputs/spam.mbx & ./inputs/good.mbx  - test inputs#	 ./outputs - known correct outputs##	 MH.YYYYMMDD:#		directory containing individual output filesNODB=1 . ${srcdir=.}/t.frameOUT="${TMPDIR}/MH.out"CORRECT="${OUTPUTS}/MH.out"for f in good spam ; do    mkdir $TMPDIR/$f    cat ${srcdir}/inputs/$f.mbx | (cd $TMPDIR/$f && splitmbox )done$BOGOFILTER -C -D -n $v -B $TMPDIR/good$BOGOFILTER -C -D -s $v -B $TMPDIR/spamwordlist=".MSG_COUNT Lotus Magazine Min Service connection more most set that unsubscribe"$BOGOUTIL -C -w $WORDLIST $wordlist >$OUT || rm -f $OUTif  [ $verbose -eq 0 ]; then    cmp $CORRECT $OUTelse    diff $DIFF_BRIEF $CORRECT $OUTfi

⌨️ 快捷键说明

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