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.
Fork this repository + git clone + cd into folder + npm install
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.
- npm >
6.1.0
- Node 10 - dubnium
Node version is set in node version manager .nvmrc
NA
npm run test
To publish to npm
npm run publish:public