Search code examples
azuremicrosoft-translator

Microsoft translator number to words weird behaviour


Got an issue here, can't translate properly to "word", it only works on very small numbers.

enter image description here

enter image description here

This is how I call the webAPI https://api.microsofttranslator.com/V2/Http.svc/Translate?to=zh-chs&text=Nine

I've consulted the docs but I've yet to find something. MSDN COGNITIVE

Is there any way of forcing the translate to translate to word and not arabic format ?

Thanks,


Solution

  • No, there are no options for controlling semantic behaviors such as number, date/time, etc. The result is dependent on the materials used for training the engine for a particular language, and in this particular case, it appears that for this language pair, word numbers are represented by digits in the result.