You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

speechtext

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

speechtext

works with Google Speech and Microsoft Azure Cognitive services to compare the results of Speech-to-text transcription

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Configuration:

//GOOGLE Speech

//install Google cloud SDK // init profile // init service account and obtain credentials file // set up env variable pointing to credentials file set GOOGLE_APPLICATION_CREDENTIALS= or add to launch.json

        "env": {
            "GOOGLE_APPLICATION_CREDENTIALS": "C:\\Users\\Administrator\\Documents\\JS\\speechtext\\speechtext\\speech-accuracy-test-068ed929ed28.json"
        }

//Install google client packages npm i @google-cloud/speech

//Microsoft setup // Subscribe for Speech service and obtain API Keys // install microsoft Speech SDK npm install microsoft-cognitiveservices-speech-sdk

What it does: takes preconfigured file from /resources and sends it to both Google and Microsoft Asure Speech services

example:

[Google]: how old is the Brooklyn Bridge sample-google.js:36 [Microsoft]Now recognizing from: ./resources/audio.raw sample-ms.js:39 [Microsoft] How old is the Brooklyn bridge? sample-ms.js:45 [{"provider":"google","transcription":"how old is the Brooklyn Bridge"},{"provider":"microsoft","transcription":"How old is the Brooklyn bridge?"}]

Keywords

speech-to-text

FAQs

Package last updated on 02 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts