ivr-tester-transcriber-amazon-transcribe
v0.1.4
Published
Amazon Transcribe integration for IVR Tester
Downloads
88
Maintainers
Readme
Amazon Transcribe
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
- Create an AWS Account
- 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