Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created Dec 25, 2020
Embed
What would you like to do?
l_chunks=[diz['chunk{}'.format(i+1)] for i in range(len(diz))]
text='\n'.join(l_chunks)
with open('recognized.txt',mode ='w') as file:
file.write("Recognized Speech:")
file.write("\n")
file.write(text)
print("Finally ready!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment