Implement natural language processing solutions (30–35%) Flashcards

1
Q

What size limitations exist in the language detection API?

A

the document size must be under 5,120 characters. The size limit is per document and each collection is restricted to 1,000 items (IDs).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

If multiple sentiments exist in a text with multiple sentences, how will the sentiment analyzer classify the text?

A
  1. If all sentences are neutral, the overall sentiment is neutral.
  2. If sentence classifications include only positive and neutral, the overall sentiment is positive.
  3. If the sentence classifications include only negative and neutral, the overall sentiment is negative.
  4. If the sentence classifications include positive and negative, the overall sentiment is mixed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the difference between question answering and conversational language?

A

Question answering Language understanding
Usage pattern User submits a question, expecting an answer User submits an utterance, expecting an appropriate response or action
Query processing Service uses natural language understanding to match the question to an answer in the knowledge base Service uses natural language understanding to interpret the utterance, match it to an intent, and identify entities
Response Response is a static answer to a known question Response indicates the most likely intent and referenced entities
Client logic Client application typically presents the answer to the user Client application is responsible for performing appropriate action based on the detected intent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What properties are required in the body of a call to the API for question answering ?

A

Property Description
question Question to send to the knowledge base.
top Maximum number of answers to be returned.
scoreThreshold Score threshold for answers returned.
strictFilters Limit to only answers that contain the specified metadata

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What two approaches can be taken to improve performance of a question answering model?

A

After creating and testing a knowledge base, you can improve its performance with active learning and by defining synonyms.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

You want to create a knowledge base from an existing FAQ document. What should you do?

A

Create a new knowledge base, importing the existing FAQ document.

You can create a knowledge base from an existing document or web page.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can you enable users to use your knowledge base through email?

A

You can create a bot for your published knowledge base and configure a channel for email communication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What preconfigured features exist in natural language processing?

A

Summarization
Named entity recognition
PII detection
Key phrase extraction
Sentiment analysis
Language detection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Describe conversational language understanding (CLU)

A

CLU helps users to build custom natural language understanding models to predict overall intent and extract important information from incoming utterances. CLU does require data to be tagged by the user to teach it how to predict intents and entities accurately.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What steps do you take to build a Conversational Language Understanding project using the REST API?

A

These tasks are done asynchronously; you’ll need to submit a request to the appropriate URI for each step, and then send another request to get the status of that job.

Each call requires authentication using the header Ocp-Apim-Subscription-Key

  1. Request deployment
  2. Get deployment status
  3. Import data
  4. Train model
  5. Deploy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

You have an app named App1 that analyzes social media mentions and determines whether comments are positive or negative.
During testing, you notice that App1 generates negative sentiment analysis in response to customer feedback that contains positive feedback.
You need to ensure that App1 includes more granular information during the analysis.
What should you add to the API requests?

A

opinionMining=true will add aspect-based sentiment analysis, which in turn will make the sentiment more granular so that positive and negative in a single sentence can be returned.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What range of scores of the Bilingual Evaluation Understudy (BLEU) indicates a high quality translation?

A

between 40 and 60 indicates a high-quality translation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

You are creating an orchestration workflow for Language Understanding.
You need to configure workflows for multiple languages. The solution must minimize administrative effort.
What should you create for each language?

A

separate workflow projects

Orchestration workflow projects do not support the multilingual option, so you need to create a separate workflow project for each language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly