1

I'm trying to use t.scribe to transcribe an AWS transcription.

pip install tscribe
Successfully installed
aws-transcribe-transcript-master istrauss$ tscribe.write("gabi.json", format="docx")
-bash: syntax error near unexpected token `"gabi.json",'

I copied the format in the doc exactly (just changed the file name to my file) so I don't know what the syntax error could be.

This is my third attempt to convert my json transcription into something more readable. I'm just looking for a simple way to do this — it's just for me to view my own transcript locally, and there's only one speaker.

codi6
  • 516
  • 1
  • 3
  • 18
  • Did you get the change to look at the AWS CLI commands provided for AWS Transcribe service? Link: https://docs.aws.amazon.com/cli/latest/reference/transcribe/index.html – Abdullah Khawer May 06 '20 at 00:03

1 Answers1

2

tscribe · PyPI is a Python library. You would need to call it from a Python script:

import tscribe

tscribe.write("gabi.json", format="docx")

The output you show in your question is running it in the bash command line, not as Python.

Alternatively, you can use:

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470