(self, utt_list)
return new_meta
Select utts and perform a shallow copy.
Select utts and perform a shallow copy.
Select utts and perform a shallow copy .
def select_utts(self, utt_list):
    ''' Select utts and perform a shallow copy. '''
    new_meta = KaldiMetaData()
    for utt_key in utt_list:
      new_meta.utts[utt_key] = self.utts[utt_key]
    new_meta.collect_spks_from_utts()
    return new_meta
def select_utts ( self , utt_list ) : new_meta = KaldiMetaData ( ) for utt_key in utt_list : new_meta . utts [ utt_key ] = self . utts [ utt_key ] new_meta . collect_spks_from_utts ( ) return new_meta