Skip to content

Commit 31e6467

Browse files
committed
adding profanity_filter support to STT RecognizeStream
Fixes #303
1 parent 3ef7ec4 commit 31e6467

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

speech-to-text/recognize_stream.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var W3CWebSocket = require('websocket').w3cwebsocket;
2525

2626

2727
var OPENING_MESSAGE_PARAMS_ALLOWED = ['continuous', 'max_alternatives', 'timestamps', 'word_confidence', 'inactivity_timeout',
28-
'content-type', 'interim_results', 'keywords', 'keywords_threshold', 'word_alternatives_threshold', 'smart_formatting' ];
28+
'content-type', 'interim_results', 'keywords', 'keywords_threshold', 'word_alternatives_threshold', 'profanity_filter', 'smart_formatting' ];
2929

3030
var QUERY_PARAMS_ALLOWED = ['model', 'X-Watson-Learning-Opt-Out', 'watson-token'];
3131

0 commit comments

Comments
 (0)