Modularity

Adriano Nagelschmidt Rodrigues anr at estadao.com.br
Mon Jan 13 15:34:28 CET 2003


Matthias Andree writes:
> Not quite. While -f and -r (Fisher-Robinson) and (Robinson) share their
> registration, -g (Graham) uses a different registration procedure, and
> the filter algorithm is queried for parameters.

Can they be made common (eg a superset of the information is stored in the
dbs)?

I may be asking naive questions, bogofilter is a blackbox to me.

> OTOH, these programs share a lot of common code (like the tokenizer,
> data base, and recently, MIME stuff), so that we'd exchange like 10
> percent of these programs with the other 90% being linked in unchanged.

What about a libbogo.{so,a}?

> I wonder if that's worth the effort. It might make the man pages more
> concise though ;-)

Yes, for example, when I decided to add the '-f' switch last night, it wasn't
clear to me if I would have compatibility problems with the existent ham/spam
databases and if I needed to use it with [nNsS].

Regards,

--
Adriano




More information about the Bogofilter mailing list