Package Exports
- speech--two--text
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (speech--two--text) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Speech to Text
This package helps you to convert speech to text. Uses only the browser api for the transformation.
How to use ?
npm i speech--two--text --save
After that,
import {recognizeSpeech} from 'speechTotext'
recognizeSpeech({status:'ON/OFF (Use one)'})
define a html element for the result printing with a class name 'speechResult'
eg:
<p id="speechResult"></p>
This returns the text after success end. If nothing is spoke the return no-speech.