Setting the file. One moment.
Subchapter 3.9
references/sdk/azure-ai-translation-text-py.mdMarkdown1 KBView on GitHub
Condensed from azure-ai-translation-text-py. Full patterns (transliteration, dictionary lookup, sentence boundaries) in the plugin skill if installed.
pip install azure-ai-translation-textfrom azure.ai.translation.text import TextTranslationClient
from azure.core.credentials import AzureKeyCredential
client = TextTranslationClient(credential=AzureKeyCredential(key), region=region)region param: TextTranslationClient(credential=..., region="eastus")from_parameter="fr" (not from — reserved word)from azure.ai.translation.text.models import DictionaryExampleTextItemfrom azure.ai.translation.text.aio import TextTranslationClienthtml text_type when translating HTML content