introduction to the natural language processing nlp
play

Introduction to the Natural Language Processing (NLP) Thierry Hamon - PowerPoint PPT Presentation

Introduction to the Natural Language Processing (NLP) Thierry Hamon Institut Galil ee - Universit e Paris 13,Villetaneuse, France & LIMSI-CNRS, Orsay, France hamon@limsi.fr http://perso.limsi.fr/hamon/ March 2014 ERASMUS Mobility -


  1. Introduction to the Natural Language Processing (NLP) Thierry Hamon Institut Galil´ ee - Universit´ e Paris 13,Villetaneuse, France & LIMSI-CNRS, Orsay, France hamon@limsi.fr http://perso.limsi.fr/hamon/ March 2014 ERASMUS Mobility - M¨ alardalen University (MDH) - V¨ aster˚ as - Sweden Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 1 / 47

  2. Plan History and context Example Introduction to NLP approaches Formal language vs. Natural language Evaluation Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 2 / 47

  3. History and Context The very beginning Context: Back in the fifties (cold war) Main application: Machine translation use of computers to translate texts or messages from one (source) language to a other language (target language) Budget: about $20 millions in 10 years Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 3 / 47

  4. History and Context The mythological tests/jokes Translation of the Biblical sentence The spirit is willing, but the flesh is weak or Out of sight, out of mind Translation in Russian Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 4 / 47

  5. History and Context The mythological tests/jokes Translation of the Biblical sentence The spirit is willing, but the flesh is weak or Out of sight, out of mind Translation in Russian and then in English Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 4 / 47

  6. History and Context The mythological tests/jokes Translation of the Biblical sentence The spirit is willing, but the flesh is weak or Out of sight, out of mind Translation in Russian and then in English The vodka is strong, but the meat is rotten Invisible idiot Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 4 / 47

  7. History and Context The mythological tests/jokes Translation of the Biblical sentence The spirit is willing, but the flesh is weak or Out of sight, out of mind Translation in Russian and then in English The vodka is strong, but the meat is rotten Invisible idiot Literal translation (word for word translation) is inappropriate (problem with idioms) More information is needed Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 4 / 47

  8. History and Context The linguistic underside Requirements : Machine readable dictionaries Syntactic information (order and function of the words) Problems: Ambiguities, polysemy, ... Complex syntactic structures, Semantics (relations, categories, ...) Anaphora, ... Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 5 / 47

  9. History and Context The linguistic underside Requirements : Machine readable dictionaries Syntactic information (order and function of the words) Problems: Ambiguities, polysemy, ... Complex syntactic structures, Semantics (relations, categories, ...) Anaphora, ... → Need of (a lot of) context Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 5 / 47

  10. History and Context The (in)famous ”ALPAC report” In 1966, by the US National Academy of the Sciences Y. Bar-Hillel Complete machine translation: slow, time consuming, with a low quality could be more expensive than human translators Machine Translation is hopeless (!) Recommendations: Evaluation of the translations (quality and cost) Machine-aided translation More efforts on the computational linguistic research For machine translation or not Consequences: lower budget for machine translation but the beginning of the Natural Language Processing (NLP) Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 6 / 47

  11. History and Context Contributions Interdisciplinary research field: Linguistics Phonology Generative grammars Syntax Philosophy of language Mathematics: Logic Formal language theory Statistics Computer science Algorithms Software engineering Machine learning Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 7 / 47

  12. History and Context Research fields Two main fields 1960 Computational linguistics Focus on mathematics and linguistics 1965 Natural Language Processing Focus on algorithms for software development 1970 Natural Language Understanding (AI) Cognitive approaches T Winograd, M Minski, J Allen, ... Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 8 / 47

  13. History and Context 50 years later Phonetics, phonology, prosody Morphology Syntax Semantics Pragmatics Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 9 / 47

  14. History and Context 50 years later Morphology Syntax Semantics Phonetics Pragmatics Pronunciation inflected form Syntactic Semantic network Resources derivation lexicon Semantic lexicon Syllabation Desambiguisation rules composition Terminology Prosody lexique.org, ... MorTAL, Celex, ... LTAG, FTAG, LFG, ... WordNet, DEC, ... Part−of−speech tagging Text structure Speech Recognition Tasks Syntactic analysis Speech synthesis Anaphora Extraction of semantic units Chunking (text speech) Communication (simples, complexes) Morphological segmentation Relation acquistion Morphological analysis Decomposition en primitives Definition analysis Resource building Speech recognition Spell checking Corpus Linguistics Man machine dialogue Text Generation Applications Terminology Stylistics Ontology Weather forecast, report, ... Statistical NLP Natural Language Generation Automatic summarization MT (Machine Translation) CAT (Computer−assisted Translation) IE/TM (Information Extraction/Text Mining) IR (Information Retrieval) QA (Question Answering) Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 10 / 47

  15. History and Context Around the world ACL: Association for computational linguistics Journals: Computational LinguisticsL, JNLE, ... Conferences: ACL, COLING, EACL, NNACL, LREC, ... Web site: http://www.aclweb.org Mailing list: linguist, corpora Universities and research centers (JRC in Europ) Compagnies (Xerox, IBM, Microsoft, Lingsoft, etc.) Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 11 / 47

  16. Example How to deal with the processing of natural language data? Natural langage : system composed of signs, used to produce a utterance Words are basic signs of a language A word is made of two sides (Ferdinand de Saussure, Cours de linguistique g´ en´ erale, 1916) Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 12 / 47

  17. Example How to deal with the processing of natural language data? Natural langage : system composed of signs, used to produce a utterance Words are basic signs of a language A word is made of two sides Phonologic form (the signifier – train ) (Ferdinand de Saussure, Cours de linguistique g´ en´ erale, 1916) Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 12 / 47

  18. Example How to deal with the processing of natural language data? Natural langage : system composed of signs, used to produce a utterance Words are basic signs of a language A word is made of two sides Phonologic form (the signifier – train ) Meaning (the signified - the mental picture of the train) (Ferdinand de Saussure, Cours de linguistique g´ en´ erale, 1916) Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 12 / 47

  19. Example How to deal with the processing of natural language data? Several types of linguistic information help to go from one side to the other Those types of linguistic information are more or less autonomous Each interacts with others Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 13 / 47

  20. Example How to deal with the processing of natural language data? Example Query to a kiosk to get train schedule (by the mean of human speech) Location: V¨ aster˚ as Station Question: What time is the first train to Stockholm, tomorrow morning? Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 14 / 47

  21. Example How to deal with the processing of natural language data First step Speech processing and recognition Computing of the speech signal to the words of the question (Phonetics and phonology) Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 15 / 47

  22. Example Phonetics and Phonology Phonetics: study of the sound of human speech ( phones ) From the physical point of view More related to Speech processing Phonology: Study of the groups of sound to make words or utterances in a natural language From the linguistic point of view ( phonemes ) Organisation of the sounds, syllabs, rhymes, etc. Related to the meaning The both also include the study of sign languages Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 16 / 47

  23. Example How to deal with the processing of natural language data Second step Morphological analysis Description of the words regarding their form ( morpheme ) Recognition of the What[what,WDT] time[time,NN:n,sg] is[be,VBZ:3,sg,ind,pres] the[the,DT] first[first,ADJ:num,ord] train[train,NN:sg] to[to,PREP] Stockholm[Stockholm,NAM] , tomorrow[tomorrow,NN:sg] morning[morning,NN:sg]? Thierry Hamon (LIMSI & Paris Nord) Introduction to NLP March 2014 17 / 47

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend