1.2.2-alpha.1 • Published 5 years ago

d-ser-t-cli v1.2.2-alpha.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Contributor Covenant npm version

D-SER-T-CLI

Using the project

This CLI requires Microsoft speech service, a directory of audio files and a corresponding transcriptions text file.

Prerequisites

  • Node.js
  • Microsoft speech service subscription key.
  • Speech service region
    • Conditional Parameters
      • endpoint-id; necessary to use custom speech
      • Concurrent calls; generally < 20
      • audio-directory
      • transcription-file
      • output-file
      • audio-file

Install

npm install d-ser-t-cli

globally install with npm install -g d-ser-t-cli

Flags used by CLI.

flagaliasvalue
-ssubscription-keyMicrosoft Speech Subscription Key
-rservice-regionSpeech Service Region
-daudio-directory optional Path to Directory of wav files
-eendpoint-Id optional Custom Speech Endpoint ID
-ttranscription-file optional Transcription File Path, .txt file
-faudio-file optional singular audio file .wav for console logging Speech Transcription -t, -d
-oout-file optional test output file: location to save test results, only .json and .xml formats supported defaults to ./test_results.json
-cconcurrent-callsconcurrent service calls defaults to 1
Conflicts --> -f : (-d & -t)Providing a singular file to transcribe, results in console log of transcription from service

Notable Dependency

d-ser-t-service

Running

## individual file
npm run d-ser-t -- -s [string] -r [string] -f [string]

## audio directory with transcription file
npm run d-ser-t -- -s [string] -r [string] -d [string] -t [string]

## if globally installed;
d-ser-t -s [string] -r [string] -f [string]
d-ser-t -s [string] -r [string] -d [string] -t [string]

Contributing

Please read CONTRIBUTING.md for details on contributing, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning.