Sample output (RIGHT: Input file, LEFT: Translated Output file)
What if you can harness the power of machine learning in order to create advanced intelligent APIs or more specifically, build a custom neural machine translation engine?
Then imagine using this engine to power up translation capabilities to the next level!
Even more so, what if you can perform translation not only on plain text but directly translate several documents (of different types) in one go!...
..and ultimately, generate automated business processes out of that!
With this capability infused into UiPath studio, possibilities are endless, and business can take another step forward in their journey to digital transformation.
What it does
These activities perform neural machine translation for over 60+ languages for as simple as a plain text input or a set of various types of documents as input. List of support file types for document translator includes Microsoft Office, plain text, HTML, PDF files and SRT caption files.
Translate one or more Office documents, plain text HTML or PDF documents to another language, in one go. This activity comes with a free text translator api key for development purposes. If for extensive use, its recommended to generate your own subscription key in Azure.
Cognitive service for natural language machine translation supporting over 60+ languages and dialects. This activity comes with a free text moderator api key for development purposes. If for extensive use, its recommended to generate your own subscription key in Azure.
How I built it
The project was built using the following technologies.
- Visual Studio with .NET Framework 4.6.1
- Azure Cognitive Services - Advanced intelligence APIs harnessing the power of Machine Learning
- Microsoft Document Translator
Challenges I ran into
Ran into issues with API key/credentials when running the library via command line.
Also, the most critical issue was with the output getting corrupted after the translation, though the translated output can still be opened when file recovery is initiated.
Accomplishments that I'm proud of
Creating MORE AND MORE VALUE out of products that’s already providing the best value! I'm really proud to have developed another channel for this wonderful solution/API to be utilized. One in which the automation community can get the hands of and build really intelligent automation workflows that can accelerate businesses' journey to digital transformation.
What I learned
I learned 60+ languages (pun intended) throughout the course of this project. :)
But seriously, not only I learned a lot of technical stuff interacting with cognitive services built within Azure cloud platform, but also I learned a lot about how I could really create more value out of a product that already is providing a lot of value from the start.
What's next for Intelligent Activities - Document and Text Translation
Bug fixes and enhancements in terms of file output resiliency.
More intelligent activities to come!