nltk.IBMModel4.set_uniform_probabilities

IBMModel4.set_uniform_probabilities(sentence_aligned_corpus)[source]

Set distortion probabilities uniformly to 1 / cardinality of displacement values