Recall & Review
beginner
What is spaCy used for in Natural Language Processing (NLP)?
spaCy is a library used to process and understand human language. It helps computers read, analyze, and extract information from text.
Click to reveal answer
beginner
How do you install spaCy using pip?
You install spaCy by running the command
pip install spacy in your terminal or command prompt.Click to reveal answer
beginner
What is a spaCy model and why do you need to download one?
A spaCy model contains the rules and data needed to understand language, like vocabulary and grammar. You download a model to make spaCy ready to analyze text.
Click to reveal answer
beginner
How do you download the English small model in spaCy?
Run the command
python -m spacy download en_core_web_sm in your terminal. This downloads a small English language model.Click to reveal answer
beginner
How do you load a spaCy model in your Python code?
Use <code>import spacy</code> and then <code>nlp = spacy.load('en_core_web_sm')</code> to load the English small model.Click to reveal answer
Which command installs spaCy?
✗ Incorrect
The correct command to install spaCy is
pip install spacy.What does a spaCy model contain?
✗ Incorrect
A spaCy model contains rules and data like vocabulary and grammar to help understand language.
How do you download the English small model for spaCy?
✗ Incorrect
The correct command is
python -m spacy download en_core_web_sm.Which Python code loads a spaCy model?
✗ Incorrect
You load a spaCy model with
nlp = spacy.load('en_core_web_sm').Why do you need to download a spaCy model after installing spaCy?
✗ Incorrect
Models provide the language data and rules needed for spaCy to analyze text.
Explain the steps to install spaCy and prepare it to analyze English text.
Think about installation, model download, and loading.
You got /3 concepts.
What is the role of a spaCy model and how does it help in NLP tasks?
Consider what a model provides beyond just the spaCy library.
You got /3 concepts.