CreateLanguageModelRequest

public struct CreateLanguageModelRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The Amazon Transcribe standard language model, or base model used to create your custom language model. If you want to use your custom language model to transcribe audio with a sample rate of 16 kHz or greater, choose Wideband. If you want to use your custom language model to transcribe audio with a sample rate that is less than 16 kHz, choose Narrowband.

    Declaration

    Swift

    public let baseModelName: BaseModelName
  • Contains the data access role and the Amazon S3 prefixes to read the required input files to create a custom language model.

    Declaration

    Swift

    public let inputDataConfig: InputDataConfig
  • The language of the input text you’re using to train your custom language model.

    Declaration

    Swift

    public let languageCode: CLMLanguageCode
  • The name you choose for your custom language model when you create it.

    Declaration

    Swift

    public let modelName: String
  • Undocumented

    Declaration

    Swift

    public init(baseModelName: BaseModelName, inputDataConfig: InputDataConfig, languageCode: CLMLanguageCode, modelName: String)
  • Declaration

    Swift

    public func validate(name: String) throws