Skip to content

Commit 8657c78

Browse files
committed
[speech-to-text] add keywords, keywords_threshold, word_alternatives_threshold watson-developer-cloud#189
1 parent b4fa58a commit 8657c78

File tree

1 file changed

+1
-1
lines changed
  • services/speech_to_text

1 file changed

+1
-1
lines changed

services/speech_to_text/v1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var util = require('util');
3131
var WebSocketClient = require('websocket').client;
3232
var pkg = require('../../package.json');
3333

34-
const PARAMS_ALLOWED = ['continuous', 'max_alternatives', 'timestamps', 'word_confidence', 'inactivity_timeout',
34+
var PARAMS_ALLOWED = ['continuous', 'max_alternatives', 'timestamps', 'word_confidence', 'inactivity_timeout',
3535
'model', 'content-type', 'interim_results', 'keywords', 'keywords_threshold', 'word_alternatives_threshold' ];
3636

3737
function formatChunk(chunk) {

0 commit comments

Comments
 (0)