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: articles/azure-video-indexer/customize-speech-model-with-api.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ The following are descriptions of some of the parameters:
29
29
## Create a speech dataset
30
30
31
31
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:
Copy file name to clipboardExpand all lines: articles/azure-video-indexer/customize-speech-model-with-website.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ As all custom models must contain a dataset, we'll start with the process of how
22
22
1. Select the Speech (new) tab. Here you'll begin the process of uploading datasets that are used to train the speech models.
23
23
24
24
> [!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.":::
26
26
1. Select Upload dataset.
27
27
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.
28
28
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
31
31
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.
32
32
33
33
> [!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.":::
35
35
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.
36
36
37
37
> [!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.":::
39
39
40
40
## Review and update a dataset
41
41
@@ -44,14 +44,14 @@ Once a Dataset has been uploaded, you might need to review it or perform any num
44
44
**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**.
45
45
46
46
> [!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.":::
48
48
49
49
You'll then view the name, description, language and status of the dataset plus the following properties:
50
50
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.
52
52
53
53
> [!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.":::
55
55
56
56
**Dataset ID**: Each dataset has a unique GUID, which is needed when using the API for operations that reference the dataset.
57
57
@@ -87,7 +87,7 @@ Keep in mind the following when creating and using custom speech models:
87
87
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.
88
88
89
89
> [!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.":::
91
91
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.
92
92
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.
93
93
1. Select Create ad train.
@@ -106,7 +106,7 @@ Once a Model has been created, you might need to review its datasets, edits its
106
106
**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.
107
107
108
108
> [!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.":::
110
110
111
111
You'll then see in the Details tab the name, description, language and status of the model plus the following properties:
112
112
@@ -117,7 +117,7 @@ You'll then see in the Details tab the name, description, language and status of
117
117
**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.
118
118
119
119
> [!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.":::
121
121
122
122
> [!Note]
123
123
> 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
127
127
**Included datasets**: Click on the Included datasets tab to view the model’s datasets.
128
128
129
129
> [!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.":::
131
131
132
132
## How to use a custom language model when indexing a video
133
133
@@ -136,7 +136,7 @@ A custom language model isn't used by default for indexing jobs and must be sele
136
136
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:
137
137
138
138
> [!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.":::
140
140
141
141
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.
Copy file name to clipboardExpand all lines: articles/azure-video-indexer/language-support.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ manager: femila
6
6
ms.topic: conceptual
7
7
ms.custom: ignite-2022
8
8
ms.author: juliako
9
-
ms.date: 02/21/2023
9
+
ms.date: 03/10/2023
10
10
---
11
11
12
12
# Language support in Azure Video Indexer
@@ -24,7 +24,7 @@ This section explains the Video Indexer language options and has a table of the
24
24
25
25
-**Supported source language** – The language spoken in the media file supported for transcription, translation, and search.
26
26
-**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).
28
28
-**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).
29
29
-**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.
0 commit comments