Coder Social home page Coder Social logo

amazon_transcribe_extract's Introduction

amazon_transcribe_extract

Script to extract a readable transcript from an Amazon Transcribe .json transcript

  1. Open the file "transcribe.php". On line no. 5, there is a variable called $ip_file which is set to "test.json". Set this to whatever name you have given to the input file. On line no. 6, there is a variable called $op_file. Set this to whatever name you want the generated output file to be called.

  2. Place the file transcribe.php and the input file in the same folder. For e.g. I named this folder amazon_transcribe, and I have placed the file "transcribe.php" and the input file "test.json" inside amazon_transcribe

2a. Open the terminal, and go to the folder amazon_transcribe (or whatever you named your folder)

  1. Run the command "php -v " at the terminal to confirm you have php running. This company will give you the version number of the installed php executable. Macbooks come with PHP typically pre installed, so this should simply work and you should see something like whats attached in the screenshot below.

  2. Now, run the command "php transcribe.php" to execute the script. It should take less than a second to run and should generate the output file that you specified in the same folder.

amazon_transcribe_extract's People

Contributors

nrip avatar

Stargazers

Mikoyan avatar

Watchers

 avatar Mikoyan avatar

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.