Coder Social home page Coder Social logo

stt4all's Introduction

STT4all

Speech recognition for meeting etc. with support for several engines and APIs, online and offline. It works well for audio recording or zoom video recording.

Speech recognition engine/API:

Supported file types:

  • .wav
  • .mp3
  • .ogg
  • .flv
  • .mp4
  • .wma
  • .aiff
  • .aac

Usage

  1. Install requirements pip install -r requirements.txt
  2. Edit config.txt file. It is described below.
  3. Copy your files to the 'source' folder.
  4. Run main.py
  5. Enjoy it!

How do I edit the config.txt file?

  • LANGUAGE: Use ISO 639-1 standard language codes. For example, if your language/dialect is British English, it is better to use "en-GB" as the language rather than "en-US".
  • NOISE_REDUCTION: Recommended to turn it on if it is in a noisy environment. Otherwise, turn it off for a better result. (only supports several engines and APIs)
  • BUFFER_SIZE: Long files may time out. That's why speeches are processed by cutting. This is the buffer size in seconds. (default: 60 sec)
  • SERVICE: Select the engine or API you want to use. It is described below.

Supported Services

  • SPHINX
    • Offline
  • GOOGLE_SPEECH_RECOGNITION
    • If USE_DEFAULT_API = true, you don't need any API key. Otherwise you need Google Speech Recognition API key
  • GOOGLE_CLOUD_SPEECH
    • You need JSON credentials file path
  • WIT_AI
    • You need WIT.AI API key
  • AZURE_SPEECH
    • You need Azure Speech API key
  • BING
    • You need Bing API key
  • HOUNDIFY
    • You need Houndify Client ID and Houndify Client Key
  • IBM
    • You need IBM STT Username and IBM STT Password

Requirements

License

The MIT License (MIT)

Copyright (c) 2021 Batuhan ŞANLI

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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.