ExamQuestions.com

Register
Login
Microsoft Azure Exam Certification (AI-102) Exam Questions

Microsoft

Microsoft Azure Exam Certification (AI-102)

125 / 166

Question 125:

You have a requirement to analyze sentiments in a set of documents. You use sentiment analysis with opinion mining. As a result, you get document i, confidence score and document level sentiment. Given the requirement, review the code snippet below and complete it by choosing the option flag with analyzeSentiment method 
<pre class="brush:java;">async function sentimentAnalysisWithOpinionMining(client){
const sentimentInput = [
{
text: "The food was good but the service was poor",
id: "0",
language: "en"
}
];
const results = await client.analyzeSentiment(sentimentInput, {.............................................. });
</pre> 

Answer options:

A.includeOpinionMining: true
B.includeOpinionMining: enable
C.getConfidenceScores: true
D.getConfidenceScores: enable