0
0
Intro to Computingfundamentals~5 mins

Natural language processing basics in Intro to Computing - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is Natural Language Processing (NLP)?
NLP is a field of computer science that helps computers understand, interpret, and generate human language in a way that is meaningful.
Click to reveal answer
beginner
Name two common tasks in NLP.
Two common NLP tasks are: 1) Text classification, which sorts text into categories, and 2) Sentiment analysis, which finds the feeling or opinion in text.
Click to reveal answer
beginner
What is tokenization in NLP?
Tokenization is the process of breaking text into smaller pieces called tokens, like words or sentences, to make it easier for computers to analyze.
Click to reveal answer
intermediate
Why do we use stop words removal in NLP?
Stop words are common words like 'the', 'is', and 'and' that usually don't add much meaning. Removing them helps focus on important words and speeds up processing.
Click to reveal answer
intermediate
Explain the difference between stemming and lemmatization.
Both reduce words to their base form. Stemming cuts words roughly (e.g., 'running' to 'run'), while lemmatization uses vocabulary and grammar to find the correct base word (e.g., 'better' to 'good').
Click to reveal answer
What does tokenization do in NLP?
ATranslates text into another language
BRemoves all punctuation from text
CBreaks text into smaller parts like words or sentences
DCounts the number of characters in text
Which of these is an example of a stop word?
Aand
Bcomputer
Clearning
Ddata
What is the main goal of sentiment analysis?
ATo translate text into multiple languages
BTo remove stop words from text
CTo count the number of words in a sentence
DTo find the feeling or opinion expressed in text
Which process uses grammar and vocabulary to find the base form of a word?
ALemmatization
BStemming
CTokenization
DStop words removal
Why do we remove stop words in NLP?
ATo make text longer
BTo focus on important words and speed up processing
CTo translate text
DTo add punctuation
Describe the main steps involved in preparing text data for NLP tasks.
Think about how we break down and clean text so computers understand it better.
You got /4 concepts.
    Explain how sentiment analysis can be useful in real life.
    Consider how businesses or people might want to know what others think or feel.
    You got /4 concepts.