Added a simple smoothing method where if the word does not exist then it will subtract 1/word_count from one and take the log of that to add (in this case it will be adding a negative) so that it lowers the probability that the document belongs to that category.