Skip to content

GCP (Google Cloud Platform) to DPE (digital paper Edit) adapter extracted from/and recombined @bbc/react-transcript-editor

Notifications You must be signed in to change notification settings

pietrop/gcp-to-dpe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GCP To DPE

This module provides a way to convert from GCP(Google Cloud Platform) STT To DPE format. Note that this assumes that speaker diarization info is present in GCP STT result.

Setup

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

Usage

on npm gcp-to-dpe

npm install gcp-to-dpe
const gcpToDpe = require('gcp-to-dpe');
const gcpTranscript = require('../sample/gcpSttPunctuation.sample.json');

const res = gcpToDpe(gcpTranscript);
// 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

npm run test

Deployment

To publish to npm

npm run publish:public

About

GCP (Google Cloud Platform) to DPE (digital paper Edit) adapter extracted from/and recombined @bbc/react-transcript-editor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published