Class: Aws::TranscribeService::Types::CreateLanguageModelRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb

Overview

Note:

When making an API call, you may pass CreateLanguageModelRequest data as a hash:

{
  language_code: "en-US", # required, accepts en-US
  base_model_name: "NarrowBand", # required, accepts NarrowBand, WideBand
  model_name: "ModelName", # required
  input_data_config: { # required
    s3_uri: "Uri", # required
    tuning_data_s3_uri: "Uri",
    data_access_role_arn: "DataAccessRoleArn", # required
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#base_model_nameString

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.

Returns:

  • (String)


119
120
121
122
123
124
125
126
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 119

class CreateLanguageModelRequest < Struct.new(
  :language_code,
  :base_model_name,
  :model_name,
  :input_data_config)
  SENSITIVE = []
  include Aws::Structure
end

#input_data_configTypes::InputDataConfig

Contains the data access role and the Amazon S3 prefixes to read the required input files to create a custom language model.



119
120
121
122
123
124
125
126
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 119

class CreateLanguageModelRequest < Struct.new(
  :language_code,
  :base_model_name,
  :model_name,
  :input_data_config)
  SENSITIVE = []
  include Aws::Structure
end

#language_codeString

The language of the input text you're using to train your custom language model.

Returns:

  • (String)


119
120
121
122
123
124
125
126
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 119

class CreateLanguageModelRequest < Struct.new(
  :language_code,
  :base_model_name,
  :model_name,
  :input_data_config)
  SENSITIVE = []
  include Aws::Structure
end

#model_nameString

The name you choose for your custom language model when you create it.

Returns:

  • (String)


119
120
121
122
123
124
125
126
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 119

class CreateLanguageModelRequest < Struct.new(
  :language_code,
  :base_model_name,
  :model_name,
  :input_data_config)
  SENSITIVE = []
  include Aws::Structure
end