token |
String
|
|
|
Auth Token - see https://github.com/watson-developer-cloud/node-sdk#authorization |
format |
Boolean
|
<optional>
|
true
|
pipe the text through a FormatStream which performs light formatting. Also controls smart_formatting option unless explicitly set. |
keepMicrophone |
Boolean
|
<optional>
|
false
|
keeps an internal reference to the microphone stream to reuse in subsequent calls (prevents multiple permissions dialogs in firefox) |
outputElement |
String
|
DOMElement
|
<optional>
|
|
pipe the text to a WriteableElementStream targeting the specified element. Also defaults objectMode to true to enable interim results. |
extractResults |
Boolean
|
<optional>
|
false
|
pipe results through a ResultExtractor stream to simplify the objects. (Default behavior before v0.22) Requires objectMode. |
resultsBySpeaker |
Boolean
|
<optional>
|
false
|
pipe results through a SpeakerStream. Causes each data event to include multiple results, each with a speaker field. Automatically enables objectMode and speaker_labels. Adds some delay to processing. |