File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,7 @@ The SDK no longer supports Pyhton versions 2.7 and <=3.4.
192192#### Speech to Text V1
193193* ` final_results ` was renamed to ` final ` in the SpeakerLabelsResult model
194194* ` final_results ` was renamed to ` final ` in the SpeechRecognitionResult model
195+ * ` customization_id ` no longer a param in ` recognize_using_websocket() ` method
195196
196197#### Visual Recognition V3
197198* ` detect_faces() ` method was removed
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ def recognize_using_websocket(self,
4343 speaker_labels = None ,
4444 http_proxy_host = None ,
4545 http_proxy_port = None ,
46- customization_id = None ,
4746 grammar_name = None ,
4847 redaction = None ,
4948 processing_metrics = None ,
@@ -145,10 +144,6 @@ def recognize_using_websocket(self,
145144 labels](https://cloud.ibm.com/docs/services/speech-to-text?topic=speech-to-text-output#speaker_labels).
146145 :param str http_proxy_host: http proxy host name.
147146 :param str http_proxy_port: http proxy port. If not set, set to 80.
148- :param str customization_id: **Deprecated.** Use the `language_customization_id`
149- parameter to specify the customization ID (GUID) of a custom language model that
150- is to be used with the recognition request. Do not specify both parameters with a
151- request.
152147 :param str grammar_name: The name of a grammar that is to be used with the
153148 recognition request. If you specify a grammar, you must also use the
154149 `language_customization_id` parameter to specify the name of the custom language
@@ -219,7 +214,6 @@ def recognize_using_websocket(self,
219214
220215 params = {
221216 'model' : model ,
222- 'customization_id' : customization_id ,
223217 'acoustic_customization_id' : acoustic_customization_id ,
224218 'base_model_version' : base_model_version ,
225219 'language_customization_id' : language_customization_id
You can’t perform that action at this time.
0 commit comments