Code Monkey home page Code Monkey logo

speech-summarizer's Introduction

speech-summarizer

Transcribes and summarizes speech or audio

Pre-requisite

The app requires python3 to be installed in the machine since the programming language used is Python

Installation Guide

Once the python is installed, install all the dependencies by running the below command.

pip3 install -r requirements.txt

Model download link

  1. Deepspeech model - https://github.com/mozilla/DeepSpeech/releases/download/v0.9.3/deepspeech-0.9.3-models.tflite
  2. Summarization model - https://huggingface.co/facebook/bart-large-cnn

Steps to be followed

Speech file to be converted should meet below specifications.

  1. Sample rate - 16KHz
  2. Audio channel - Mono
  3. File format - .wav

Speech summarizer can be built by following below steps.

  1. Select a development environment of your choice
  2. Analyse speech files to check if the specifications are met
  3. Convert Speech to text
  4. Encode text to tokenized IDs
  5. Generate and decode summarized text
  6. Servers and webframeworks can be leveraged for servicing the request as REST API - optional step

Build your Speech summarizer in 5 minutes

  1. Run Jupyter notebook for quick changes and experiments
  2. Run speech_summarizer.py by passing audio files and model files as input

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.