1.0.4 • Published 5 years ago
thecoder08-stt v1.0.4
Speech To Text
What is Speech To Text?
Speech To Text is a simple speech to text API.
Installation
Run the command
npm i thecoder08-stt
to install Speech To Text.
Require
Require with this code:
<script src="node_modules/thecoder08-stt/main.js"></script><script src="node_modules/docuget/main.js"></script>
Syntax
speechToText(lang, callback);
Where lang
is the language ID for the speech.
Where callback
is a function with an argument data
, the text result.
Returns a string containing the speech that was spoken.