Natural Language Processing Engineer Question:
N-grams are defined as the combination of N keywords together. How many bi-grams can be generated from given sentence:
“Analytics Vidhya is a great source to learn data science”
A) 7
B) 8
C) 9
D) 10
E) 11
Answer:
C) 9
Bigrams: Analytics Vidhya, Vidhya is, is a, a great, great source, source to, To learn, learn data, data science
Bigrams: Analytics Vidhya, Vidhya is, is a, a great, great source, source to, To learn, learn data, data science