You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/translation/azure-ai-translation-document/README.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -325,10 +325,10 @@ Note that you will need to install the [azure-storage-blob][azure_storage_blob]
325
325
326
326
## Advanced Topics
327
327
328
-
The following section provides some insights for some of the advanced translation features such as glossaries and custom translation models.
328
+
The following section provides some insights for some advanced translation features such as glossaries and custom translation models.
329
329
330
330
### **Glossaries**
331
-
Glossaries are domain-specific dictionaries. For example, if you want to translate some medical-related documents, you may need support for the many words, terminology, and idioms in the medical field which you can't find in the standard translation dictionary or you simply need specific translation. This is why Document Translation provides support for glossaries.
331
+
Glossaries are domain-specific dictionaries. For example, if you want to translate some medical-related documents, you may need support for the many words, terminology, and idioms in the medical field which you can't find in the standard translation dictionary, or you simply need specific translation. This is why Document Translation provides support for glossaries.
332
332
333
333
#### **How To Create Glossary File**
334
334
@@ -337,14 +337,13 @@ Document Translation supports glossaries in the following formats:
|Tab-Separated Values/TAB|.tsv, .tab|Read more on [wikipedia][tsv_files_wikipedia]|[glossary_sample.tsv][sample_tsv_file]|
340
-
|Comma-Seperated Values|.csv|Read more on [wikipedia][csv_files_wikipedia]|[glossary_sample.csv][sample_csv_file]|
340
+
|Comma-Separated Values|.csv|Read more on [wikipedia][csv_files_wikipedia]|[glossary_sample.csv][sample_csv_file]|
341
341
|Localization Interchange File Format|.xlf, .xliff|Read more on [wikipedia][xlf_files_wikipedia]|[glossary_sample.xlf][sample_xlf_file]|
342
342
343
343
View all supported formats [here][supported_glossary_formats].
344
344
345
345
#### **How Use Glossaries in Document Translation**
346
-
In order to use glossaries with Document Translation, you first need to upload your glossaries file to some blob container, and then provide the SaS url to of this glossary file to Document Translation as in the code samples [sample_translation_with_glossaries.py][sample_translation_with_glossaries].
347
-
346
+
In order to use glossaries with Document Translation, you first need to upload your glossary file to a blob container, and then provide the SAS URL to the file as in the code samples [sample_translation_with_glossaries.py][sample_translation_with_glossaries].
348
347
349
348
### **Custom Translation Models**
350
349
Instead of using Document Translation's engine for translation, you can use your own custom Azure machine/deep learning model.
Copy file name to clipboardExpand all lines: sdk/translation/azure-ai-translation-document/samples/async_samples/sample_translation_with_custom_model_async.py
0 commit comments