aws-to-dpe

AWS STT to DPE (digital paper Edit)adapter extracted from/and recombined @bbc/react-transcript-editor

Usage no npm install needed!

<script type="module">
  import awsToDpe from 'https://cdn.skypack.dev/aws-to-dpe';
</script>

README

AWS To DPE

Abstracted from parts of @bbc/react-transcript-editor this module provides a way to convert from AWS STT To DPE format.

Setup

Fork this repository + git clone + cd into folder + npm install

Usage

on npm aws-to-dpe

npm install aws-to-dpe
const awsToDpe = require('aws-to-dpe');
const awsTranscript = require('../sample/WSJ8623212922.mp3.json');

const res = awsToDpe(awsTranscript);
// do something with dpe json 

see src/example-usage.js for more.

Development env

Node version is set in node version manager .nvmrc

Build

NA

Tests

Deployment

To publish to npm

npm run publish:public