75
Natural Language Processing Introduction to Language Technology Potsdam, 12 April 2012 Saeedeh Momtazi Information Systems Group

Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

  • Upload
    others

  • View
    8

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Natural Language ProcessingIntroduction to Language Technology

Potsdam, 12 April 2012

Saeedeh MomtaziInformation Systems Group

Page 2: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Outline

1 Administrative Information

2 Introduction

3 NLP Applications

4 NLP Techniques

5 Linguistic Knowledge

6 Challenges

7 Course Materials

Saeedeh Momtazi | NLP | 12.04.2012

2

Page 3: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Outline

1 Administrative Information

2 Introduction

3 NLP Applications

4 NLP Techniques

5 Linguistic Knowledge

6 Challenges

7 Course Materials

Saeedeh Momtazi | NLP | 12.04.2012

3

Page 4: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

NLP Course

LectureThursdays 9:15-10:45Location: HS 3Credit Point: 3 LP

AssessmentRegular attendance in the classDoing exercisesFinal exam

ContactSaeedeh Momtazi

Email: [email protected]: A-1.7

Saeedeh Momtazi | NLP | 12.04.2012

4

Page 5: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

NLP Course

Course Home Pagehttp://www.hpi.uni-potsdam.de/naumann/teaching/ss_12/natural_language_processing.html

Administrative informationSlidesExercises

Mailing ListWill be set later

Saeedeh Momtazi | NLP | 12.04.2012

5

Page 6: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Outline

1 Administrative Information

2 Introduction

3 NLP Applications

4 NLP Techniques

5 Linguistic Knowledge

6 Challenges

7 Course Materials

Saeedeh Momtazi | NLP | 12.04.2012

6

Page 7: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Different Types of Languages

Natural languagesEnglishGermanFrenchSpanish...

Formal languagesJavaPythonLaTeX...

Descriptive languagesBiology: DNAChemistry: chemical formulas...

Saeedeh Momtazi | NLP | 12.04.2012

7

Page 8: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Natural Language

A vocabulary consists of a set of words (wi )

A text is composed of a sequence of words from the vocabulary

A language is constructed of a set of all possible texts

Saeedeh Momtazi | NLP | 12.04.2012

8

Page 9: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Natural Language

Examples of Vocabularies

Englishtheandeatyoubook...

Germandasundessendubuch...

Saeedeh Momtazi | NLP | 12.04.2012

9

Page 10: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Outline1 Administrative Information

2 Introduction

3 NLP ApplicationsText TechnologiesSpeech Technologies

4 NLP Techniques

5 Linguistic Knowledge

6 Challenges

7 Course Materials

Saeedeh Momtazi | NLP | 12.04.2012

10

Page 11: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Spell and Grammar Checking

Checking the spelling and the grammar of a text,and suggesting correct alternatives for the errors

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

–––

Saeedeh Momtazi | NLP | 12.04.2012

11

Page 12: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Spell and Grammar Checking

Saeedeh Momtazi | NLP | 12.04.2012

12

Page 13: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Text Categorization

Assigning each text to a category

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

Saeedeh Momtazi | NLP | 12.04.2012

13

Page 14: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Text Categorization

Saeedeh Momtazi | NLP | 12.04.2012

14

Page 15: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Information Retrieval

Finding relevant information to the user’s query

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

Saeedeh Momtazi | NLP | 12.04.2012

15

Page 16: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Information Retrieval

Saeedeh Momtazi | NLP | 12.04.2012

16

Page 17: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Summarization

Finding the most relevant part of a document based on theuser’s information need

---------------------------------------------------------------------------------------------------------

--------------------------------

Saeedeh Momtazi | NLP | 12.04.2012

17

Page 18: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Summarization

Saeedeh Momtazi | NLP | 12.04.2012

18

Page 19: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Information Extraction

Extracting the important items of a text and structuring them

---------------------------------------------------------------------------------------------------------

...

-------------

-------------

-------------

Saeedeh Momtazi | NLP | 12.04.2012

19

Page 20: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Information Extraction

Saeedeh Momtazi | NLP | 12.04.2012

20

Page 21: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Information Extraction

Saeedeh Momtazi | NLP | 12.04.2012

21

Page 22: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Question Answering

Answering natural language questions asked by the user

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

----------

Saeedeh Momtazi | NLP | 12.04.2012

22

Page 23: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Question Answering

Saeedeh Momtazi | NLP | 12.04.2012

23

Page 24: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Question Answering

Crete

Saeedeh Momtazi | NLP | 12.04.2012

24

Page 25: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Machine Translation

Translating a text from one language to another language

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

Saeedeh Momtazi | NLP | 12.04.2012

25

Page 26: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Machine Translation

Saeedeh Momtazi | NLP | 12.04.2012

26

Page 27: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Data Fusion

Combining extracted information from several text files into adatabase or an ontology

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

Saeedeh Momtazi | NLP | 12.04.2012

27

Page 28: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Data Fusion

Saeedeh Momtazi | NLP | 12.04.2012

28

Page 29: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Sentiment Analysis

Identifying positive and negative opinions stated in a text

---------------------------------------------------------------------------------------------------------

Saeedeh Momtazi | NLP | 12.04.2012

29

Page 30: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Sentiment Analysis

Saeedeh Momtazi | NLP | 12.04.2012

30

Page 31: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Optical Character Recognition

Recognizing printed or handwritten texts and converting themto computer-readable texts

---------------------------------------------------------------------------------------------------------

Saeedeh Momtazi | NLP | 12.04.2012

31

Page 32: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Optical Character Recognition

Saeedeh Momtazi | NLP | 12.04.2012

32

Page 33: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Word Prediction

Predicting the next word that is highly probable to be typed bythe user

---------------------------------------------------------------------------------------------------------

----------------------

---------------

Saeedeh Momtazi | NLP | 12.04.2012

33

Page 34: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Word Prediction

Saeedeh Momtazi | NLP | 12.04.2012

34

Page 35: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Outline1 Administrative Information

2 Introduction

3 NLP ApplicationsText TechnologiesSpeech Technologies

4 NLP Techniques

5 Linguistic Knowledge

6 Challenges

7 Course Materials

Saeedeh Momtazi | NLP | 12.04.2012

35

Page 36: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Speech Recognition

Recognizing a spoken language and transforming it into a text

---------------------------------------------------------------------------------------------------------

Saeedeh Momtazi | NLP | 12.04.2012

36

Page 37: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Speech Recognition

Saeedeh Momtazi | NLP | 12.04.2012

37

Page 38: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Speech Synthesis

Producing a spoken language from a text

---------------------------------------------------------------------------------------------------------

Saeedeh Momtazi | NLP | 12.04.2012

38

Page 39: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Speech Synthesis

Saeedeh Momtazi | NLP | 12.04.2012

39

Page 40: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Spoken Dialog Systems

Running a dialog between the user and the system

Saeedeh Momtazi | NLP | 12.04.2012

40

Page 41: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Spoken Dialog Systems

Saeedeh Momtazi | NLP | 12.04.2012

41

Page 42: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Applications’ Levels

Easy (mostly solved)Spell and grammar checkingSpam detection

Intermediate (good progress)Information retrievalSentiment analysisMachine translationInformation extraction

Difficult (still hard)Question answeringSummarizationDialog system

Saeedeh Momtazi | NLP | 12.04.2012

42

Page 43: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Outline

1 Administrative Information

2 Introduction

3 NLP Applications

4 NLP Techniques

5 Linguistic Knowledge

6 Challenges

7 Course Materials

Saeedeh Momtazi | NLP | 12.04.2012

43

Page 44: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Part Of Speech Tagging

“I saw the man on the roof.”

“ I[PRON] saw[V ] the[DET ] man[N] on[PREP] the[DET ] roof[N]. ”

[PRON] Pronoun[PREP] Preposition[DET] Determiner[V] Verb[N] Noun

Saeedeh Momtazi | NLP | 12.04.2012

44

Page 45: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Parsing

“I saw the man on the roof.”

Saeedeh Momtazi | NLP | 12.04.2012

45

Page 46: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Named Entity Recognition

“Steven Paul Jobs, co-founder of Apple Inc, was born in California.”

“ Steven Paul JobsPerson

, co-founder of Apple IncOrganization

, was born in CaliforniaLocation

.”

Saeedeh Momtazi | NLP | 12.04.2012

46

Page 47: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Word Sense Disambiguation

“Jim flew his plane to Texas.”

“Alice destroys the item with a plane.”

Saeedeh Momtazi | NLP | 12.04.2012

47

Page 48: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Semantic Role Labeling

“John grills a fish on an open fire.”

CookFood

Heating-Instrument

“ JohnCook

grills a fishFood

on an open fireHeating−Instrument

.”

Saeedeh Momtazi | NLP | 12.04.2012

48

Page 49: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Outline

1 Administrative Information

2 Introduction

3 NLP Applications

4 NLP Techniques

5 Linguistic Knowledge

6 Challenges

7 Course Materials

Saeedeh Momtazi | NLP | 12.04.2012

49

Page 50: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Linguistic Knowledge

Phonetics and PhonologyMorphologySyntaxSemanticsPragmaticsDiscourse

Saeedeh Momtazi | NLP | 12.04.2012

50

Page 51: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Phonetics and Phonology

The study of linguistic sounds and their relations to words

Saeedeh Momtazi | NLP | 12.04.2012

51

Page 52: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Morphology

The study of internal structures of words and how they can bemodified

Parsing complex words into their components

unbelievableun+believ+able

prefix: unroot: believesufix: able

Saeedeh Momtazi | NLP | 12.04.2012

52

Page 53: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Syntax

The study of the structural relationships between words in asentence

I saw the man on the roof.

Saeedeh Momtazi | NLP | 12.04.2012

53

Page 54: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Semantics

The study of the meaning of words, and how these combine toform the meanings of sentences

Realizing lexical relations among words

Hyponymy (is a) dog & animal

Meronymy (part of) arm & body

Synonymy fall & autumn

Antonymy tall & short

Saeedeh Momtazi | NLP | 12.04.2012

54

Page 55: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Pragmatics

The study of how language is used to accomplish goals, andthe influence of context on meaning

Understanding the aspects of a language which depends onsituation and world knowledge

Do you know what time it is?

Saeedeh Momtazi | NLP | 12.04.2012

55

Page 56: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Discourse

The study of linguistic units larger than a single utterance

John reads a book. He borrowed it from his friend.

Saeedeh Momtazi | NLP | 12.04.2012

56

Page 57: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Outline

1 Administrative Information

2 Introduction

3 NLP Applications

4 NLP Techniques

5 Linguistic Knowledge

6 Challenges

7 Course Materials

Saeedeh Momtazi | NLP | 12.04.2012

57

Page 58: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Challenges

Different words/sentences express the same meaningThe third season of the year

FallAutumn

Book delivery timeWhen will my book arrive?When will I receive my book?

One word/sentence can have different meaningsFall

The third season of the yearMoving down towards the ground or towards a lower position

The door is open.Expressing a factA request to close the door

Paraphrasing

Ambiguity

Saeedeh Momtazi | NLP | 12.04.2012

58

Page 59: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Challenges

Moving down?The third season of the year?

What about autumn?

Saeedeh Momtazi | NLP | 12.04.2012

59

Page 60: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Phonetics and Phonology

Computers can recognize speech

Computers can wreck a nice peach

Saeedeh Momtazi | NLP | 12.04.2012

60

Page 61: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Morphology

Unionize

Union + ize

Un + ion + ize

Saeedeh Momtazi | NLP | 12.04.2012

61

Page 62: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Syntax

I saw the man with a telescope.

Saeedeh Momtazi | NLP | 12.04.2012

62

Page 63: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Syntax

I saw the man with a telescope.

Saeedeh Momtazi | NLP | 12.04.2012

63

Page 64: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Semantics

The astronomer loves the star.

Movie Star (Celebrity)

Sky Star

Saeedeh Momtazi | NLP | 12.04.2012

64

Page 65: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Semantics

Every man loves a woman.

∀x : (man(x) → ∃y : (woman(y) & love(x , y)))

∃y : (woman(y) & ∀x : (man(x) → love(x , y)))

Saeedeh Momtazi | NLP | 12.04.2012

65

Page 66: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Pragmatics

Can you give me the salt?

Would you please give me the salt?

Do you have the ability to give me the salt?

Saeedeh Momtazi | NLP | 12.04.2012

66

Page 67: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Discourse

Alice understands that you like your mother, but she ...

Alice

Your Mother

Saeedeh Momtazi | NLP | 12.04.2012

67

Page 68: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Ambiguity

I made her duck.

Saeedeh Momtazi | NLP | 12.04.2012

68

Page 69: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Outline

1 Administrative Information

2 Introduction

3 NLP Applications

4 NLP Techniques

5 Linguistic Knowledge

6 Challenges

7 Course Materials

Saeedeh Momtazi | NLP | 12.04.2012

69

Page 70: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Topics

IntroductionIntroduction to Language TechnologyLanguage Modeling

Machine Learning for NLP

NLP Techniques

NLP Applications

Saeedeh Momtazi | NLP | 12.04.2012

70

Page 71: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Topics

Introduction

Machine Learning for NLPLearning TechniquesClassification AlgorithmsClustering Algorithms

NLP Techniques

NLP Applications

Saeedeh Momtazi | NLP | 12.04.2012

71

Page 72: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Topics

Introduction

Machine Learning for NLP

NLP TechniquesPart Of Speech TaggingParsingNamed Entity RecognitionWord RelationsWord Sense DisambiguationSemantic Role Labeling

NLP Applications

Saeedeh Momtazi | NLP | 12.04.2012

72

Page 73: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Topics

Introduction

Machine Learning for NLP

NLP Techniques

NLP ApplicationsText CategorizationInformation RetrievalInformation ExtractionQuestion AnsweringSentiment AnalysisSummarizationMachine Translation

Saeedeh Momtazi | NLP | 12.04.2012

73

Page 74: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Course Book

SPEECH AND LANGUAGE PROCESSING

An Introduction to Natural Language Processing,Computational Linguistics, and Speech Recognition

by Daniel Jurafsky and James H. Martin

Second Edition

Saeedeh Momtazi | NLP | 12.04.2012

74

Page 75: Introduction to Language Technology Potsdam, 12 April 2012 · SPEECH AND LANGUAGE PROCESSING An Introduction to Natural Language Processing, Computational Linguistics, and Speech

Relevance Journal & Conferences

Journal

Computational Linguistics

Conferences

ACL: Association for Computational LinguisticsNAACL: North American ChapterEACL: European Chapter

HLT: Human Language Technology

EMNLP: Empirical Methods on Natural Language Processing

CoLing: Computational Linguistics

LREC: Language Resources and Evaluation

Saeedeh Momtazi | NLP | 12.04.2012

75