Diego Pomatta wrote:
Jari Fredriksson escribió:
Hey list,

Can I feed a plain text file representing just the body
of a message to sa-learn?

/Diego

Yes you can, who to stop it?

I just sent your message body as --ham, and it told it learned one message.

I meant without the headers, just the body.
ok thanks


Well the short answer is, yes you can.

The slightly longer answer is that you won't get as good results doing this, as the Bayes system uses tokens found in the complete message. By only learning on the body you will not gain any advantage for tokens found in headers.


--
Anthony Peacock
CHIME, Royal Free & University College Medical School
WWW:    http://www.chime.ucl.ac.uk/~rmhiajp/
"A CAT scan should take less time than a PET scan.  For a CAT scan,
 they're only looking for one thing, whereas a PET scan could result in
 a lot of things."    - Carl Princi, 2002/07/19

Reply via email to