Skip to content

Commit

Permalink
update changelog + some edits (#20588)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristapratico authored Sep 8, 2021
1 parent c458c42 commit 82c7e67
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion sdk/translation/azure-ai-translation-document/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 1.0.0b5 (Unreleased)
## 1.0.0b5 (2021-09-08)

### Breaking Changes
- Changed: `list_all_translation_statuses` has been renamed to `list_translation_statuses`
Expand Down
9 changes: 4 additions & 5 deletions sdk/translation/azure-ai-translation-document/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,10 +325,10 @@ Note that you will need to install the [azure-storage-blob][azure_storage_blob]

## Advanced Topics

The following section provides some insights for some of the advanced translation features such as glossaries and custom translation models.
The following section provides some insights for some advanced translation features such as glossaries and custom translation models.

### **Glossaries**
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.
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.

#### **How To Create Glossary File**

Expand All @@ -337,14 +337,13 @@ Document Translation supports glossaries in the following formats:
|**File Type**|**Extension**|**Description**|**Samples**|
|---------------|---------------|---------------|---------------|
|Tab-Separated Values/TAB|.tsv, .tab|Read more on [wikipedia][tsv_files_wikipedia]|[glossary_sample.tsv][sample_tsv_file]|
|Comma-Seperated Values|.csv|Read more on [wikipedia][csv_files_wikipedia]|[glossary_sample.csv][sample_csv_file]|
|Comma-Separated Values|.csv|Read more on [wikipedia][csv_files_wikipedia]|[glossary_sample.csv][sample_csv_file]|
|Localization Interchange File Format|.xlf, .xliff|Read more on [wikipedia][xlf_files_wikipedia]|[glossary_sample.xlf][sample_xlf_file]|

View all supported formats [here][supported_glossary_formats].

#### **How Use Glossaries in Document Translation**
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].

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].

### **Custom Translation Models**
Instead of using Document Translation's engine for translation, you can use your own custom Azure machine/deep learning model.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
FILE: sample_translation_with_custom_model_async.py
DESCRIPTION:
This sample demonstrates how to create a translation operation and apply custom azure translation model when doing the translation.
This sample demonstrates how to create a translation operation and apply a custom translation model.
To set up your containers for translation and generate SAS tokens to your containers (or files)
with the appropriate permissions, see the README.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
FILE: sample_translation_with_custom_model.py
DESCRIPTION:
This sample demonstrates how to create a translation operation and apply custom azure translation model when doing the translation.
This sample demonstrates how to create a translation operation and apply a custom translation model.
To set up your containers for translation and generate SAS tokens to your containers (or files)
with the appropriate permissions, see the README.
Expand Down

0 comments on commit 82c7e67

Please sign in to comment.