Natural Language Processing (NLP)

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/34

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:08 AM on 7/25/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

35 Terms

1
New cards

Why is NLP needed given the scale of text data today

Human language carries rich, complex information, and with millions of documents, tweets, and conversations generated, manual analysis is impossible

2
New cards

What is “unstructued data” and why is it challenging

Text, speech, and social media data that doesn’t fit nearly into tows/columns, it’s messy and ambiguous

3
New cards

How has the goal of text analysis shifted over time

From interpreting text based on keywords to understanding actual meaning behind the words

4
New cards

What is NLP

A field if AI focused on understanding human language, the ability to read, understand, and derive meaning from it, Combining CS, Linguistics, and Machine Learning

5
New cards

What factors are driving the growth of NLP

Explosion of available data and increased computational power, with growing applications across healthcare, finance, media, and HR

6
New cards

How can NLP help in healthcare

By extracting disease information and patient history from unstructured doctor’s notes and electronic health records, aiding disease prediction and treatment suggestions

7
New cards

What is sentiment analysis used for

Identifying and extracting information from sources like social media to determine what customers are saying about a product or service and their decision drivers

8
New cards

How do voice assistants like Siri and Alexa use NLP

They respond to vocal prompts to perform tasks like finding a shop, giving weather forecasts, suggesting routes, or controlling smart home devices

9
New cards

How is NLP used in spam filtering

Companies analyze the text in emails flowing through their servers to classify and filter out spam before it reaches the inbox

10
New cards

How is NLP used in recruitment

To identify the skills of potential hires during search and selection, and to spot prospects before they become active job seekers

11
New cards

What notable healthcare discovery did Microsoft make using NLP on search queries

By analyzing large samples of search engine queries, they could identify internet users suffering from pancreatic cancer even before a formal diagnosis

12
New cards

What are the four main stages of the NLP pipeline

1) text processing

2) feature extraction

3) modeling/learning

4) evaluation

13
New cards

Why is language processing broken into multiple distinct learning techniques rather than one step

Because language is extremely complex and tricky to understand and manipulate, so different techniques are used to handle different challenges before combining them.

14
New cards

What is Bag of Words (BoW)

A model that counts all words in a text, creating an occurrence matrix for a sentence of document while disregarding grammar and word order; these frequencies become classifier features.

15
New cards

What are the main limitations of Bag of Words

It lacks context or meaning, treats all words independently, lets common words like “the” or “is” dominate, has poor sematic understanding

16
New cards

What problem does TFIDF solve compared to plain Bag of Words

It rescales word frequency by how often the word appears across all documents, penalizing common words that appear frequently everywhere while rewarding unique or rare items

17
New cards

Does TFIDF solve BoW’s lack of context/semantics

No TFIDF improves on BoW through weighting, but it still has no context or semantic understanding

18
New cards

What is tokenization

The process of segmenting running text into sentences and words (tokens), typically discarding certain characters like punctuation

19
New cards

Why is tokenization harder than just splitting on blank spaces

Not all languages are segmented like English, even in english, splitting on spaces can incorrectly break up multiword names (San Francisco)

20
New cards

Why is tokenization especially trikcky in biomedical text

Because biomedical text contains lots of hyphens, parenthesis and other punctuation marks

21
New cards

What is stop word removal

The process of removing common, low information words like articles, pronouns, and prepositions from text before processing

22
New cards

Why is there no universal stop word list

Because what counts as an uninformative word depends on context; lists can be pre defined or built from scratch

23
New cards

What’s a key risk of removing stop words

It can wipe out relevant information and change a sentence’s meaning

24
New cards

What is stemming

The process of slicing the end of beginning of words to remove affixes (prefixes or suffixes)

25
New cards

What is a key limitation of stemming

Because stemmers use algorithmic rule based approaches, the result may not be an actual word or may even change the word’s or sentence’s meaning

26
New cards

Despite its limitations, why is stemming still used

It can help correct spelling errors in tokens, and stemmers are simple and very fast, which matters when speed and performance are priorities in an NLP pipeline

27
New cards

Lemmatization

The process of reducing a word to its base dictionary form (lemma) and grouping different forms of the same word together (went → go, best → good)

28
New cards

How does lemmatization differ from stemming in its approach

Lemmatization resolves words to their actual dictionary form using detailed dictionaries, rather than just algorithmically slicing affixes like stemming does

29
New cards

How does lemmatization handle word disambiguation

By taking context into account, (using a part of speech tag) it can distinguish between identical words with different meaning

30
New cards

Why is lemmatization more resource intensive than stemming

Because it considers context, dictionaries, and part of speech information rather than performing simple string slicing

31
New cards

What is Named Entry Recognition (NER)

An NLP technique that scans text to automatically detect and classify key entities into predefined categories

32
New cards

What techniques are commonly combined to build entity detection algorithms

Rule based parsing, dictionary lookups, POS tagging and dependency parsing

33
New cards

What are other names is NER known by

Entity Identification, entity extraction, or entity chunking

34
New cards

What are some applications of NER

Automated chatbots, content analyzers, and consumer insight tools

35
New cards

What are some commonly used open source libraries for NER

NLTK, spaCy, and Stanford NER