Giter Site home page Giter Site logo

winston's Introduction

Winston

An Amazon Transcribe (JSON) to Word (docx) converter for multi-speaker transcriptions

A small script to help convert a multi-speaker Amazon Transcribe JSON to Word Document (docx).

Given a JSON transcript, a Word document with clean output is produced. Output is organised by speaker and time, followed by what was said by each speaker. Phrases are colored based on the transcription confidence from Amazon Transcribe.

I don't really plan on maintaining this, just thought it might be useful to others. Feel free to open a PR, though.

Running

  1. First install the requirements: {however you run python} -m pip install -r requirements.txt
  2. Update the desired input and output attributes at the bottom of the file transcribe.py, under if __name__ == "__main__":
    1. The transcript JSON location
    2. The output document title
    3. The mapping of speakers in the file to the desired speaker name (must match the speaker IDs in the file, e.g. spk_0)
  3. Run the script with {however you run python} transcribe.py

Example output

Improvements

  1. Consider adding filtering for certain phrases and words (e.g. removing "um"s)
  2. Consider adding conditional formatting (e.g. bold for proper nouns)
  3. Move from variable-based arguments to actual script arguments (e.g. with argparse)

winston's People

Contributors

jeezeh avatar r-d-y avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

r-d-y

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.