What is Custom Translator?Ĭustom Translator is a feature of the Microsoft Translator service, which enables Translator enterprises, app developers, and language service providers to build customized neural machine translation (NMT) systems. If the above features are not sufficient, you can start with Custom Translator to train a specific model based on previously translated documents in your domain. If you already know the translation you want to apply to a word, a phrase or a sentence, you can supply it as markup within the request. For example, you may want to tag code, a brand name, or a word/phrase that doesn't make sense when localized. The Translator allows you to tag content so that it isn't translated. Read more here Prevent translation of content ![]() This option allows you to choose whether you want to see profanity deleted, marked with appropriate tags, or take no action taken. If you want to avoid seeing profanity in the translation, even if profanity is present in the source text, use the profanity filtering option available in the Translate() method. As a result, the degree of profanity in the target language may be amplified or reduced. The degree of profanity and the context that makes words profane differ between cultures. Normally the Translator service retains profanity that is present in the source in the translation. Now we have covered how to get started with out of the box translation, but in every language and context there might be a need to customize to enforce specific domain terminology.ĭepending upon the context, you can use standard text translation API available customization tools or train your own domain specific custom engines.įirst let’s take a look what can be done without needing to train your own custom model. Customize the translation to make sense in a specific context When you have that settled you can send the request to the API. To use this service, you need to upload the source document to a blob storage and provide a space for the target documents. In this overview, you’ll learn how the Document Translation API can be used to translate multiple and complex documents across all supported languages and dialects while preserving original document structure and data format. If your content exceeds the 10.000 character limit and you want to keep your original document structure you can use the “Document Translation” API.ĭocument Translation is a cloud-based feature of the Azure Translator service and is part of the Azure Cognitive Service family of REST APIs. The array with the text in the JSON body can have at most 100 elements and the entire text included in the request cannot exceed 10,000 characters including spaces. In the URL you specify the from and to languages and in the body you send the text that you want to translate. If you leave the “from” parameter, the api will detect the language automatically. Next you need to POST the request to the translator API. Use the Azure CLI to retrieve the subscription keys:Īz cognitiveservices account keys list -name Translator -resource-group Translator_RG In this example we will use Visual Studio Code with the REST Client extension to call the Text Translation API. Text translation is a cloud-based REST API feature of the Translator service that uses neural machine translation technology to enable quick and accurate source-to-target text translation in real time across all supported languages. More information on billing and costs can be found here. ![]() Or if you know you are going to use the service a lot there are also pre-paid packages. A free one, to get you started, a pay-as-you go one, here you only pay for what you use. The easiest way to setup a Translator resource is using the Azure CLI or follow this link to create the resource in the portal.Īz cognitiveservices account create -name Translator -resource-group Translator_RG -kind TextTranslation -sku S1 -location westeuropeįor the pricing ( sku ) you have a few options. To get started with Azure you can get a started with a free Azure account here. Let’s start with the basicsįirst you need to setup a Translator resource in Azure. ![]() In this article we will dive into how the translator and the custom translator works, talk about when to use which, and point you to the right documentation to get started. Out of the box the translator API supports many languages and features, but there are sometimes some scenarios where the translation doesn’t really fit the domain language, the solve this you can use the Custom Translator to train your own cus tomized model. Translator is a cloud-based machine translation service you can use to translate text in to 100+ language s with a few simple REST API call s.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |