Skip to content

Commit c89b7cb

Browse files
authored
Merge pull request #746 from watson-developer-cloud/4831/recognize-stream-comments
4831/recognize stream comments
2 parents 95d14c0 + 89c05a2 commit c89b7cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/recognize-stream.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ class RecognizeStream extends Duplex {
9999
* @param {Object} [options.headers] - Only works in Node.js, not in browsers. Allows for custom headers to be set, including an Authorization header (preventing the need for auth tokens)
100100
* @param {String} [options.content-type='audio/wav'] - content type of audio; can be automatically determined from file header in most cases. only wav, flac, ogg/opus, and webm are supported
101101
* @param {Boolean} [options.interim_results=true] - Send back non-final previews of each "sentence" as it is being processed. These results are ignored in text mode.
102-
* @param {Boolean} [options.word_confidence=false] - include confidence scores with results. Defaults to true when in objectMode.
103-
* @param {Boolean} [options.timestamps=false] - include timestamps with results. Defaults to true when in objectMode.
104-
* @param {Number} [options.max_alternatives=1] - maximum number of alternative transcriptions to include. Defaults to 3 when in objectMode.
102+
* @param {Boolean} [options.word_confidence=false] - include confidence scores with results.
103+
* @param {Boolean} [options.timestamps=false] - include timestamps with results.
104+
* @param {Number} [options.max_alternatives=1] - maximum number of alternative transcriptions to include.
105105
* @param {Array<String>} [options.keywords] - a list of keywords to search for in the audio
106106
* @param {Number} [options.keywords_threshold] - Number between 0 and 1 representing the minimum confidence before including a keyword in the results. Required when options.keywords is set
107107
* @param {Number} [options.word_alternatives_threshold] - Number between 0 and 1 representing the minimum confidence before including an alternative word in the results. Must be set to enable word alternatives,

0 commit comments

Comments
 (0)