You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Scripts/Services/SpeechToText/v1/SpeechToText.cs
+28-3Lines changed: 28 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -106,8 +106,9 @@ public class SpeechToText : IWatsonService
106
106
privateint_recordingHZ=-1;
107
107
privateint_inactivityTimeout=60;
108
108
privatestring_customization_id=null;
109
+
privatestring_languageCustomizationId=null;
109
110
privatestring_acoustic_customization_id=null;
110
-
privatefloat_customization_weight=0.3f;
111
+
privatefloat?_customization_weight=null;
111
112
privatebool_streamMultipart=false;// If true sets `Transfer-Encoding` header of multipart request to `chunked`.
112
113
privatefloat_silenceDuration=0.0f;
113
114
privatefloat_silenceCutoff=1.0f;
@@ -242,15 +243,20 @@ public Credentials Credentials
242
243
/// <summary>
243
244
/// Specifies the Globally Unique Identifier (GUID) of a custom language model that is to be used for all requests sent over the connection. The base model of the custom language model must match the value of the model parameter. By default, no custom language model is used. For more information, see https://console.bluemix.net/docs/services/speech-to-text/custom.html.
/// Specifies the Globally Unique Identifier (GUID) of a custom language model that is to be used for all requests sent over the connection. The base model of the custom language model must match the value of the model parameter. By default, no custom language model is used. For more information, see https://console.bluemix.net/docs/services/speech-to-text/custom.html.
/// Specifies the Globally Unique Identifier (GUID) of a custom acoustic model that is to be used for all requests sent over the connection. The base model of the custom acoustic model must match the value of the model parameter. By default, no custom acoustic model is used. For more information, see https://console.bluemix.net/docs/services/speech-to-text/custom.html.
/// Specifies the weight the service gives to words from a specified custom language model compared to those from the base model for all requests sent over the connection. Specify a value between 0.0 and 1.0; the default value is 0.3. For more information, see https://console.bluemix.net/docs/services/speech-to-text/language-use.html#weight.
/// If true sets `Transfer-Encoding` request header to `chunked` causing the audio to be streamed to the service. By default, audio is sent all at once as a one-shot delivery. See https://console.bluemix.net/docs/services/speech-to-text/input.html#transmission.
0 commit comments