Natural Language Processing Trivia 2 — Questions and Answers
Question 1: Which NLP technique splits text into individual words or tokens?
- Tokenization (Correct answer)
- Lemmatization
- Chunking
- Coreference resolution
Correct answer: Tokenization
Tokenization is the process of splitting raw text into individual units called tokens, typically words or subwords.
Question 2: What does 'TF-IDF' stand for in NLP?
- Text Frequency–Inverse Document Frequency
- Term Frequency–Inverse Document Frequency (Correct answer)
- Token Frequency–Index Document Factor
- Textual Feature–Inverse Data Filter
Correct answer: Term Frequency–Inverse Document Frequency
TF-IDF stands for Term Frequency–Inverse Document Frequency, a numerical statistic reflecting how important a word is to a document in a corpus.
Question 3: Which model architecture introduced the concept of 'attention' that revolutionized NLP?
- LSTM
- GRU
- Transformer (Correct answer)
- CNN
Correct answer: Transformer
The Transformer architecture, introduced in the 2017 paper 'Attention Is All You Need,' uses self-attention mechanisms and has become the foundation of modern NLP.
Question 4: In NLP, what is a 'corpus'?
- A single annotated sentence
- A large structured collection of texts used for training or analysis (Correct answer)
- A type of neural network layer
- The output vocabulary of a language model
Correct answer: A large structured collection of texts used for training or analysis
A corpus (plural: corpora) is a large, structured collection of texts used for linguistic analysis, training, or evaluating NLP models.
Question 5: What NLP task involves identifying the sentiment expressed in a piece of text?
- Named entity recognition
- Sentiment analysis (Correct answer)
- Dependency parsing
- Coreference resolution
Correct answer: Sentiment analysis
Sentiment analysis determines the emotional tone or opinion expressed in text, such as positive, negative, or neutral.
Question 6: Which famous NLP benchmark dataset is used for question answering tasks?
- ImageNet
- SQuAD (Correct answer)
- MNIST
- CIFAR-10
Correct answer: SQuAD
SQuAD (Stanford Question Answering Dataset) is a widely used benchmark for evaluating machine reading comprehension and question answering systems.
Question 7: What does 'BERT' stand for?
- Bidirectional Encoder Representations from Transformers (Correct answer)
- Basic Encoder Recurrent Transformer
- Bidirectional Extraction and Retrieval Tool
- Batch Encoding with Recurrent Transformers
Correct answer: Bidirectional Encoder Representations from Transformers
BERT stands for Bidirectional Encoder Representations from Transformers, a pre-trained language model developed by Google that reads text in both directions simultaneously.
Which NLP technique splits text into individual words or tokens?