Natural Language Processing Cheat Sheet 2026
The 30 highest-yield Natural Language Processing facts, distilled from real exam questions. Print it, save it as a PDF, or study it here β free, no sign-up.
50 questions
60 min time limit
60.00% to pass
- What does 'TF-IDF' stand for in NLP? β Term FrequencyβInverse Document Frequency
- What does text mining stemming mean? β Reducing a word to its root
- In the ROUGE metric used for text summarization evaluation, what does ROUGE-L specifically measure? β Longest common subsequence between candidate and reference
- Which evaluation metric computes the geometric mean of precision and recall of n-gram overlaps between a machine translation output and reference translations? β BLEU
- What is a bag-of-words (BoW) representation? β A text representation that counts word occurrences while ignoring word order
- What is the purpose of 'masked language modeling' (MLM) as used in BERT's pre-training? β Training the model to predict randomly masked tokens using bidirectional context
- What is coreference resolution? β Determining when two or more expressions in a text refer to the same real-world entity
- What is 'transfer learning' in the context of NLP? β Applying knowledge gained from pre-training on large data to specific downstream tasks
- Which parsing strategy processes input left-to-right and builds the parse bottom-up using a stack and input buffer? β Shift-reduce parsing
- What is the main advantage of subword tokenization over word-level tokenization? β It handles rare and out-of-vocabulary words by splitting them into known subword units
- In NLP, what is the 'vocabulary' of a language model? β The fixed set of tokens the model can process and generate
- What does the 'temperature' parameter control during language model text generation? β The sharpness or randomness of the output token probability distribution
- What is the role of part-of-speech (POS) tagging in the NLP pipeline? β It assigns grammatical categories (noun, verb, adjective, etc.) to each token
- What is extractive question answering? β Selecting a span of text from a given passage as the answer to a question
- What is the primary innovation of the Transformer architecture over RNNs? β It uses self-attention to process all tokens in parallel rather than sequentially
- What is the main purpose of the CRF (Conditional Random Field) layer commonly added on top of BERT for sequence labeling tasks? β To model dependencies between consecutive output labels
- Which algorithm is used in the Viterbi decoding process for Hidden Markov Models in NLP? β Dynamic programming
- What problem does beam search solve in NLP sequence generation tasks? β Suboptimal output due to greedy decoding
- What is the main limitation of n-gram language models? β They suffer from data sparsity because higher-order n-grams rarely appear in training data
- Which attention mechanism allows each token in a sequence to attend to all other tokens simultaneously, enabling parallelization? β Self-attention
- Which of the following is an example of a 'zero-shot' NLP task evaluation? β Asking the model to classify sentiment with no task-specific training examples provided
- What does 'hallucination' mean when describing large language model outputs? β Producing plausible-sounding but factually incorrect or fabricated information
- Which loss function is most commonly used for training neural machine translation models? β Cross-entropy loss
- In dependency parsing, what is the 'head' of a dependency relation? β The word that another word (the dependent) grammatically modifies or depends on
- Which technique allows a pre-trained language model to adapt to a new task using only a handful of examples shown in the prompt? β Few-shot prompting
- Morphological segmentation: What is it? β Separate words into individual morphemes and identify the class of the morphemes
- In the context of question answering, what is a 'reading comprehension' task? β Answering questions by extracting or inferring information from a provided passage
- What does constituency parsing produce? β A hierarchical tree of phrases grouped by grammatical roles
- In NLP, what does 'zero-shot learning' refer to? β A model performing a task it was never explicitly trained on
- What does 'BERT' stand for? β Bidirectional Encoder Representations from Transformers
Turn these facts into recall:
Was this helpful?