DocumentTranslationModelFactory.TranslationGlossary 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 TranslationGlossary.
public static Azure.AI.Translation.Document.TranslationGlossary TranslationGlossary (Uri glossaryUri = default, string format = default, string formatVersion = default, Azure.AI.Translation.Document.TranslationStorageSource? storageSource = default);
static member TranslationGlossary : Uri * string * string * Nullable<Azure.AI.Translation.Document.TranslationStorageSource> -> Azure.AI.Translation.Document.TranslationGlossary
Public Shared Function TranslationGlossary (Optional glossaryUri As Uri = Nothing, Optional format As String = Nothing, Optional formatVersion As String = Nothing, Optional storageSource As Nullable(Of TranslationStorageSource) = Nothing) As TranslationGlossary
Parameters
- glossaryUri
- Uri
Location of the glossary. We will use the file extension to extract the formatting if the format parameter is not supplied.
If the translation language pair is not present in the glossary, it will not be applied
- format
- String
Format.
- formatVersion
- String
Optional Version. If not specified, default is used.
- storageSource
- Nullable<TranslationStorageSource>
Storage Source.
Returns
A new TranslationGlossary instance for mocking.
Applies to
Azure SDK for .NET