Update spamFilter.java

preprocess is working, though not as efficient as one would hope.