ivr-tester-transcriber-amazon-transcribe
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

Amazon Transcribe

npm

A plugin for IVR Tester to transcribe IVR call flows using AWS Transcribe.

Installation

Install using yarn:

yarn add ivr-tester-transcriber-amazon-transcribe

Or npm:

npm install ivr-tester-transcriber-amazon-transcribe

Configuration

  1. Create an AWS Account
  2. Store AWS keys in environment variables:
export AWS_ACCESS_KEY_ID=<Your access key ID>
export AWS_SECRET_ACCESS_KEY=<Your secret access key>

Usage

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

import { amazonTranscribe } from "ivr-tester-transcriber-amazon-transcribe";

const config: Config = {
  transcriber: amazonTranscribe("us-east-1", "en-GB"),
};

Training a custom language model

You can train a model with domain specific terminology to improve accuracy. As of writing this it is only available for US English (en-US).

Interesting blog article on the subject: Building custom language models to supercharge speech-to-text performance for Amazon Transcribe

Testing

Integration tests exist to assert it integrates properly with the real Amazon Transcribe service. This means it costs money so hasn't been added to the project's CI/CD pipeline.

To run locally:

export AWS_ACCESS_KEY_ID=<Your access key ID>
export AWS_SECRET_ACCESS_KEY=<Your secret access key>

yarn test:integration

Useful links

Package Sidebar

Install

npm i ivr-tester-transcriber-amazon-transcribe

Weekly Downloads

2

Version

0.1.4

License

MIT

Unpacked Size

11.4 kB

Total Files

9

Last publish

Collaborators

  • sketchingdev