model |
String
|
<optional>
|
'en-US_BroadbandModel'
|
voice model to use. Microphone streaming only supports broadband models. |
url |
String
|
<optional>
|
'wss://stream.watsonplatform.net/speech-to-text/api'
|
base URL for service |
content-type |
String
|
<optional>
|
'audio/wav'
|
content type of audio; can be automatically determined from file header in most cases. only wav, flac, and ogg/opus are supported |
interim_results |
Boolean
|
<optional>
|
false
|
Send back non-final previews of each "sentence" as it is being processed. Defaults to true when in objectMode. |
continuous |
Boolean
|
<optional>
|
true
|
set to false to automatically stop the transcription after the first "sentence" |
word_confidence |
Boolean
|
<optional>
|
false
|
include confidence scores with results. Defaults to true when in objectMode. |
timestamps |
Boolean
|
<optional>
|
false
|
include timestamps with results. Defaults to true when in objectMode. |
max_alternatives |
Number
|
<optional>
|
1
|
maximum number of alternative transcriptions to include. Defaults to 3 when in objectMode. |
inactivity_timeout |
Number
|
<optional>
|
30
|
how many seconds of silence before automatically closing the stream (even if continuous is true). use -1 for infinity |
readableObjectMode |
Boolean
|
<optional>
|
false
|
emit result objects instead of string Buffers for the data events. Changes several other defaults. |
X-WDC-PL-OPT-OUT |
Number
|
<optional>
|
0
|
set to 1 to opt-out of allowing Watson to use this request to improve it's services
//todo: investigate other options at http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/apis/#!/speech-to-text/recognizeSessionless |