languageconfig Module

Classes that are concerned with the handling of language configurations

Classes

AutoDetectSourceLanguageConfig

Represents auto detection source language configuration, allowing open range, specifying the potential source languages and corresponding customized endpoint

The configuration can be initialized in different ways:

  • from open range: pass nothing, for source language auto detection in synthesis.

  • from languages: pass a list of potential source languages, for source language auto detection in recognition.

  • from sourceLanguageConfigs: pass a list of source language configurations, for source language auto detection in recognition.

SourceLanguageConfig

Represents source language configuration, allowing specifying the source language and customized endpoint

The configuration can be initialized in different ways:

  • from language: pass a language.

  • from language and custom endpoint: pass a language and an endpoint.