Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
data ModelSettings Source #
Provides the name of the custom language model that was included in the specified transcription job.
Only use ModelSettings
with the LanguageModelName
sub-parameter if
you're not using automatic language identification (). If using
LanguageIdSettings
in your request, this parameter contains a
LanguageModelName
sub-parameter.
See: newModelSettings
smart constructor.
ModelSettings' | |
|
Instances
newModelSettings :: ModelSettings Source #
Create a value of ModelSettings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:languageModelName:ModelSettings'
, modelSettings_languageModelName
- The name of the custom language model you want to use when processing
your transcription job. Note that custom language model names are case
sensitive.
The language of the specified custom language model must match the language code that you specify in your transcription request. If the languages don't match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch.
modelSettings_languageModelName :: Lens' ModelSettings (Maybe Text) Source #
The name of the custom language model you want to use when processing your transcription job. Note that custom language model names are case sensitive.
The language of the specified custom language model must match the language code that you specify in your transcription request. If the languages don't match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch.