Azure Translator - Why specific word from Phrase dictionary is ignored during translation of single word?

Lukasz GAWLIK - B4BRIDGE 0 Reputation points
2024-07-18T11:00:41.1033333+00:00

In Azure Custom Translator we have model trained with simple Phrase Dictionary (Dictionary-only training):

image

All translations except "site" and "sites" work correctly, Phrase dictionary is applied.

Translation for single word "site" or "sites" is not correct, Phrase dictionary is ignored.

User's image

Moreover when "site" is used in sentence like "it's a site" then Phrase dictionary is applied.

User's image

What is the reason of this incorrect behavior when Phrase dictionary is ignored for single word translations of "site" or "sites"?

Regards

Łukasz Gawlik

Azure Translator
Azure Translator
An Azure service to easily conduct machine translation with a simple REST API call.
367 questions
{count} votes

1 answer

Sort by: Most helpful
  1. santoshkc 6,955 Reputation points Microsoft Vendor
    2024-07-18T11:54:43.4866667+00:00

    Hi @Lukasz GAWLIK - B4BRIDGE,

    Thank you for reaching out to Microsoft Q&A forum!

    The issue with Azure Custom Translator ignoring the phrase dictionary for single words like "site" or "sites" likely arises from context sensitivity. The translation model relies on context to apply dictionary rules accurately. When "site" is used in isolation, the system may not recognize the dictionary entry due to a lack of surrounding context. However, when "site" is part of a sentence, the additional words provide enough context for the dictionary rule to be applied correctly. To address this, ensure your phrase dictionary is correctly configured and consider adding more contextual variations for "site" and "sites".

    However, we appreciate your feedback and encourage you to submit feedback through the Azure Feedback Forum. Here's the link to the Azure Feedback Forum: Post idea · Community (azure.com)

    I hope you understand. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful.

    0 comments No comments