AITranslationTextModelFactory.DictionaryExampleItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of DictionaryExampleItem.
public static Azure.AI.Translation.Text.DictionaryExampleItem DictionaryExampleItem (string normalizedSource = default, string normalizedTarget = default, System.Collections.Generic.IEnumerable<Azure.AI.Translation.Text.DictionaryExample> examples = default);
static member DictionaryExampleItem : string * string * seq<Azure.AI.Translation.Text.DictionaryExample> -> Azure.AI.Translation.Text.DictionaryExampleItem
Public Shared Function DictionaryExampleItem (Optional normalizedSource As String = Nothing, Optional normalizedTarget As String = Nothing, Optional examples As IEnumerable(Of DictionaryExample) = Nothing) As DictionaryExampleItem
Parameters
- normalizedSource
- String
A string giving the normalized form of the source term. Generally, this should be identical to the value of the Text field at the matching list index in the body of the request.
- normalizedTarget
- String
A string giving the normalized form of the target term. Generally, this should be identical to the value of the Translation field at the matching list index in the body of the request.
- examples
- IEnumerable<DictionaryExample>
A list of examples for the (source term, target term) pair.
Returns
A new DictionaryExampleItem instance for mocking.
Applies to
Azure SDK for .NET
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla