CS312 NLP Lecture 1 Introduction
CS312 NLP Lecture 1 Introduction
1
Course information
➢ Lectures
○ Time: 9:45am - 11:15am Mon/Wed
○ Venue: CR2
➢ Materials
○ Textbook: Speech and Language Processing (3rd ed. draft), Dan Jurafsky and James H. Martin
■ https://web.stanford.edu/~jurafsky/slp3/
○ Lectures/Homework: Canvas
➢ Instructor
○ Linh Huynh ([email protected])
○ Office hours:
➢ Project = 37%
○ Question-answer tasks
100%
3
Why CS312?
❖ What does “ChatGPT” stand for?
❖ Is ChatGPT perfect?
➢ Is ChatGPT good enough?
➢ Any improvements?
4
Why CS312?
❖ What does “ChatGPT” stand for?
❖ Is ChatGPT perfect?
➢ Is ChatGPT good enough?
➢ Any improvements?
5
Why CS312?
❖ What does “ChatGPT” stand for?
❖ Is ChatGPT perfect?
➢ Is ChatGPT good enough?
➢ Any improvements?
6
Why CS312?
❖ What does “ChatGPT” stand for?
❖ Is ChatGPT perfect?
➢ Is ChatGPT good enough?
➢ Any improvements?
7
Why CS312?
❖ What does “ChatGPT” stand for?
❖ Is ChatGPT perfect?
➢ Is ChatGPT good enough?
➢ Ideas for improvements?
8
Why CS312?
❖ What does “ChatGPT” stand for?
❖ Is ChatGPT perfect?
➢ Is ChatGPT good enough?
➢ Ideas for improvements?
9
Why CS312?
❖ What does “ChatGPT” stand for?
❖ Is ChatGPT perfect?
➢ Is ChatGPT good enough?
➢ Ideas for improvements?
10
Why CS312?
❖ What does “ChatGPT” stand for?
❖ Is ChatGPT perfect?
➢ Is ChatGPT good enough?
➢ Ideas for improvements?
11
Why CS312?
❖ What does “ChatGPT” stand for?
❖ Is ChatGPT perfect?
➢ Is ChatGPT good enough?
➢ Ideas for improvements?
12
What is natural language processing (NLP)?
➢ Automating the analysis and generation of human “natural” language
○ Analysis
○ Generation
13
Why NLP?
❖ Data scientists
➢ Process text data
❖ Software engineers
➢ Develop programming tools
❖ Even biologists …
➢ Utilize medical text data
➢ Process DNA sequences
14
A brief history
➢ Symbolic NLP (1950s – early 1990s)
15
Levels of linguistic representation
Input text
Morphology
Lexemes
Syntax
Semantics
Pragmatics
16
Discourse
Why NLP is not easy?
➢ List all flights on Monday
17
Why NLP is not easy?
➢ List all flights on Monday
18
NLP applications
❖ Common tasks
➢ Named entity recognition
➢ Sentiment analysis
➢ Semantic parsing
➢ Coreference resolution
➢ Discourse analysis
❖ High-level tasks
➢ Automatic summarization
➢ Machine translation
➢ Dialogue management
➢ Question answering
➢ Text-to-image generation
➢ … 19
In
tro
du
ct
io
Ba n
s ic
te
xt
La pr
ng oc
ua es
ge si
ng
Ba m
y es od
ia el
n in
g
Exam 1
Lo c la
gi ss
Tentative schedule
st ifi
ic ca
W r eg tio
or re n
d ss
em io
be n
dd
Exam 2 in
gs
N
eu
ra
ll
an
gu
ag
e
m
od
el
Exam 3
Ap
p lic
at
io
ns
Exam 4
St
u de
n tp
re
se
nt
a
20
tio
n
Summary
➢ Natural language processing NLP
○ Analysis
○ Generation
Alan Turing
21