New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ivr-tester-transcriber-google-speech-to-text

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ivr-tester-transcriber-google-speech-to-text

Google Speech-to-Text integration for IVR Tester

  • 0.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Google Speech-to-Text Transcriber

npm

A plugin for IVR Tester to transcribe IVR call flows using Google Speech-to-Text.

Installation

Install using yarn:

yarn add ivr-tester-transcriber-google-speech-to-text

Or npm:

npm install ivr-tester-transcriber-google-speech-to-text

Configuration

Setup GCP project and credentials

Follow GCP's quick-start guide to:

  1. Setup a Google Cloud project
  2. Enable the Google Speech-to-Text service
  3. Create a service account
  4. Create then download a JSON key-file for the service account
  5. Set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path of the JSON key-file
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/key.json

Usage

See the API's documentation for details of each parameter.

import { googleSpeechToText } from "ivr-tester-transcriber-google-speech-to-text";

const config: Config = {
  transcriber: googleSpeechToText({ languageCode: "en-GB" })
};
Speech Adaptation

The plugin exposes two properties that allow you to improve the accuracy of transcriptions:

import { googleSpeechToText } from "ivr-tester-transcriber-google-speech-to-text";

const config: Config = {
  transcriber: googleSpeechToText(
    {
      languageCode: "en-GB",
      useEnhanced: true,
      speechPhrases: ["balance", "costing", "financial services"]
    }
  ),
};

Debugging

Console logging can be enabled by specifying the package name in the DEBUG environment variable:

DEBUG=ivr-tester-transcriber-google-speech-to-text
DEBUG_DEPTH=5

Keywords

FAQs

Package last updated on 23 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc