When tallying up the ham/spam score for each word, add one spam point to each word, known or not. This will skew known words, and thus all messages, including ham, slightly towards spam. That shouldn't really be a problem, however. But word lists, containing many unknown words, will suddenly look strongly spammy.