fixed issue caused by using negative infinity as log likelihood of word in class that has never seen it