code: def readTraining(self, training_file):
          '''
          Read training from previously built training data file object
  
          Arguments:
  
          training_file -- file object containing the training data
          '''
  
          logger.info('reading training from file')
          training_pairs = json.load(training_file,
                                     cls=serializer.dedupe_decoder)
          self.markPairs(training_pairsf readTraining(self, training_file):
          '''
          Read training from previously built training data file object
  
          Arguments:
  
          training_file -- file object containing the training data
          '''
  
          logger.info('reading training from file')
          training_pairs = json.load(training_file,
                                     cls=serializer.dedupe_decoder)
          self.markPairs(training_pairs)
docs: Read training from previously built training data file object
  
          Arguments:
  
          training_file -- file object containing the training data