Code Monkey home page Code Monkey logo

aws-transcribe-transcript's Introduction

This is a port of purdy/aws-transcribe-transcript intended to run as an AWS Lambda function

aws-transcribe-transcript

This is a simple utility script to convert the Amazon Transcribe .json transcript into a more readable transcript.

Amazon has a neat Transcription service and you can have the service identify speakers. And in their web interface, they show you a neat play-by-play transcript, but it's limited to the first 5,000 characters. If you want the full transcript, you have to download their JSON file. However, the JSON file only has the transcript as a big block and then some structured data below for the various speakers, start times, and text fragments.

This script creates a transcript that's human-readable.

Regular Directions

  1. Download your Transcription from the Job Details page. The filename format is currently asrOutput.json.
  2. Run the transcript.py program on the downloaded file, i.e. python ./transcript.py asrOutput.json
  3. Results will be written in your current working directory as [FILENAME]-transcript.txt

S3/Lambda Directions

  1. Create an S3 bucket with two folders; input/ and output/
  2. Create a Lambda function that triggers on CreateObject in input/ (Triggers section of the UI)
  3. Give the function access to write to S3/output (Resources section of the UI)
  4. Place json file in S3/input and wait a few seconds for your transcript to show up in output/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.