bogofilter 1.1.1 - New Stable Release

Boris 'pi' Piwinger 3.14 at piology.org
Sun Nov 26 16:51:40 CET 2006


David Relson <relson at osagesoftware.com> wrote:

>> >      --min-token-len=N           min len for single tokens
>> >      --max-token-len=N           max len for single tokens
>> >      --max-multi-token-len=N     max len for multi-word tokens
>> >      --multi-token-count=N       number of tokens per multi-word token
>> 
>> Since I already use arbitrary token-lenghts, I should use
>> --min-token-len=1. 
>> 
>> http://www.bogofilter.org/man_page.shtml does not explain
>> the use of the above options. What do you need to set for
>> arbitrary token length?
>> 
>> --multi-token-count=1 will be the traditional behavior,
>> right?
>> 
>> Can I set all these also in .bogofilter.cf?
>
>The man page doesn't explicitly document bogofilter's long options.
>Rather it directs users to bogofilter.cf.example for more info.  They
>are all documented there and can all be specified in the config file
>(or on the command line).  bogofilter.cf.example also indicates the
>default value for each option.

I don't understand the sentence "Note: if length not
specified, defaults to multi-token-count * max-token-len
(approx)". How do I unset max-token-len (default being 30)?

>"--min-token-len=1" will give you the single character tokens
>you want and "--multi-token-count=1" gives the traditional behavior.

Is my understanding correct, that the length business is
done outside lexer_v3.1?

pi



More information about the Bogofilter mailing list