code: def markPairs(self, labeled_pairs):
          '''
          Argument :
  
          labeled_pairs -- A dictionary with two keys, `match` and `distinct`
                           the values are lists that can contain pairs of records
          '''
          self._checkTrainingPairs(labeled_pairs)
  
          for label, examples in labeled_pairs.items():
              self.training_pairs[label].extend(examples)
  
          if self.active_learner:
              examples, y = flatten_training(labeled_pairs)
              self.active_learner.mark(examples, yf markPairs(self, labeled_pairs):
          '''
          Argument :
  
          labeled_pairs -- A dictionary with two keys, `match` and `distinct`
                           the values are lists that can contain pairs of records
          '''
          self._checkTrainingPairs(labeled_pairs)
  
          for label, examples in labeled_pairs.items():
              self.training_pairs[label].extend(examples)
  
          if self.active_learner:
              examples, y = flatten_training(labeled_pairs)
              self.active_learner.mark(examples, y)
docs: Argument :
  
          labeled_pairs -- A dictionary with two keys, `match` and `distinct`
                           the values are lists that can contain pairs of records