1.0.0 • Published 5 years ago
@pietrop/assemblyai-to-dpe v1.0.0
assemblyai-to-dpe
Node module to convert from assemblyAI STT json to DPE json format.
It can convert AssemblyAI results, with or without speaker utterances.
If speaker utterances are not present, it uses punctuation to create the paragraphs.
Setup
git clone git@github.com:pietrop/assemblyai-to-dpe.gitcd assemblyai-to-dpenpm installUsage
npm install @pietrop/assemblyai-to-dpeconst convert = require('@pietrop/assemblyai-to-dpe');
const sampleJson = require('./sample/assemblyai-speakers-sample.json');
const json = convert(sampleJson);
console.log(json);Development env
- npm >
6.1.0 - Node 10 - dubnium
Node version is set in node version manager .nvmrc
Build
NA
Tests
NA
Deployment
npm run publish:public1.0.0
5 years ago