SpeechModel
public struct SpeechModel : Codable, Equatable
Information about an available language model.
-
The name of the model for use as an identifier in calls to the service (for example,
en-US_BroadbandModel
).Declaration
Swift
public var name: String
-
The language identifier of the model (for example,
en-US
).Declaration
Swift
public var language: String
-
The sampling rate (minimum acceptable rate for audio) used by the model in Hertz.
Declaration
Swift
public var rate: Int
-
The URI for the model.
Declaration
Swift
public var url: String
-
Additional service features that are supported with the model.
Declaration
Swift
public var supportedFeatures: SupportedFeatures
-
A brief description of the model.
Declaration
Swift
public var description: String