A niave Baysian spam filter, written in Java