AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateLanguageModelRequest as input to an Aws::Client method, you can use a vanilla 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
  },
}

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.

Possible values:

  • NarrowBand
  • WideBand

Returns:

  • (String)

    The Amazon Transcribe standard language model, or base model used to create your custom language model.

#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.

Returns:

  • (Types::InputDataConfig)

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

#language_codeString

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

Possible values:

  • en-US

Returns:

  • (String)

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

#model_nameString

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

Returns:

  • (String)

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