'Performs STT, transcribing an audio file and returning the result.
Arguments:
fp -- a file object containing audio data'

def transcribe(self, fp):

    fp.seek(44)
    data = fp.read()
    self._decoder.start_utt()
    self._decoder.process_raw(data, False, True)
    self._decoder.end_utt()
    result = self._decoder.get_hyp()
    with open(self._logfile, 'r+') as f:
        for line in f:
            self._logger.debug(line.strip())
        f.truncate()
    transcribed = [result[0]]
    self._logger.info('Transcribed:    %r', transcribed)
    return transcribed
