AcousticModel

public struct AcousticModel : Codable, Equatable

Information about an existing custom acoustic model.

  • The current status of the custom acoustic model:

    • pending: The model was created but is waiting either for valid training data to be added or for the service to finish analyzing added data.
    • ready: The model contains valid data and is ready to be trained. If the model contains a mix of valid and invalid resources, you need to set the strict parameter to false for the training to proceed.
    • training: The model is currently being trained.
    • available: The model is trained and ready to use.
    • upgrading: The model is currently being upgraded.
    • failed: Training of the model failed.
    See more

    Declaration

    Swift

    public enum Status : String
  • The customization ID (GUID) of the custom acoustic model. The Create a custom acoustic model method returns only this field of the object; it does not return the other fields.

    Declaration

    Swift

    public var customizationID: String
  • The date and time in Coordinated Universal Time (UTC) at which the custom acoustic model was created. The value is provided in full ISO 8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

    Declaration

    Swift

    public var created: String?
  • The date and time in Coordinated Universal Time (UTC) at which the custom acoustic model was last modified. The created and updated fields are equal when an acoustic model is first added but has yet to be updated. The value is provided in full ISO 8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

    Declaration

    Swift

    public var updated: String?
  • The language identifier of the custom acoustic model (for example, en-US).

    Declaration

    Swift

    public var language: String?
  • A list of the available versions of the custom acoustic model. Each element of the array indicates a version of the base model with which the custom model can be used. Multiple versions exist only if the custom model has been upgraded; otherwise, only a single version is shown.

    Declaration

    Swift

    public var versions: [String]?
  • The GUID of the credentials for the instance of the service that owns the custom acoustic model.

    Declaration

    Swift

    public var owner: String?
  • The name of the custom acoustic model.

    Declaration

    Swift

    public var name: String?
  • The description of the custom acoustic model.

    Declaration

    Swift

    public var description: String?
  • The name of the language model for which the custom acoustic model was created.

    Declaration

    Swift

    public var baseModelName: String?
  • The current status of the custom acoustic model:

    • pending: The model was created but is waiting either for valid training data to be added or for the service to finish analyzing added data.
    • ready: The model contains valid data and is ready to be trained. If the model contains a mix of valid and invalid resources, you need to set the strict parameter to false for the training to proceed.
    • training: The model is currently being trained.
    • available: The model is trained and ready to use.
    • upgrading: The model is currently being upgraded.
    • failed: Training of the model failed.

    Declaration

    Swift

    public var status: String?
  • A percentage that indicates the progress of the custom acoustic model’s current training. A value of 100 means that the model is fully trained. Note: The progress field does not currently reflect the progress of the training. The field changes from 0 to 100 when training is complete.

    Declaration

    Swift

    public var progress: Int?
  • If the request included unknown parameters, the following message: Unexpected query parameter(s) ['parameters'] detected, where parameters is a list that includes a quoted string for each unknown parameter.

    Declaration

    Swift

    public var warnings: String?