code: def greedy_mapping(self, reference, hypothesis, uem=None):
          
          if uem:
              reference, hypothesis = self.uemify(reference, hypothesis, uem=uem)
          return self.mapper_(hypothesis, reference)
docs: Greedy label mapping
  
          Parameters
          ----------
          reference : Annotation
          hypothesis : Annotation
              Reference and hypothesis diarization
          uem : Timeline
              Evaluation map
  
          Returns
          -------
          mapping : dict
              Mapping between hypothesis (key) and reference (value) labels