Natural Language Processing: Rada Mihalcea
Natural Language Processing: Rada Mihalcea
Natural Language Processing: Rada Mihalcea
Rada Mihalcea
Fall 2008
Any Light at The End of The Tunnel?
Semantics Parsing
Linguistics Levels of Analysis
• Speech
• Written language
– Phonology: sounds / letters / pronunciation
– Morphology: the structure of words
– Syntax: how these sequences are structured
– Semantics: meaning of the strings
• Interaction between levels
Issues in Syntax
“the dog ate my homework” - Who did what?
1. Identify the part of speech (POS)
Dog = noun ; ate = verb ; homework = noun
English POS tagging: 95%
2. Identify collocations
mother in law, hot dog
Compositional versus non-compositional
collocates
Issues in Syntax
• Shallow parsing:
“the dog chased the bear”
“the dog” “chased the bear”
subject - predicate
Identify basic structures
NP-[the dog] VP-[chased the bear]
Issues in Syntax
• Full parsing: John loves Mary
• Preposition Attachment
“I saw the man in the park with a telescope”
Issues in Semantics
• Understand language! How?
• “plant” = industrial plant
• “plant” = living organism
• Words are ambiguous
• Importance of semantics?
– Machine Translation: wrong translations
– Information Retrieval: wrong information
– Anaphora Resolution: wrong referents
Why Semantics?
• The sea is at the home for billions factories and
animals
• Extract information
• Detect new patterns:
– Detect hacking / hidden information / etc.
• Gov./mil. puts lots of money put into IE research
Issues in Information Retrieval
• General model:
– A huge collection of texts
– A query
• Task: find documents that are relevant to the given
query
• How? Create an index, like the index in a book
• More …
– Vector-space models
– Boolean models
• Examples: Google, Yahoo, Altavista, etc.
Issues in Information Retrieval
• Retrieve specific information
• Question Answering
• “What is the height of mount Everest?”
• 11,000 feet
Issues in Information Retrieval
• Find information across languages!
• Cross Language Information Retrieval
• “What is the minimum age requirement for car
rental in Italy?”
• Search also Italian texts for “eta minima per
noleggio macchine”
• Integrate large number of languages
• Integrate into performant IR engines
Issues in Machine Translations
• Text to Text Machine Translations
• Speech to Speech Machine Translations