Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created December 25, 2020 08:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/2718c88105ff8ba975d70a0e520c963b to your computer and use it in GitHub Desktop.
Save amankharwal/2718c88105ff8ba975d70a0e520c963b to your computer and use it in GitHub Desktop.
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