nltk.test.unit.translate.test_ibm5 module

Tests for IBM Model 5 training methods

class nltk.test.unit.translate.test_ibm5.TestIBMModel5[source]

Bases: TestCase

test_set_uniform_vacancy_probabilities_of_max_displacements()[source]
test_set_uniform_vacancy_probabilities_of_non_domain_values()[source]
test_prob_t_a_given_s()[source]
test_prune()[source]