Skip to content

Commit 2a9a6d7

Browse files
committed
per review
1 parent cec0651 commit 2a9a6d7

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

articles/azure-video-indexer/customize-speech-model-with-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The following are descriptions of some of the parameters:
2929
## Create a speech dataset
3030

3131
The [create speech dataset](https://api-portal.videoindexer.ai/api-details#api=Operations&operation=Create-Speech-Dataset) API creates a dataset for training a speech model. You upload a file that is used to create a dataset with this call. The content of a dataset can't be modified after it's created.
32-
To upload a file to a dataset, you must update parameters in the Body, including a URL to the text file to be uploaded. The description and custom properties fiels are optional. The following is a sample of the body:
32+
To upload a file to a dataset, you must update parameters in the Body, including a URL to the text file to be uploaded. The description and custom properties fields are optional. The following is a sample of the body:
3333

3434
```json
3535
{

articles/azure-video-indexer/customize-speech-model-with-website.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ As all custom models must contain a dataset, we'll start with the process of how
2222
1. Select the Speech (new) tab. Here you'll begin the process of uploading datasets that are used to train the speech models.
2323

2424
> [!div class="mx-imgBorder"]
25-
> :::image type="content" source="./media/customize-speech-model/speech-model.png" alt-text="The image of uploading datasets which are used to train the speech models.":::
25+
> :::image type="content" source="./media/customize-speech-model/speech-model.png" alt-text="The "Screenshot of uploading datasets which are used to train the speech models.":::
2626
1. Select Upload dataset.
2727
1. Select either Plain text or Pronunciation from the Dataset type dropdown menu. Every speech model must have a plain text dataset and can optionally have a pronunciation dataset. To learn more about each type, see Customize a speech model with Azure Video Indexer.
2828
1. Select Browse which will open the File Explorer. You can only use one file in each dataset. Choose the relevant text file.
@@ -31,11 +31,11 @@ As all custom models must contain a dataset, we'll start with the process of how
3131
1. You can optionally add a description of the dataset. This could be helpful to distinguish each dataset if you expect to have multiple datasets.
3232

3333
> [!div class="mx-imgBorder"]
34-
> :::image type="content" source="./media/customize-speech-model/dataset-type.png" alt-text="The image of multiple datasets.":::
34+
> :::image type="content" source="./media/customize-speech-model/dataset-type.png" alt-text="Screenshot of multiple datasets.":::
3535
1. Once you're ready, select Upload. You'll then see a list of all of your datasets and their properties, including the type, language, status, number of lines, and creation date. Once the status is complete, it can be used in the training and creation or new models.
3636

3737
> [!div class="mx-imgBorder"]
38-
> :::image type="content" source="./media/customize-speech-model/datasets.png" alt-text="The image of a new model.":::
38+
> :::image type="content" source="./media/customize-speech-model/datasets.png" alt-text="Screenshot of a new model.":::
3939
4040
## Review and update a dataset
4141

@@ -44,14 +44,14 @@ Once a Dataset has been uploaded, you might need to review it or perform any num
4444
**View dataset**: You can view a dataset and its properties by either clicking on the dataset name or when hovering over the dataset or clicking on the ellipsis and selecting **View Dataset**.
4545

4646
> [!div class="mx-imgBorder"]
47-
> :::image type="content" source="./media/customize-speech-model/view-dataset.png" alt-text="This image shows how to view dataset.":::
47+
> :::image type="content" source="./media/customize-speech-model/view-dataset.png" alt-text="Screenshot of how to view dataset.":::
4848
4949
You'll then view the name, description, language and status of the dataset plus the following properties:
5050

51-
**Number of lines**: indicates the number of lines successfully loaded out of the total number of lines in the file. If the entire file is loaded successfully the numbers will match (for example, 10 of 10 normalized). If the numbers don't match (for example, 7 of 10 normalized), this means that only some of the lines successfully loaded and the rest had errors. The most common cause of errors are formatting issues with a line, such as not spacing a tab between each word in a pronunciation file. Reviewing the plain text and pronunciation data for training articles should be helpful in finding the issue. To troubleshoot the cause, review the error details, which are contained in the report. Select **View report** to view the error details regarding the lines that didn't load successfully (errorKind). This can also be viewed by selecting the **Report** tab.
51+
**Number of lines**: indicates the number of lines successfully loaded out of the total number of lines in the file. If the entire file is loaded successfully the numbers will match (for example, 10 of 10 normalized). If the numbers don't match (for example, 7 of 10 normalized), this means that only some of the lines successfully loaded and the rest had errors. Common causes of errors are formatting issues with a line, such as not spacing a tab between each word in a pronunciation file. Reviewing the plain text and pronunciation data for training articles should be helpful in finding the issue. To troubleshoot the cause, review the error details, which are contained in the report. Select **View report** to view the error details regarding the lines that didn't load successfully (errorKind). This can also be viewed by selecting the **Report** tab.
5252

5353
> [!div class="mx-imgBorder"]
54-
> :::image type="content" source="./media/customize-speech-model/report-tab.png" alt-text="The image shows how to view by selecting report tab.":::
54+
> :::image type="content" source="./media/customize-speech-model/report-tab.png" alt-text="Screenshot of how to view by selecting report tab.":::
5555
5656
**Dataset ID**: Each dataset has a unique GUID, which is needed when using the API for operations that reference the dataset.
5757

@@ -87,7 +87,7 @@ Keep in mind the following when creating and using custom speech models:
8787
1. When viewing the list of datasets, if you select a plain text dataset by clicking on the circle to the left of a plain text dataset’s name, the Train new model icon above the datasets will now turn from greyed out to blue and can be selected. Select Train new model.
8888

8989
> [!div class="mx-imgBorder"]
90-
> :::image type="content" source="./media/customize-speech-model/train-model.png" alt-text="This image shows how to train new model.":::
90+
> :::image type="content" source="./media/customize-speech-model/train-model.png" alt-text="Screenshot of how to train new model.":::
9191
1. In the Train a new model popup, enter a name for the model, a language, and optionally add a description. A model can only contain datasets of the same language.
9292
1. Select the Datasets tab and then select from the list of your datasets the datasets you would like to be included in the model. Once a model is created, datasets can't be added.
9393
1. Select Create ad train.
@@ -106,7 +106,7 @@ Once a Model has been created, you might need to review its datasets, edits its
106106
**View Model**: You can view a model and its properties by either clicking on the model’s name or when hovering over the model, clicking on the ellipsis and then selecting View Model.
107107

108108
> [!div class="mx-imgBorder"]
109-
> :::image type="content" source="./media/customize-speech-model/view-model.png" alt-text="The image shows how to review and update a model.":::
109+
> :::image type="content" source="./media/customize-speech-model/view-model.png" alt-text="Screenshot of how to review and update a model.":::
110110
111111
You'll then see in the Details tab the name, description, language and status of the model plus the following properties:
112112

@@ -117,7 +117,7 @@ You'll then see in the Details tab the name, description, language and status of
117117
**Edit Details**: To edit a model’s name or description, when hovering over the model, click on the ellipsis and then select Edit details. You're then able to edit the model’s name and description.
118118

119119
> [!div class="mx-imgBorder"]
120-
> :::image type="content" source="./media/customize-speech-model/create-model.png" alt-text="Hover over the model.":::
120+
> :::image type="content" source="./media/customize-speech-model/create-model.png" alt-text="Screenshot of how to hover over the model.":::
121121
122122
> [!Note]
123123
> Only the model’s name and description can be edited. If you want to make any changes to its datasets or add datasets, a new model must be created.
@@ -127,7 +127,7 @@ You'll then see in the Details tab the name, description, language and status of
127127
**Included datasets**: Click on the Included datasets tab to view the model’s datasets.
128128

129129
> [!div class="mx-imgBorder"]
130-
> :::image type="content" source="./media/customize-speech-model/included-datasets.png" alt-text="This image shows how to delete the model.":::
130+
> :::image type="content" source="./media/customize-speech-model/included-datasets.png" alt-text="Screenshot of how to delete the model.":::
131131
132132
## How to use a custom language model when indexing a video
133133

@@ -136,7 +136,7 @@ A custom language model isn't used by default for indexing jobs and must be sele
136136
During the upload process, you can select the source language of the video. In the Video source language drop-down menu, you'll see your custom model among the language list. The naming of the model is the language of your Language model and the name that you gave it in parentheses. For example:
137137

138138
> [!div class="mx-imgBorder"]
139-
> :::image type="content" source="./media/customize-speech-model/contoso-model.png" alt-text="The image of indexing a video.":::
139+
> :::image type="content" source="./media/customize-speech-model/contoso-model.png" alt-text="Screenshot of indexing a video.":::
140140
141141
Select the Upload option in the bottom of the page, and your new video will be indexed using your Language model. The same steps apply when you want to re-index a video with a custom model.
142142

articles/azure-video-indexer/language-support.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: femila
66
ms.topic: conceptual
77
ms.custom: ignite-2022
88
ms.author: juliako
9-
ms.date: 02/21/2023
9+
ms.date: 03/10/2023
1010
---
1111

1212
# Language support in Azure Video Indexer
@@ -24,7 +24,7 @@ This section explains the Video Indexer language options and has a table of the
2424

2525
- **Supported source language** – The language spoken in the media file supported for transcription, translation, and search.
2626
- **Language identification** - Whether the language can be automatically detected by Video Indexer when language identification is used for indexing. To learn more, see [Use Azure Video Indexer to auto identify spoken languages](language-identification-model.md) and the **Language Identification** section.
27-
- **Customization (language model)** - Whether the language can be used when customizing language models in Video Indexer. To learn more, see [Customize a Language model in Azure Video Indexer](customize-language-model-overview.md).
27+
- **Customization (language model)** - Whether the language can be used when customizing language models in Video Indexer. To learn more, see [Customize a language model in Azure Video Indexer](customize-language-model-overview.md).
2828
- **Pronunciation (language model)** - Whether the language can be used to create a pronunciation dataset as part of a custom speech model. To learn more, see [Customize a speech model with Azure Video Indexer](customize-speech-model-overview.md).
2929
- **Website Translation** – Whether the language is supported for translation when using the [Azure Video Indexer website](https://aka.ms/vi-portal-link). Select the translated language in the language drop-down menu.
3030

0 commit comments

Comments
 (0)