fixed error, run until both are 0
compute word posterior probabilities from nbest list