The higher the BLEU score is, or the lower the TER score is, the better the translation quality is.
the denominator is the sentence translation probability summing over all possible alignments, which can be calculated similar to IBM Model 1 in (Brown et al., 1994): Note that here only the word-based lexicon model is used to compute the confidence measure.