nltk.test.unit.translate.test_ibm4 module

Tests for IBM Model 4 training methods

class nltk.test.unit.translate.test_ibm4.TestIBMModel4[source]

Bases: TestCase

test_set_uniform_distortion_probabilities_of_max_displacements()[source]
test_set_uniform_distortion_probabilities_of_non_domain_values()[source]
test_prob_t_a_given_s()[source]