SlideServe
Menu
Préférences
© SlideServe · v2026

Natural Language Processing

sugar avatar
20 diapositives · 372 Views · Sep 16, 2014

Natural Language Processing. Overview. NLP systems. Fundamental goal: deep understand of broad language Not just string processing or keyword matching! End systems that we want to build: Ambitious: speech recognition, machine translation, question answering…

Natural Language Processing - slide 1
01 / 20Natural Language Processing
1 / 17

Télécharger la présentation

Natural Language Processing
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Natural Language Processing Overview

  2. NLP systems • Fundamental goal: deep understand of broad language • Not just string processing or keyword matching! • End systems that we want to build: • Ambitious: speech recognition, machine translation, question answering… • Modest: spelling correction, text categorization…

  3. Machine Translation

  4. NLP applications • Text Categorization • Classify documents by topics, language, author, spam filtering, information retrieval (relevant, not relevant), sentiment classification (positive, negative) • Spelling & Grammar Corrections • Information Extraction • Speech Recognition • Information Retrieval • Synonym Generation • Summarization • Machine Translation • Question Answering • Dialog Systems

  5. Why NLP is difficult • A NLP system needs to answer the question “who did what to whom” • Language is ambiguous • At all levels: lexical, phrase, semantic • Iraqi Head Seeks Arms • Word sense is ambiguous (head, arms) • Stolen Painting Found by Tree • Thematic role is ambiguous: tree is agent or location? • Ban on Nude Dancing on Governor’s Desk • Syntactic structure is ambiguous: • (Ban on Nude Dancing) on Governor’s Desk • Ban on (Nude Dancing on Governor’s Desk) • Hospitals Are Sued by 7 Foot Doctors • Semantics is ambiguous : what is 7 foot?

  6. Why NLP is difficult • Key problems: • Representation of meaning • Language presupposes knowledge about the world • Language only reflects the surface of meaning • Language presupposes communication between people

  7. Meaning • What is meaning? • Physical referent in the real world • Semantic concepts, characterized also by relations. • How do we represent and use meaning • I am Italian • From lexical database (WordNet) • Italian =a native or inhabitant of Italy Italy = republic in southern Europe [..] • I am Italian • Who is “I”? • I know she is Italian/I think she is Italian • How do we represent “I know” and “I think” • Does this mean that I is Italian? What does it say about the “I” and about the person speaking? • I thought she was Italian • How do we represent tenses?

  8. Ad doc approaches to tackle NLP problem • How can a machine understand these differences? • Decorate the cake with the frosting • Decorate the cake with the kids (i.e., kids' help) • Rules based approaches, i.e. hand coded syntactic constraints and preference rules: • The verb decorate require an animate being as agent • The object cake is formed by any of the following, inanimate entities (cream, dough, frosting…..) • Such approaches have been showed to be time consuming to build, do not scale up well and are very brittle to new, unusual, metaphorical use of language • To swallow requires an animate being as agent/subject and a physical object as object • I swallowed his story • The supernova swallowed the planet

  9. Corpus-based statistical approaches to tackle NLP problem • A Statistical NLP approach seeks to solve these problems by automatically learning lexical and structural preferences from text collections (corpora) • Statistical models are robust, generalize well and behave gracefully in the presence of errors and new data. • So: • Get large text collections • Compute statistics over those collections • (The bigger the collections, the better the statistics)

  10. Classify the document into semantics topics

  11. Counting word occurrences • From (labeled) corpora we can learn that: #(sport documents containing word Cup) > #(disaster documents containing word Cup) -- feature • We then need a statistical model for the topic assignment

  12. Title URL Information extraction

  13. System Architecture

  14. Text Zoning

  15. URL Finding Rules • Use pattern to capture URLs • Approaches for finding an event URL • Search Summary zone • Search the whole document • Results

  16. Dates Finding Rules • Use pattern to capture Dates • Use clues to find corresponding date • submission-date < start-date <= end-date • no submission-date in a “Call for Participation” announcement • etc. • Results

  17. Current Performance

  18. Implementation Details • Python 2.6 • Gazetteer from http://world-gazetteer.com/ • Support Vector Machine http://svmlight.joachims.org/ • Natural Language Toolkit (NLTK) http://www.nltk.org/Home

  19. Web analytics • Data-mining of Weblogs, discussion forums, message boards, user groups, and other forms of user generated media • Product marketing information • Political opinion tracking • Social network analysis • Buzz analysis (what’s hot, what topics are people talking about right now).

  20. Web analytics companies