import speech def analyse_file_by_path(file_path): transcript = speech.analyse(file_path) return transcript