nltk.translate package¶
Submodules¶
- nltk.translate.api module
- nltk.translate.bleu_score module
- nltk.translate.chrf_score module
- nltk.translate.gale_church module
- nltk.translate.gdfa module
- nltk.translate.gleu_score module
- nltk.translate.ibm1 module
- nltk.translate.ibm2 module
- nltk.translate.ibm3 module
- nltk.translate.ibm4 module
- nltk.translate.ibm5 module
- nltk.translate.ibm_model module
AlignmentInfo
AlignmentInfo.__init__()
AlignmentInfo.alignment
AlignmentInfo.center_of_cept()
AlignmentInfo.cepts
AlignmentInfo.fertility_of_i()
AlignmentInfo.is_head_word()
AlignmentInfo.previous_cept()
AlignmentInfo.previous_in_tablet()
AlignmentInfo.score
AlignmentInfo.src_sentence
AlignmentInfo.trg_sentence
AlignmentInfo.zero_indexed_alignment()
Counts
IBMModel
IBMModel.MIN_PROB
IBMModel.__init__()
IBMModel.best_model2_alignment()
IBMModel.hillclimb()
IBMModel.init_vocab()
IBMModel.maximize_fertility_probabilities()
IBMModel.maximize_lexical_translation_probabilities()
IBMModel.maximize_null_generation_probabilities()
IBMModel.neighboring()
IBMModel.prob_of_alignments()
IBMModel.prob_t_a_given_s()
IBMModel.reset_probabilities()
IBMModel.sample()
IBMModel.set_uniform_probabilities()
longest_target_sentence_length()
- nltk.translate.meteor_score module
- nltk.translate.metrics module
- nltk.translate.nist_score module
- nltk.translate.phrase_based module
- nltk.translate.ribes_score module
- nltk.translate.stack_decoder module
StackDecoder
StackDecoder.__init__()
StackDecoder.beam_threshold
StackDecoder.compute_future_scores()
StackDecoder.distortion_factor
StackDecoder.distortion_score()
StackDecoder.expansion_score()
StackDecoder.find_all_src_phrases()
StackDecoder.future_score()
StackDecoder.stack_size
StackDecoder.translate()
StackDecoder.valid_phrases()
StackDecoder.word_penalty
Module contents¶
Experimental features for machine translation. These interfaces are prone to change.
isort:skip_file