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.
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);
CreateLanguageModelCommandInput for command's input shape.
input
CreateLanguageModelCommandOutput for command's response shape.
response
config for TranscribeClient's config shape.
config
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.
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);
CreateLanguageModelCommandInput for command's
input
shape.CreateLanguageModelCommandOutput for command's
response
shape.config for TranscribeClient's
config
shape.