Question

1) If there are N words after the tokenization process, how many bi-grams and tri-grams can be ge...

1) If there are N words after the tokenization process, how many bi-grams and tri-grams can be generated

a) N-1, N-2

b) N-2, N-1

c) N, N-1

d)N-2,N-3

------------------------------------------------------------------------

------------------------------------------------------------------------

2) Regarding the Document Term Matrix(DTM) which of the following is true?

a) Each value(typically) contains the number of appearances of that term in that document

b) each row represents one term

c) each column represents one document

------------------------------------------------------------------------

------------------------------------------------------------------------

3) “unnest_tokens" function is used to reduce the words to their base or root from.

True or False

------------------------------------------------------------------------

------------------------------------------------------------------------

4) Which of the following lexicon categorizes words into categories of positive, negative, anger, anticipation, disgust etc?

a) nrc

b) AFINN

c) bing

d) LDA

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1) C = N, N - 1

2) A = Each value(typically) contains the number of appearances of that term in that document.

3) False

● unnest_ tokens used to Split a column into tokens.

4) A = nrc

Add a comment
Know the answer?
Add Answer to:
1) If there are N words after the tokenization process, how many bi-grams and tri-grams can be ge...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT