Natural Language Processing
- 86Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
86 questions
- 1A probability that is evaluated using additional information or evidence is called a_____probability.
Hint
It is a probability conditioned on known data or circumstances.
Answer
Conditional
Explanation
A conditional probability estimates the chance of an event given specified information, such as sensor readings or metadata.
- 2In a conditional probability, the information used to refine an estimate is the_____condition.
Hint
This word introduces the evidence on which the probability depends.
Answer
given
Explanation
The phrase “given” identifies the information on which a conditional probability is conditioned.
- 3For a fair coin, the probability of the coin coming up heads is_____.
Hint
A fair coin has two equally likely outcomes.
Answer
0.5
Explanation
Because heads and tails are equally likely, the probability of heads is 0.5.
- 4A forecast of whether an object in front of a car is human could use data from thousands of_____as evidence.
Hint
These devices gather measurements from the vehicle and its surroundings.
Answer
sensors
Explanation
The example predicts whether an object is human based partly on data from thousands of sensors, along with historical data and metadata.
- 5In a text-to-speech task, a system might estimate whether a speech segment is suitable given its spectral specifications, duration, focus, and_____of speech.
Hint
This linguistic label distinguishes categories such as nouns and verbs.
Answer
part
Explanation
Part of speech is one of the contextual features that could be used to predict whether a segment is suitable for text-to-speech synthesis.
- 6Predicting whether a tweet contains hate speech can use its content, language, timing, location, and_____information.
Hint
This is information about the tweet or its context, rather than only its wording.
Answer
metadata
Explanation
The example combines the tweet’s content with metadata such as when and where it was posted and information about retweets.
- 7A weather forecast may change when the evidence changes from it being Monday to it being_____.
Hint
A forecast can become more informative as the target day gets closer.
Answer
Thursday
Explanation
The talk illustrates conditional probability by noting that the prediction for Friday may differ depending on whether the current day is Monday or Thursday.
- 8The shared thread connecting data science, human language technology, and natural language processing is using data to make a probabilistic_____about the future.
Hint
It is a reasoned conclusion or estimate based on evidence.
Answer
inference
Explanation
These fields use statistical and machine-learning models to make inferences, often about future events or outcomes.
- 9In the talk’s terminology, the use of data and models to estimate likely future outcomes is called_____probability.
Hint
The term emphasizes forecasting rather than merely describing observed data.
Answer
Predicted
Explanation
“Predicted Probability” is the shared idea used to connect data science, human language technology, and natural language processing.
- 10Predictions from conditional probability are not certain; they express a degree of_____about an outcome.
Hint
The estimate describes how likely an event is, not whether it is guaranteed.
Answer
probability
Explanation
A probabilistic prediction gives a likelihood for an event based on available evidence rather than asserting certainty.
- 11Statistical modeling begins with a set of data and builds a_____to accomplish some analytical task.
Hint
It is the mathematical or statistical representation built from the data.
Answer
model
Explanation
Statistical modeling uses collected data to build a model that can help explain or predict something.
- 12In data modeling, a model is often assumed to reflect an underlying_____that generated the observations.
Hint
It refers to what is presumed to be happening behind the observed data.
Answer
process
Explanation
The data-modeling culture treats the model as a representation of an underlying data-generating process.
- 13When researchers focus on how predictors relate to linguistic behavior, they are often interested in the model’s_____values.
Hint
These are the quantities that describe the effects or weights within a model.
Answer
parameters
Explanation
Parameters are central in data modeling because researchers use them to interpret relationships, such as whether age or language background better predicts behavior.
- 14Because data-modeling researchers want interpretable parameters, they often prefer_____models.
Hint
These models are easier to interpret than complicated ones.
Answer
simpler
Explanation
The talk describes a preference for simpler models in statistical modeling when the goal is to understand parameters and the underlying process.
- 15The preference for simpler, interpretable models is especially associated with causal research, rather than_____.
Hint
This contrasting area often places greater emphasis on predictive performance.
Answer
engineering
Explanation
The talk contrasts causal research, where simpler models are prevalent, with engineering, where that preference is less characteristic.
- 16In algorithmic modeling, the main goal is to make accurate_____on data beyond the observations already collected.
Hint
The goal is to estimate what will happen with new or future data.
Answer
predictions
Explanation
Algorithmic modeling prioritizes prediction rather than interpreting a model as a description of reality.
- 17Algorithmic modeling does not require the model to represent an underlying_____process.
Hint
This is the process presumed by the other modeling culture to produce observations.
Answer
data-generating
Explanation
Unlike data modeling, algorithmic modeling does not assume that the fitted model reveals the process that generated the data.
- 18Because algorithmic modeling prioritizes prediction over interpretation, it can use a_____model whose internal operations are difficult to explain.
Hint
The label describes a model whose inner workings are not readily visible to the user.
Answer
black box
Explanation
A black-box model may be acceptable in algorithmic modeling when predictive accuracy matters more than interpreting every component.
- 19Algorithmic modeling commonly requires large amounts of training data and substantial_____power.
Hint
This resource is needed to process data and fit complex models.
Answer
computational
Explanation
The talk notes that algorithmic models typically need lots of training data and computational power.
- 20_____learning is presented as an intermediate field between data modeling and algorithmic modeling.
Hint
It combines ideas associated with statistics and predictive modeling.
Answer
Statistical
Explanation
Statistical learning is described as an intermediate approach between the two modeling cultures.
- 21The statement “All models are wrong but some are useful” emphasizes that models should be judged by their_____for a purpose.
Hint
A model need not be a perfect copy of reality to help answer a question.
Answer
usefulness
Explanation
The point of building a model is to make it useful for investigating or predicting something, even though no model is a perfect representation.
- 22In traditional programming, a programmer supplies input to a written_____to produce results.
Hint
The programmer explicitly specifies the operations to perform.
Answer
program
Explanation
Traditional programming combines input with a human-written program to produce output.
- 23In machine learning, examples of input and their results are provided to a model, which produces something like a_____.
Hint
The learned output can perform the task that a programmer might otherwise specify directly.
Answer
program
Explanation
Rather than explicitly writing all the task rules, machine learning uses input-result examples to produce a model that acts like a program.
- 24A task that assigns each example to one of two categories, such as chihuahua or muffin, is_____classification.
Hint
The prefix refers to having two possible classes.
Answer
binary
Explanation
Binary classification predicts one of two alternatives, such as dog versus muffin or rain versus no rain.
- 25A supervised chihuahua-versus-muffin classifier needs images paired with their correct category labels as_____data.
Hint
The examples identify the expected category for each image.
Answer
labeled
Explanation
Labeled data provides the known answers that a classifier uses during training.
- 26Examples used to fit a machine-learning classifier are called_____data.
Hint
The model learns from this set before it is applied to new examples.
Answer
training
Explanation
Training data consists of examples supplied to the model so it can learn patterns for classification.
- 27An image that was not used to fit a classifier is an_____image when it is presented for prediction.
Hint
The model has not encountered this example during training.
Answer
unseen
Explanation
The talk distinguishes training images from new, unseen images used to test or apply the classifier.
- 28A classifier’s estimate that an image is a dog might be expressed as a percentage, such as_____percent.
Hint
This was the example of a confident dog prediction.
Answer
95
Explanation
The example classifier can report that it is 95% sure an image is a dog, illustrating a probabilistic prediction.
- 29When an example’s known label is compared with the classifier’s prediction, the known label is the_____result.
Hint
It is the result that should be obtained for that labeled example.
Answer
expected
Explanation
Comparing a prediction with the expected result shows whether the classifier was right or wrong.
- 30Repeatedly comparing predictions with expected outcomes and using the feedback to improve a model is called_____in the talk.
Hint
It names the repeated feedback process described after checking image predictions.
Answer
reinforcement
Explanation
The talk calls the repeated process of making predictions and checking them against expected results reinforcement.
- 31A machine-learning system’s ability to perform well on new examples rather than only training examples is called_____.
Hint
A model should work beyond the particular examples it memorized or fitted.
Answer
generalization
Explanation
A model generalizes when it makes useful predictions on examples that were not part of its training data.
- 32A model that is too closely tuned to its training examples may fail to_____to new data.
Hint
It has learned the training set too specifically to handle unfamiliar examples well.
Answer
generalize
Explanation
The talk warns that fitting training data too closely can leave a model unable to handle a new image correctly.
- 33The balance between a model being too simple and too closely fitted to training data is called the_____tradeoff.
Hint
The two terms name different sources of prediction error.
Answer
bias variance
Explanation
The bias variance tradeoff describes the need to avoid both overly simplistic predictions and excessive tuning to training data.
- 34In a regression model, the outcome to be predicted is commonly called the_____variable.
Hint
It is the response, contrasted with predictors that are already known.
Answer
y
Explanation
The talk identifies y as the quantity to predict and the x values as known information used to predict it.
- 35In a regression model, the known predictors are commonly represented by_____variables.
Hint
These quantities are used to estimate the outcome.
Answer
x
Explanation
The x variables represent information already known that helps predict the outcome y.
- 36The coefficients that determine how strongly predictors contribute to a regression prediction are called_____.
Hint
They are the weights associated with the predictor variables.
Answer
betas
Explanation
Betas are regression weights assigned to the predictors in a model.
- 37A regression line that minimizes the distances between observed points and the line is called the line of_____fit.
Hint
It is the line selected to fit the observed data according to an error criterion.
Answer
best
Explanation
The line of best fit is chosen to minimize the residual distances between the points and the regression line.
- 38The quantity minimized in ordinary least-squares regression is the residual sum of_____.
Hint
The measure squares residuals before summing them.
Answer
squares
Explanation
Ordinary least-squares regression minimizes the residual sum of squares, or RSS.
- 39Ridge regression adds a penalty to discourage the squared regression coefficients from becoming too_____.
Hint
The penalty limits the size of the model’s weights.
Answer
big
Explanation
Ridge regression adds a penalty term intended to keep squared betas from becoming too large.
- 40In ridge regression, the parameter that adjusts the strength of the coefficient penalty is_____.
Hint
It acts like a volume knob on the penalty applied to the regression weights.
Answer
lambda
Explanation
Lambda controls the strength of the penalty term in ridge regression.
- 41A dataset with more variables than observations can create a challenge for a predictive_____.
Hint
The concern is whether it can learn reliably from many predictors and few examples.
Answer
model
Explanation
The talk notes that having many more variables than observations, as in some genetic data, may cause problems for a model.
- 42For a machine-learning model to make a prediction, it uses known information, target outcomes, predictor weights, and a measure of its_____.
Hint
This indicates how wrong the model’s predictions are.
Answer
error
Explanation
The talk summarizes machine learning as involving inputs, outcomes, weights on inputs, and an error measure that quantifies incorrect predictions.
- 43The first step in a basic natural-language pipeline may be identifying where one sentence ends and another_____.
Hint
Sentence boundary detection separates neighboring sentences.
Answer
begins
Explanation
Sentence boundary detection divides text into sentences by finding their starts and ends.
- 44Treating every period as a sentence boundary can fail because periods also occur in_____such as A.D. or U.S.A.
Hint
These shortened forms contain periods without necessarily ending a sentence.
Answer
abbreviations
Explanation
A period may appear within an abbreviation, so a simple rule that treats every period as a sentence boundary can make errors.
- 45A probabilistic sentence-boundary model estimates whether a particular punctuation mark signals a sentence_____.
Hint
It is the division point between sentences.
Answer
boundary
Explanation
Because punctuation alone can be ambiguous, a model can probabilistically predict which marks indicate sentence boundaries.
- 46Breaking text into units for further language processing is called_____.
Hint
The resulting units are tokens, which may resemble words.
Answer
tokenization
Explanation
Tokenization divides text into tokens for later stages of an NLP pipeline.
- 47Tokens may not align exactly with the boundaries people ordinarily perceive as_____boundaries.
Hint
Tokenization can split or combine units differently from everyday writing conventions.
Answer
word
Explanation
The talk notes that tokens are like words but do not always match what people consider a word boundary.
- 48In tokenization, the possessive ending in “Ukraine’s” may be separated from “Ukraine” as a distinct_____.
Hint
It is an individual unit produced by tokenization.
Answer
token
Explanation
A tokenizer may treat the possessive apostrophe-s as its own token rather than keeping it attached to “Ukraine.”
- 49Assigning grammatical categories such as noun or verb to tokens is called part-of-speech_____.
Hint
The process attaches grammatical labels to words or tokens.
Answer
tagging
Explanation
Part-of-speech tagging assigns grammatical categories to tokens, often using probabilistic prediction.
- 50The talk gives approximately_____percent as the accuracy of state-of-the-art English part-of-speech tagging.
Hint
It is a high accuracy estimate, just below perfect performance.
Answer
98
Explanation
The stated approximate accuracy for state-of-the-art English part-of-speech tagging is 98%.
- 51Analyzing grammatical structure beyond individual part-of-speech labels is called syntactic_____.
Hint
It concerns how words and phrases are organized in a sentence.
Answer
parsing
Explanation
Syntactic parsing is a higher-level pipeline task that represents the grammatical structure of sentences.
- 52Identifying and grouping mentions of entities, such as linking “Moscow” with “it,” is a form of named entity_____.
Hint
The full NLP term is named entity recognition.
Answer
recognition
Explanation
Named entity recognition identifies entity mentions and can connect related references, such as a place name and a pronoun referring to it.
- 53In the example passage, “Moscow” and “it” can be grouped because they refer to a related_____.
Hint
The words point to the same referent in the text.
Answer
entity
Explanation
Entity detection can cluster different mentions that refer to the same entity, such as “Moscow” and “it.”
- 54Modern state-of-the-art NLP typically uses_____learning models to predict pipeline steps such as tagging and entity detection.
Hint
It is the model family abbreviated DL in the talk.
Answer
deep
Explanation
The talk describes deep learning models as the means by which state-of-the-art NLP systems predict many pipeline outputs.
- 55A language model may struggle with the relationship between “Mayor John Smith” and the pronoun “he”; this is a_____reference challenge.
Hint
It concerns different expressions referring to the same person or entity.
Answer
co-reference
Explanation
Coreference resolution requires recognizing that separate expressions, such as a name and a pronoun, refer to the same entity.
- 56Choosing whether to represent “Mayor John Smith” as a person with an occupation or as an instance of a mayor is an_____modeling decision.
Hint
It concerns how entities and categories should be represented.
Answer
ontological
Explanation
The example raises an ontological question about the preferred representation of a person, name, and occupation.
- 57Understanding that someone is usually suspected of a crime before being arrested requires knowledge of event_____.
Hint
These describe how events are connected in sequence or meaning.
Answer
relations
Explanation
The relationship between being suspected and being arrested relies on knowledge about how criminal-process events relate to one another.
- 58Interpreting the sequence from suspicion to arrest requires real-world knowledge of criminal_____.
Hint
These are the procedures and events involved in handling a crime.
Answer
processes
Explanation
The talk notes that computers do not automatically know the real-world processes that make suspicion normally precede arrest.
- 59The claim that a person is suspected of something is partly a matter of_____rather than an unquestionable fact.
Hint
It describes an assessment that can reflect a point of view or uncertainty.
Answer
subjectivity
Explanation
The text’s use of “suspected” involves a subjective consideration that a computer must be able to represent appropriately.
- 60In “a crime wave rocking the town,” the word “rocking” is an example of_____language rather than literal physical movement.
Hint
The expression transfers a physical action to describe a strong effect.
Answer
metaphorical
Explanation
“Rocking” describes the crime wave’s impact on the town figuratively; the town is not literally being moved.
- 61Describing Springfield as “sleepy” means calm or bucolic, not that the town needs a nap; this is another example of_____usage.
Hint
The adjective is used figuratively rather than literally.
Answer
metaphorical
Explanation
A language system must recognize that “sleepy town” figuratively means a quiet or calm town.
- 62Using the name of a place to refer to an associated group, such as “the police” being tied to Springfield, can involve_____.
Hint
This figure of speech uses an associated concept to stand for something else.
Answer
metonymy
Explanation
Metonymy is a language phenomenon in which one expression refers to something associated with it, creating a challenge for NLP representation.
- 63Representing whether a town is actually calm, or whether a description is figurative, requires more than recognizing words; it requires_____knowledge.
Hint
This knowledge concerns how meanings relate to situations beyond the text itself.
Answer
real-world
Explanation
The talk emphasizes that interpretation of event order, suspicion, and figurative descriptions requires knowledge about the world, not just word matching.
- 64A digital assistant that translates a Spanish song title instead of playing the song illustrates how language systems can fail to infer the user’s_____.
Hint
It is what the user is trying to accomplish with the request.
Answer
intent
Explanation
The assistant misinterprets a spoken song title as a request involving Spanish translation instead of recognizing the user’s intended action.
- 65Complex linguistic phenomena such as coreference, metaphor, subjectivity, and event relations show that NLP is not necessarily a_____problem.
Hint
The word completes the phrase “a solved problem.”
Answer
solved
Explanation
The talk presents these difficult phenomena as reasons that natural language processing should not be considered fully solved.
- 66In NLP teams, linguists often contribute domain_____about how language works rather than writing every model from scratch.
Hint
It is specialized understanding of language that helps identify model errors and improvements.
Answer
knowledge
Explanation
Linguists use their experience with language to help teams diagnose errors, identify rules, and improve models.
- 67When a model repeatedly mishandles possessives, linguists can identify that pattern as an area for_____.
Hint
It is a part of the system that needs to work better.
Answer
improvement
Explanation
Linguists can inspect recurring errors and point out specific areas, such as possessive handling, where a model needs improvement.
- 68Linguists can create human-labeled examples, or_____data, to train automated language-processing systems.
Hint
The data has been marked with information such as categories or linguistic structures.
Answer
annotated
Explanation
Annotated data supplies labeled examples that automated NLP processes can use for training.
- 69Researchers and computer engineers commonly implement deep learning models, while linguists often help with language-specific_____and evaluation.
Hint
This is the specialized knowledge linguists bring to a technical team.
Answer
expertise
Explanation
The talk explains that linguists frequently contribute language knowledge and help identify problems, while research scientists and engineers often build the models.
- 70Hyperparameter choices that once required manual tuning can increasingly be explored automatically using methods such as grid_____.
Hint
The method systematically tests combinations of settings.
Answer
search
Explanation
Grid search can automate the exploration of hyperparameter settings that previously might have been tuned by hand.
- 71Compositional semantics can connect to natural language understanding through the construction of_____that represent concepts and their relationships.
Hint
These structures represent categories and relations, such as linking “mom” with “her.”
Answer
ontologies
Explanation
The discussion identifies ontologies as a useful connection between compositional semantics and natural language understanding.
- 72In a personal-assistant example, an ontology can represent that “mom” is referred to by the pronoun_____in a later phrase.
Hint
It is the pronoun in “Why don’t we call her now?”
Answer
her
Explanation
Natural language understanding needs a representation that connects “mom” with “her” so the assistant can interpret the reference.
- 73Learning technical skills is more convincing to employers when you can point to concrete work and demonstrate its_____.
Hint
This is the effect or value of what you built or contributed.
Answer
impact
Explanation
The advice emphasizes making artifacts and explaining the impact of completed work, rather than only claiming to have learned a skill.
- 74A personal webpage can link to a code_____that stores project files and contributions.
Hint
It is an organized place to keep and share code.
Answer
repository
Explanation
The talk recommends linking a personal website to a code repository containing projects and the code used to complete them.
- 75Making a copy of an open-source codebase to work on independently is called_____the code.
Hint
This is the term for creating your own copy of a project’s code.
Answer
forking
Explanation
Forking creates a copy of a code project that can be examined and changed independently.
- 76A proposed code change sent back to the project maintainer is called a_____request.
Hint
It asks the project to bring your proposed changes into its codebase.
Answer
pull
Explanation
A pull request presents a contribution to the developers of an open-source project for review.
- 77Keeping a record of projects and contributions helps you provide evidence of what you have actually_____.
Hint
It contrasts with simply saying that you know a skill.
Answer
done
Explanation
The talk repeatedly recommends keeping records so that you can point to concrete work when demonstrating your experience.
- 78A useful way to stay engaged when a programming course feels boring is to choose a project that genuinely_____you.
Hint
The project should connect to something you personally care about.
Answer
interests
Explanation
The advice is to find a project that motivates you, such as building a tool related to a language or linguistic property you find interesting.
- 79Contributing to an open-source package can demonstrate technical ability more concretely than simply completing an introductory_____class.
Hint
It is the programming language named in the example of a beginner course.
Answer
Python
Explanation
The talk contrasts taking an introductory Python class with making a real contribution to a software package, which provides tangible evidence of skill.
- 80To make analysis code more maintainable, replace a very long script with reusable_____that can be called as needed.
Hint
These named units perform a task and can be reused in a program.
Answer
functions
Explanation
The advice is to write functions instead of keeping all research analysis in one excessively long script.
- 81Writing unit tests helps verify that program functions work as_____.
Hint
The tests check whether the functions behave according to their purpose.
Answer
intended
Explanation
Unit tests are recommended to confirm that functions are working as intended and to help automate repetitive work.
- 82A linguist need not strictly know how to code for every role, but coding knowledge will generally_____their work with engineering teams.
Hint
It makes collaboration and engagement with technical ideas easier.
Answer
help
Explanation
The talk says coding is not always strictly required, but knowing how to code is beneficial when working with engineers and technical teams.
- 83Python is often approachable for beginners partly because it is a relatively readable, high-level_____language.
Hint
It is the language category highlighted in the comparison with Java.
Answer
scripting
Explanation
Python is described as a high-level scripting language that is relatively easy to read compared with Java.
- 84For learning machine learning, the talk recommends building statistical intuition and understanding assumptions, normality tests, and model_____.
Hint
It is the process of evaluating how well a model performs or fits its purpose.
Answer
assessment
Explanation
The advice is to develop statistical intuitions and understand key ideas such as assumptions, normality tests, and model assessment rather than copying code without understanding it.
- 85When choosing between programming languages for NLP, Python is not mandatory; prior experience with_____can also be useful.
Hint
It is the language used in the discussion as an alternative to Python.
Answer
Java
Explanation
The talk states that Python is not necessary for NLP work and that Java experience can also be useful, though Python may be easier to read for some learners.
- 86A graduate degree is not an absolute requirement for NLP work, but candidates do need a relevant_____set.
Hint
It includes the capabilities needed to perform the work.
Answer
skill
Explanation
The talk distinguishes having a graduate degree from having the skills required for a role; the latter is necessary, while the degree is not universally required.

Ask anything
We've read this whole study set, so questions about it get the best answers.