1.1.3 • Published 7 years ago

recognize-speech v1.1.3

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

RECOGNIZE SPEECH

Minimal library that record the audio from your input device and turn it to text, using the browser SpeechRecognition, receiveiving it as a Promise

Standard - JavaScript Style Guide

Instaling

npm install -S recognize-speech

Usage

// const recognizeSpeech = require('recognize-speech')
import recognizeSpeech from 'recognize-speech'

recognizeSpeech()
  .then(console.log)
  
  //  {
  //    transcript: 'Your speech!'
  //    confidence: 1
  //  }

Options

import recognizeSpeech from 'recognize-speech'

recognizeSpeech({ lang: 'en-US', interimResults: false, maxAlternatives: 1})
  .then(console.log)
  
  //  {
  //    transcript: 'Your speech!'
  //    confidence: 1
  //  }
1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago