![]() |
![]()
| ![]() |
![]()
NAMEPaws::Transcribe::CreateLanguageModel - Arguments for method CreateLanguageModel on Paws::Transcribe DESCRIPTIONThis class represents the parameters used for calling the method CreateLanguageModel on the Amazon Transcribe Service service. Use the attributes of this class as arguments to method CreateLanguageModel. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateLanguageModel. SYNOPSISmy $transcribe = Paws->service('Transcribe'); my $CreateLanguageModelResponse = $transcribe->CreateLanguageModel( BaseModelName => 'NarrowBand', InputDataConfig => { DataAccessRoleArn => 'MyDataAccessRoleArn', # min: 20, max: 2048 S3Uri => 'MyUri', # min: 1, max: 2000 TuningDataS3Uri => 'MyUri', # min: 1, max: 2000 }, LanguageCode => 'en-US', ModelName => 'MyModelName', ); # Results: my $BaseModelName = $CreateLanguageModelResponse->BaseModelName; my $InputDataConfig = $CreateLanguageModelResponse->InputDataConfig; my $LanguageCode = $CreateLanguageModelResponse->LanguageCode; my $ModelName = $CreateLanguageModelResponse->ModelName; my $ModelStatus = $CreateLanguageModelResponse->ModelStatus; # Returns a L<Paws::Transcribe::CreateLanguageModelResponse> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/transcribe/CreateLanguageModel> ATTRIBUTESREQUIRED BaseModelName => StrThe 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". Valid values are: "NarrowBand", "WideBand" REQUIRED InputDataConfig => Paws::Transcribe::InputDataConfigContains the data access role and the Amazon S3 prefixes to read the required input files to create a custom language model. REQUIRED LanguageCode => StrThe language of the input text you're using to train your custom language model. Valid values are: "en-US", "hi-IN", "es-US", "en-GB", "en-AU" REQUIRED ModelName => StrThe name you choose for your custom language model when you create it. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateLanguageModel in Paws::Transcribe BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|