from dia_function import dialogueBreakdown def dialogue_gen(path): filename1 = path refined, total_scenes = dialogueBreakdown().getRefined(filename1) sluglines, without_slug = dialogueBreakdown().getSlugAndNonSlug(refined) total_scenes = len(sluglines) characters = dialogueBreakdown().getSpeakers(without_slug) main_lis = dialogueBreakdown().getListForPrevAndNextDialogue(refined, characters) scenes, parenthetical_count_dict, predecessor_scene_no_dict, successor_scene_no_dict, actionline, parenthetical_lis, speakers, dia_count, dialogues, slugline_dic = dialogueBreakdown().getScenes(refined, total_scenes, characters) print("-"*50) print("-"*50) print("-"*50) print("-"*50) print("-"*50) print(dialogues) dialogue_gen("/home/user/mnf/project/MNF/conversion/subtitling/newFrench.docx")