class_docstr: Lexical translation model that ignores word order
  
  >>> bitext = []
  >>> bitext.append(AlignedSent(['klein', 'ist', 'das', 'haus'], ['the', 'house', 'is', 'small']))
  >>> bitext.append(AlignedSent(['das', 'haus', 'ist', 'ja', 'groß'], ['the', 'house', 'is', 'big']))
  >>> bitext.append(AlignedSent(['das', 'buch', 'ist', 'ja', 'klein'], ['the', 'book', 'is', 'small']))
  >>> bitext.append(AlignedSent(['das', 'haus'], ['the', 'house']))
  >>> bitext.append(AlignedSent(['das', 'buch'], ['the', 'book']))
  >>> bitext.append(AlignedSent(['ein', 'buch'], ['a', 'book']))
  
  >>> ibm1 = IBMModel1(bitext, 5)
  
  >>> print(round(ibm1.translation_table['buch']['book'], 3))
  0.889
  >>> print(round(ibm1.translation_table['das']['book'], 3))
  0.062
  >>> print(round(ibm1.translation_table['buch'][None], 3))
  0.113
  >>> print(round(ibm1.translation_table['ja'][None], 3))
  0.073
  
  >>> test_sentence = bitext[2]
  >>> test_sentence.words
  ['das', 'buch', 'ist', 'ja', 'klein']
  >>> test_sentence.mots
  ['the', 'book', 'is', 'small']
  >>> test_sentence.alignment
  Alignment([(0, 0), (1, 1), (2, 2), (3, 2), (4, 3)])
code: def align_all(self, parallel_corpus):
      for sentence_pair in parallel_corpus:
          self.align(sentence_pair)
  
file_path: nltk/nltk/translate/ibm1.py
imports: import warnings
  from collections import defaultdict
  from nltk.translate import AlignedSent, Alignment, IBMModel
  from nltk.translate.ibm_model import Counts
label_desc: Use image node_id 7 for calling the IBMModel1 obj's underlying member method code with example usage: obj.align_all(parallel_corpus) without return types