def parse_transcript(self, transcript_path):
    with open(transcript_path, 'r', encoding='utf8') as transcript_file:
        transcript = transcript_file.read().replace('\n', '')
    if self.use_jamo:
        transcript = split_syllables(transcript)
    transcript = list(filter(None, [self.labels_map.get(x) for x in list(transcript)]))
    return transcript
def parse_transcript(self, transcript_path):
    with open(transcript_path, 'r', encoding='utf8') as transcript_file:
        transcript = transcript_file.read().replace('\n', )
    if self.use_jamo:
        transcript = split_syllables(transcript)
    transcript = list(filter(None, [self.labels_map.get(x) for x in list(transcript)]))
    return transcript