def _build_record(self, name, speaker_id):
        prefix = self._get_speaker_dir(speaker_id) + '_' + name
        txt_path = os.path.join(self.get_txt_dir(speaker_id), prefix + '.txt')
        try:
            with open(txt_path, 'r') as f:
                transcription = f.read()
        except __HOLE__:
            transcription = None
        audio = prefix + '.wav'
        full_audio_path = os.path.join(self.get_wav_dir(speaker_id), audio)
        if not os.path.exists(full_audio_path):
            audio = None
        tags = []  # TODO: eventually extract words / radicals
        r = Record(self, speaker_id, audio, tags, transcription, STYLE)
        self.add_record(r)
dataset/ETHPy150Open omangin/multimodal/multimodal/db/models/vctk.py/VCTKDB._build_record