microsoft-translator

Azure Translator Text API: What is the definition of a character?


The pricing of the Translator Text API belonging to the Azure Cognitive Services family is based on characters.

But what is the definition of a character?

Some examples:

This is   ,   a     


test.
<p>This is<br>
&nbsp;&nbsp;&nbsp;a
test.</p>

For the sake of completeness: I suppose only the text that is being sent to the API for translation counts (request characters) and not what comes back (response), right?


Solution

  • This is answered here character counts. All of the above examples count as text. Responses do not count. Copying from there:

    What counts is: