You are required to translate all documents from english language to french language using an Azure translator service.
Review the code snippet below and complete it by selecting three answer choices:
{ ".......................................................": [ { "source": { ".......................................................": "https://my.blob.core.windows.net/source-en?sv=2019-12-12&st=2021-03-05T17%3A45%3A25Z&se=2021-03-13T17%3A45%3A00Z&sr=c&sp=rl&sig=SDRPMjE4nfrH3csmKLILkT%2Fv3e0Q6SWpssuuQl1NmfM%3D" }, "targets": [ { "targetUrl": "https://my.blob.core.windows.net/.......................................................?sv=2019-12-12&st=2021-03-05T17%3A49%3A02Z&se=2021-03-13T17%3A49%3A00Z&sr=c&sp=wdl&sig=Sq%2BYdNbhgbq4hLT0o1UUOsTnQJFU590sWYo4BOhhQhs%3D", "language": "fr" } ] } ] }
Click on the arrows to vote for the correct answer
A. B. C. D. E.Correct Answers: C, D and E
Here is the completed statement for reference:
<pre>{
"inputs": [
{
"source": {
"sourceUrl": "https://my.blob.core.windows.net/source-en?sv=2019-12-12&amp;st=2021-03-05T17%3A45%3A25Z&amp;se=2021-03-13T17%3A45%3A00Z&amp;sr=c&amp;sp=rl&amp;sig=SDRPMjE4nfrH3csmKLILkT%2Fv3e0Q6SWpssuuQl1NmfM%3D"
},
"targets": [
{
"targetUrl": "https://my.blob.core.windows.net/target-fr?sv=2019-12-12&amp;st=2021-03-05T17%3A49%3A02Z&amp;se=2021-03-13T17%3A49%3A00Z&amp;sr=c&amp;sp=wdl&amp;sig=Sq%2BYdNbhgbq4hLT0o1UUOsTnQJFU590sWYo4BOhhQhs%3D",
"language": "fr"
}
]
}
]
}
</pre>Referencing the completed statement above,
Option A is incorrect.
Referencing the completed statement above, Option B is incorrect.
Referencing the completed statement above, Option C is correct.
The translator batch submission requires inputs for documents or folder containing documents.
Referencing the completed statement above, Option D is correct.
sourceUrl provides the location of the folder or container that contains the documents for translation.
Referencing the completed statement above, Option E is correct.
Reference:
To learn more batch translation using document translation service, use the link given below:
The given code snippet represents a JSON object that specifies the details required for translating documents from English to French using an Azure Translator service. The JSON object has a single property that is an array with one element. This element represents a translation job and has the following properties:
"source": This property specifies the URL of the source document that needs to be translated. The URL is in the form of a Shared Access Signature (SAS) URL that provides temporary access to the source document. The SAS URL includes various parameters such as the expiry time, permissions, and signature, which are used to authenticate and authorize access to the source document. However, the property name "......................................................." is missing in the code snippet, and the correct answer to fill this gap is A. source-en.
"targets": This property is an array of translation targets, each of which specifies the details of the translated document that needs to be created. In this case, there is only one target specified, which has the following properties:
"targetUrl": This property specifies the URL of the translated document that will be created. Similar to the source URL, the target URL is also a SAS URL that provides temporary access to the translated document. However, the permissions and signature parameters are different from the source URL, as the translated document will have write permissions. The property name "......................................................." is also missing in the code snippet, and the correct answer to fill this gap is E. target-fr.
"language": This property specifies the language of the target document, which is "fr" in this case, indicating French language.
Therefore, the correct answers to fill the gaps in the code snippet are A. source-en, E. target-fr, and any other option is incorrect.