Adobe Interview Question

How spam classifier works and why is it different from the keyword-based algorithmic model?