Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateLanguageModelCommand

Creates a new custom language model.

When creating a new language model, you must specify:

  • If you want a Wideband (audio sample rates over 16,000 Hz) or Narrowband (audio sample rates under 16,000 Hz) base model

  • The location of your training and tuning files (this must be an Amazon S3 URI)

  • The language of your model

  • A unique name for your model

For more information, see Custom language models.

example

Use a bare-bones client and the command you need to make an API call.

import { TranscribeClient, CreateLanguageModelCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
// const { TranscribeClient, CreateLanguageModelCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
const client = new TranscribeClient(config);
const command = new CreateLanguageModelCommand(input);
const response = await client.send(command);
see

CreateLanguageModelCommandInput for command's input shape.

see

CreateLanguageModelCommandOutput for command's response shape.

see

config for TranscribeClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: CreateLanguageModelCommandInput

Readonly middlewareStack