Introduction to NLP_first_week_lecture_1st
Introduction to NLP_first_week_lecture_1st
Processing)
What is NLP?
Natural Language Processing (NLP) is a field of Artificial Intelligence (AI) that enables computers to
understand, interpret, and generate human language. It combines computational linguistics with
machine learning and deep learning to process and analyze large amounts of natural language data.
Natural Language Processing (NLP) is a subfield of artificial intelligence (AI) and computational linguistics
focused on enabling computers to understand, interpret, and generate human language. It bridges the
gap between human communication and machine understanding.
Natural Language Processing (NLP) is a subfield of artificial intelligence (AI) that focuses on enabling
computers to understand, interpret, and generate human language in a way that is both meaningful and
useful. It combines insights from linguistics, computer science, and machine learning to bridge the gap
between human communication and computational systems.
Importance of NLP
Applications of NLP
Historical Context:
Challenges in NLP
Syntax refers to the arrangement of words in a sentence following grammatical rules. NLP tasks
that deal with syntax include:
b) Parsing
(S
(NP (DT The) (NN cat))
(VP (VBD sat) (PP (IN on) (NP (DT the) (NN mat)))))
1. Lemmatization & Stemming:
o Lemmatization: Reduces words to base forms using dictionaries
(e.g., "running" → "run").
c) Sentence Segmentation
d) Word Tokenization
Or
Identifies who did what to whom, when, and where in a sentence. Or "Mary ate an
apple." → [Agent: Mary], [Action: ate], [Patient: apple].
Example:
Sentence: "John gave Mary a book."
o Agent: John
o Recipient: Mary
o Theme: Book
o "Mary ate an apple." → [Agent: Mary], [Action: ate], [Patient: apple].
e) Sentiment Analysis
f) Semantic Parsing:
o Purpose: Convert text to structured meaning representations
(e.g., SQL queries).
o Example: "Show flights to Paris" → SELECT * FROM flights WHERE
destination = 'Paris';
a) Coreference Resolution
b) Text Summarization