'How can I find the confidence score of a translated phrase in the cognitive services speech SDK?

I am translating a wav file using this function in the sample and I need to get the confidence score of a phrase. How can I do that?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source