Quiz: Tokens, N-Grams, tf-idf, and Stemming
Test your knowledge of document search strategies, tokenization, n-grams, stemming, and tf-idf.
Natural Language Tools
1
What is the role of stopwords
when combined with weighting = weightTfIdf
?
A)
Creating a document-term matrix with tm
calculates tf-idf as a default regardless of stopword removal.
B)
The stopword removal makes tf-idf unnecessary.
C)
tf*idf makes stop word removal unnecessary.
D)
The tm
package automatically defines stopwords = true
anytime weighting = weightTfIdf
.
Question 1 of 40 attempted
Get hands-on with 1400+ tech skills courses.