Translate Document from One Language To Another - Azure Cognitive Services

  Переглядів 9,086

Shweta Lodha

Shweta Lodha

2 роки тому

This video will walk you through the document translation process from one language to another using Azure Translator Service. It includes creation of Azure translator instance and uses Azure blob container for saving the documents. Development language used in this video is C#.Net.
Reference for the list of supported languages: docs.microsoft.com/en-us/azur...
Source Code: github.com/shwetalodha/BlogSo...
#azurecognitiveservices #azure #ai

КОМЕНТАРІ: 32
@debatradas9268
@debatradas9268 Рік тому
THANK YOU SO MUCH
@jsanchezcr
@jsanchezcr Рік тому
Thank you for this great video
@shweta-lodha
@shweta-lodha Рік тому
Glad you enjoyed it!
@nightmaremadeira6462
@nightmaremadeira6462 2 роки тому
Giọng anh rất hay, cảm xúc nữa ạ.
@nagas1855
@nagas1855 8 місяців тому
This is very precise video. Can you help with code, if the document is required to translate to multiple languages german, chinese and french etc..
@kaksonjoel7991
@kaksonjoel7991 2 роки тому
Thank you for this simple and very accurate video, however I would like to know if you can make us a video in which we can add several files to translate at the same time, instead of a single file per execution of the program. Thank you in advance.
@shweta-lodha
@shweta-lodha 2 роки тому
Great suggestion! I'll accommodate that.
@saurabhgoyal5567
@saurabhgoyal5567 7 місяців тому
Thanks for the video. I'm getting the following error IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. WebException: The underlying connection was closed: An unexpected error occurred on a send. SocketException: An existing connection was forcibly closed by the remote host
@shweta-lodha
@shweta-lodha 7 місяців тому
Please check your firewall settings
@AmitSharma-bb7mt
@AmitSharma-bb7mt 2 роки тому
Hello, I am not getting the desired translated file after running the console application. Please tell me is there any other things I need to check. Also, tell me the route folder structure that you have mentioned top most
@abraradil3836
@abraradil3836 Рік тому
Hello Swetha, Thanks for the great video, We want to implement the same but not using the storage accounts/containers, is there any possibility of uploading the files for translation and downloading the files to physical memory instead of going with Storage containers.
@shweta-lodha
@shweta-lodha Рік тому
Yes, you can do it as it is just a REST API call. Check this out: learn.microsoft.com/en-us/azure/cognitive-services/translator/quickstart-translator?tabs=csharp
@rustyelston
@rustyelston Рік тому
Thank you Shweta for this great demonstration. I have followed your demonstration exactly, but I am receiving "Forbidden" with no further explanation. I've updated my endpoint as per your demo; updated the SourceUrl as per demo; and updated the targetUrl likewise. I'm using your source code as per attached with only the above modifications. I've created the storage containers and the inputdocs and translateddocs containers; uploaded a small .docx to the inputdocs container; and generated the storage access policies increasing read/write/list. Do you have any advice? Thank you in advance. (BTW, since the release the UI is slightly different than you demo)
@shweta-lodha
@shweta-lodha Рік тому
Please cross check permissions on your storage account.
@rustyelston
@rustyelston Рік тому
@@shweta-lodha Thank you...I missed that you MUST check the LIST permission on the inputdocs container. You did show this, but apparently, I missed this. Thank you for your kind reply :)
@rustyelston
@rustyelston Рік тому
@@shweta-lodha After fixing the LIST permission, I am now faced with "Target file already exists" when I translate the same document more than once. Is there a way to overlay the existing document or delete it first before translation?
@shweta-lodha
@shweta-lodha Рік тому
I guess, deletion is the only option because the targetUrl for each target language must be unique. Here is the official documentation mentioning this: learn.microsoft.com/en-us/azure/cognitive-services/translator/document-translation/reference/start-translation
@KarimRahal-hw2ez
@KarimRahal-hw2ez Рік тому
Hi, Thanks for this great video! One question, I was trying to translate a document from English to Arabic, but I wasn't asked anywhere to define the language I want the document to be translated to. Where can I choose the language? Thanks
@shweta-lodha
@shweta-lodha Рік тому
It is supplied as part or json. Please see targets property of json.
@ChrisChros-ck2by
@ChrisChros-ck2by Рік тому
Thank you for this video. I have another small question, how can I make it so that per C# we wait until the document is ready translated in the folder so we can write it back to a stream and save it to the database?
@shweta-lodha
@shweta-lodha Рік тому
You can use Azure Function App to monitor your Azure storage
@khushabusoni1350
@khushabusoni1350 2 роки тому
Showing this error, plz suggest me what is wrong Error occurred. Status code: ForbiddenPS C:\Users\cloud\Desktop\myproject>
@owaisahmadshah6453
@owaisahmadshah6453 3 місяці тому
How to do this without coding or developer experience. I don't understand anything 😂😢 please help
@shweta-lodha
@shweta-lodha 3 місяці тому
Unfortunately you should have beginner knowledge because it requires coding effort. Sorry for that.
@KiddosSmart
@KiddosSmart 2 роки тому
Hi i tried this one but i want to know single file translation please let me know how to do that
@shweta-lodha
@shweta-lodha 2 роки тому
It would work for single file also.
@besthealthtips4423
@besthealthtips4423 2 роки тому
Hi Mam Can you make video for Google file Translation Thank you
@shweta-lodha
@shweta-lodha 2 роки тому
What do you mean by Google file Translation? If you are talking about a document translation, then I've already created 2 videos on that. Please refer this: ukposts.info/slow/PLb9nVWmuEUuEeut9rDlUP2NdX3IA13Jsm
@besthealthtips4423
@besthealthtips4423 2 роки тому
@@shweta-lodha I need Google engine not azure
@vabjosh
@vabjosh 2 роки тому
Where I can get source code
@shweta-lodha
@shweta-lodha 2 роки тому
Here you go: github.com/shwetalodha/BlogSource/blob/main/TranslateDocFromEnfToFr_C%23.cs
Translate Documents via Power Automate and Azure Cognitive Services
14:22
Пескоструйный АППАРАТ! #shorts
01:00
Гараж 54
Переглядів 2,5 млн
How to get a FREE HYPERCHARGE SKIN!
02:07
Brawl Stars
Переглядів 15 млн
Помилка,  яку зробило військове керівництво 🙄
01:00
Радіо Байрактар
Переглядів 343 тис.
😱СНЯЛ ФИКСИКОВ НА КАМЕРУ‼️
00:35
OMG DEN
Переглядів 1,3 млн
Part 6 - Azure Cognitive Search can be performed using C#
13:41
Bhushan Tech Cloud
Переглядів 4,5 тис.
Understanding Azure Cognitive Services
10:47
Matt on Data Science
Переглядів 2,9 тис.
Translate documents at scale and preserve formatting with Azure Translator
10:51
Getting Started With Face API Azure Cognitive Services
12:03
Shweta Lodha
Переглядів 13 тис.
Getting Started with Azure Speech Services - Convert Speech to Text
10:27
Getting Started with Custom Translator
59:18
Microsoft Translator
Переглядів 8 тис.
Azure AI Search: Generating the right answers, every time
19:40
Microsoft Developer
Переглядів 15 тис.
The Only .NET Scheduler You Should Be Using!
16:38
Nick Chapsas
Переглядів 30 тис.
МОЙ ПЕРВЫЙ ТЕЛЕФОН - Sony Erricson T280i
18:02
ЗЕ МАККЕРС
Переглядів 66 тис.
All New Atlas | Boston Dynamics
0:40
Boston Dynamics
Переглядів 5 млн