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/DataModels.cs
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -532,6 +532,21 @@ public class CustomLanguage
532
532
/// </summary>
533
533
publicstringdescription{get;set;}
534
534
}
535
+
536
+
/// <summary>
537
+
/// The type of words from the custom model's words resource on which to train the model: all (the default) trains the model on all new words, regardless of whether they were extracted from corpora or were added or modified by the user. user trains the model only on new words that were added or modified by the user; the model is not trained on new words extracted from corpora.
/// Initiates the training of a custom language model with new corpora, words, or both.After adding training data to the custom model with the corpora or words methods, use this method to begin the actual training of the model on the new data.You can specify whether the custom model is to be trained with all words from its words resources or only with words that were added or modified by the user.Only the owner of a custom model can use this method to train the model.
1216
+
/// This method is asynchronous and can take on the order of minutes to complete depending on the amount of data on which the service is being trained and the current load on the service.The method returns an HTTP 200 response code to indicate that the training process has begun.
1217
+
/// You can monitor the status of the training by using the GET /v1/customizations/{customization_id} method to poll the model's status. Use a loop to check the status every 10 seconds. The method returns a Customization object that includes status and progress fields. A status of available means that the custom model is trained and ready to use. If training is in progress, the progress field indicates the progress of the training as a percentage complete.
1218
+
/// Note: For this beta release, the progress field does not reflect the current progress of the training. The field changes from 0 to 100 when training is complete.
1219
+
/// Training can fail to start for the following reasons:
1220
+
/// No training data (corpora or words) have been added to the custom model.
1221
+
/// Pre-processing of corpora to generate a list of out-of-vocabulary (OOV) words is not complete.
1222
+
/// Pre-processing of words to validate or auto-generate sounds-like pronunciations is not complete.
1223
+
/// One or more words that were added to the custom model have invalid sounds-like pronunciations that you must fix.
1224
+
/// Note: This method is currently a beta release that is available for US English only.
1225
+
/// </summary>
1226
+
/// <param name="callback">The callback.</param>
1227
+
/// <param name="customizationID">The requested custom language model's identifier.</param>
/// Resets a custom language model by removing all corpora and words from the model.Resetting a custom model initializes the model to its state when it was first created. Metadata such as the name and language of the model are preserved.Only the owner of a custom model can use this method to reset the model.
1278
+
/// Note: This method is currently a beta release that is available for US English only.
1279
+
/// </summary>
1280
+
/// <param name="callback">The callback.</param>
1281
+
/// <param name="customizationID">The requested custom language model's identifier.</param>
/// Upgrades a custom language model to the latest release level of the Speech to Text service. The method bases the upgrade on the latest trained data stored for the custom model. If the corpora or words for the model have changed since the model was last trained, you must use the POST /v1/customizations/{customization_id}/train method to train the model on the new data. Only the owner of a custom model can use this method to upgrade the model.
1331
+
/// Note: This method is not currently implemented.It will be added for a future release of the API.
1332
+
/// </summary>
1333
+
/// <param name="callback">The callback.</param>
1334
+
/// <param name="customizationID">The requested custom language model's identifier.</param>
0 commit comments