Skip to content

Commit 04ce58e

Browse files
authored
Merge pull request #176 from mlauret/master
Added customization_id to the recognize() method.
2 parents 04462a8 + cd75a3d commit 04ce58e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

watson_developer_cloud/speech_to_text_v1.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def __init__(self, url=default_url, **kwargs):
2828
**kwargs)
2929

3030
def recognize(self, audio, content_type, continuous=False, model=None,
31+
customization_id=None,
3132
inactivity_timeout=None,
3233
keywords=None, keywords_threshold=None,
3334
max_alternatives=None,
@@ -46,6 +47,7 @@ def recognize(self, audio, content_type, continuous=False, model=None,
4647
'keywords_threshold': keywords_threshold,
4748
'max_alternatives': max_alternatives,
4849
'model': model,
50+
'customization_id': customization_id,
4951
'word_alternatives_threshold': word_alternatives_threshold,
5052
'word_confidence': word_confidence,
5153
'timestamps': timestamps,

0 commit comments

Comments
 (0)