The pseudo-document O is an exponentially-weighted moving average of these vectors.
for each training sentence, letê be the 1-best translation; after processing the sentence, we update O, and its input length O f : We can then calculate the B score of hypotheses e in the context of O.