0 ratings0% found this document useful (0 votes) 288 views10 pagesAnalyzing Text Data Quiz - Python
AI/ML course graded quiz for AI/ML
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
X Week 4 - Analyzing Text Data + 10 Questions © 00:42:48 VY submit
Questiont v1 wank 1 Revisit Answer choices Select an option
How many bigrams can be generated from the following sentence? O49
“NLP is the most interesting Al topic”
ou
O7
[esX Week 4 Analyzing Text Data + 10 Questions Y Submit
Question v1 Manx 11 Revisit Answer choices Select an option
‘What is the purpose of the max_features parameter in the code snippet CO Itspecifies the maximum number of text documents to consider
below? during vectorization.
cea een cecal ai Con cunesig eee) @ Itsets the maximum number of features (unique words) to be
data_features_B0W = bow_vec. Fit_transform(data[ ‘text’]) coraidared lathe ay of Words reprecse(ation!
Itdetermines the maximum number of characters allowed in each
document.
sino arrempreo. < Previous (REX Week 4 - Analyzing Text Data + 10 Questions © 00:38:52 y Submit
Question v imax (1 Revisit. Answer choices Select an option
Consider the word "running", After applying stemming using PorterStemmer, what
would be the stemmed form ofthe word? O tunn
{@ wn
© tuning
O tanninX Week 4 - Analyzing Text Data + 10 Questions © 00:39:39 | submit
Question dv 1manK (1 Revisit Answer choices Select an option
\What isthe primary objective of sentiment analysis?
© To determine the author's personal information such as age and
gender.
To identify the emotional tone expressed in a piece of text, such as
positive, negative, or neutral.
© To analyze grammatical structures and syntax in a given sentence.
Toextract named entities and entities’ relationships from textual data
ano artempreD < Previous [RYX Week 4 - Analyzing Text Data + 10 Questions Submit
Question3 v1 marx Dl Revisit
eS Select an option
How does the "Bag of Words" mode! handle the frequency of words in a document?
© Itcomputes a weighted average of every word by the number of times
‘the word appears in the corpus
CO itconsiders only the first occurrence of each word
© itcalculates the logarithm of word frequencies
© ttrepresents words based on their frequency in the document
eee tee @GaeX Week 4 - Analyzing Text Data + 10 Questions © 00:41:23 | Y Submit
Question2 v —1marK 1] Revisit Answer choices Select an option
What is the advantage of using n-gram in language modeling?
| © Improved accuracy in sentiment analysis
© Reduced computational complexity
© Better capturing of word semantics
© Understanding of individual word frequenciesWeek 4 - Analyzing Text Data + 10 Questions © 00:33:15
Question 10 vs wan (1 Revisit Answer choices Select an option
How many unigrams are there in the sentence "The cat sat on the mat" after @e
performing the lowercasing operation ?
Os
O7
oe
0/10 ATTEMPTED « Previous Next >Week 4 - Analyzing Text Data + 10 Questions © 00:34:48 | Y Submit
Question9 v1 marK 1 Revisit Answer choices Select an option
Select True/False forthe following statement. O twe
The regex pattern [°0-9] matches all the digits present in a given string. OT
@ False ]X Week 4 - Analyzing Text Data * 10 Questions
27 | v Submit
Question 8 v1 marx A Revisit Answer choices Select an option
Which of the following functions is used to convert characters to lowercase O Lower)
ina string?
@ towert)
O convert_tower()
O convertLowert)
‘eyo arrempreo < Previous (REX Week 4- Analyzing Text Data + 10 Questions © 00:36:53 v Submit
Question? v 1 wank Al Revisit Answer choices Select an option
‘Which of the following regex patterns is used to match all the digits in 2 string?
O (0-5)
@ (0-91
O [a-z0-9]
O [a-zA-Z0-9)
7ho arteMPreD < Previous (RS