Azure Document Translation cannot translate words contains _

Shwetha V 6 Reputation points
2021-12-01T08:43:41.517+00:00

Hi

I am using document translator where few words are not getting translate like menu_prive_zakelijk this is in dutch which says menu_private_business. In document translator its same as menu_prive_zakelijk.

Azure AI Translator
Azure AI Translator
An Azure service to easily conduct machine translation with a simple REST API call.
484 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. romungi-MSFT 48,906 Reputation points Microsoft Employee Moderator
    2021-12-02T10:07:04.927+00:00

    @Shwetha V I believe this is an expected result as per the design or model behind the API. The special character _ is normally not used to distinguish/sperate words in a sentence or a document because these can be a email address with _ that would not need any translation. If a comma(,) is used the words will be translated. You can lookup the same with the translate API directly.

    154418-image.png

    I would recommend to pre-process documents that contain such words to replace them with a comma to ensure the translated document is accurate in the target language.

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.