def METHOD_NAME(self):
    # arrange
    corpus = [
        AlignedSent(["ham", "eggs"], ["schinken", "schinken", "eier"]),
        AlignedSent(["spam", "spam", "spam", "spam"], ["spam", "spam"]),
    ]
    model3 = IBMModel3(corpus, 0)
    # act
    model3.set_uniform_probabilities(corpus)
    # assert
    # expected_prob = 1.0 / length of target sentence
    self.assertEqual(model3.distortion_table[1][0][3][2], 1.0 / 2)
    self.assertEqual(model3.distortion_table[4][2][2][4], 1.0 / 4)