nltk.test.unit.translate.test_ibm2 module

Tests for IBM Model 2 training methods

class nltk.test.unit.translate.test_ibm2.TestIBMModel2[source]

Bases: unittest.case.TestCase

test_set_uniform_alignment_probabilities()[source]
test_set_uniform_alignment_probabilities_of_non_domain_values()[source]
test_prob_t_a_given_s()[source]