Giter VIP home page Giter VIP logo

transcribe_audio's Introduction

Transcribe Podcast Audio Testing

This is a repository demonstrating transcribing podcast audio with a few different services: IBM Watson Speech to Text, Google Cloud Speech, and CMU Sphinx.

Getting Started

First run fetch_podcast.sh to pull some content down for converting. The example from my blog post is used, though you can replace the URL if you like to try with other content.

Running CMU Sphinx

Ensure that sphinx is installed. On Ubuntu this is done with

sudo apt-get install pocketsphinx pocketsphinx-en-us

Then run transcribe_with_sphinx.sh. It will produce sphinx-transcription.log as output.

Running Watson

Sign up for IBM Bluemix and create a Watson Speech to Text instance.

Copy user/password into auth.cfg in the [watson] section.

Install python prereqs

pip install watson-developer-cloud

Then run it with

watson-transcribe.py podcast.flac

Optionally specify a pretrained customized language id

watson-transcribe.py --customization a13780b0-52b7-1fe7-fbb7-77471c70c949 podcast.flac

Note

It will take 30 - 45 minutes to run, it processes slightly faster than realtime.

Running Google

Sign up for Google Cloud and create a project and a service key. Go through all the setup around authentication - https://googlecloudplatform.github.io/google-cloud-python/stable/google-cloud-auth.html

Create a key for the service, put that json in auth.json in this directory.

Install python prereqs

pip install google-cloud-storage google-cloud-speech

Then run it as

google-transcribe.py

Note

It will take 20 - 30 minutes to run, it processes slightly faster than realtime.

transcribe_audio's People

Contributors

nibalizer avatar sdague avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.