Back to marketplace

NLP _ 01

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

What is the most likely the first step of NLP? cutting board

Back (Answer)

Text preprocessing

#2
Front (Question)

What is the most likely the first step of NLP? cutting board

Back (Answer)

Text preprocessing

#3
Front (Question)

what is Noise removal? front of fridge

Back (Answer)

stripping text of formatting.(e.g. HTML tags.)

#4
Front (Question)

What is Tokenization? under sink door

Back (Answer)

breaking text into individual words

#5
Front (Question)

What is normalization?

Back (Answer)

Cleaning text data in any other way than Noise removal and tokenization

#6
Front (Question)

What is stemming?

Back (Answer)

it is a blunt axt to shop off word prefexes ans suffixes.

#7
Front (Question)

What is lemmatization? coat closet

Back (Answer)

It is a scalpel to bring words down to their root forms

#8
Front (Question)

What would I import to use regex?

Back (Answer)

import re

#9
Front (Question)

What python package could I use for NLP?

Back (Answer)

import nltk

#10
Front (Question)

what method of nltk would I use to tokenize text?

Back (Answer)

from nltk.tokenize import word_tokenize

#11
Front (Question)

Give an example of a list comprehension :

Back (Answer)

lemmatized = [lemmatizer.lemmatize(token) for token in tokenized]

#12
Front (Question)

How would you import WordNetLemmatizer?

Back (Answer)

from nltk.stem import WordNetLemmatizer

#13
Front (Question)

How would you import PorterStemmer?

Back (Answer)

from nltk.stem import PorterStemmer?

#14
Front (Question)

By default lemmatize() treat every word as a…?

Back (Answer)

Noun

#15
Front (Question)

Language models are probabilistic machine models of …?

Back (Answer)

language used for NLP comprehension tasks

#16
Front (Question)

Language models learn a …?

Back (Answer)

probability of word occurrence over a sequence of words and use it to estimate the relative likelihood of different phrases.

#17
Front (Question)

Common language models include:

Back (Answer)

Statistical models: - bag of words (unigram model) - n-gram models Neural Language Modeling(NLM)

#18
Front (Question)

What is Text simlarity in NLP?

Back (Answer)

Text similarity is a facet of NLP concerned with the similarity between texts.

#19
Front (Question)

What are two popular text similarity metrics?

Back (Answer)

• Levenshtein distance • cosine similarity

#20
Front (Question)

How would you describe the metric : Levenshtein distance

Back (Answer)

it is defined as the minimum number of edit operations( deletions,insertions, or substitutions) required to transform a text into another

#21
Front (Question)

Define the metric : Cosine similarity

Back (Answer)

It is defined as teh cosine of the angle between two vectors. To determine the cosine similarity, text documents need to be converted into vectors.

#22
Front (Question)

**What are common forms of language prediction?

Back (Answer)

• **Auto-suggest **and suggested replies

#23
Front (Question)

Natural Language processing is concerned with …?

Back (Answer)

enabling computers to interpret, analyze, and **approximate **the generation of human speech.

#24
Front (Question)

What is Parsing w.r.t NLP?

Back (Answer)

it is the process concerned with segmenting text based on syntax