NLP. Aniket Kate M. Habibullah Pagarkar Lakshmi Gopalakrishnan

Similar documents
Module Catalogue for the Bachelor Program in Computational Linguistics at the University of Heidelberg

Overview of the TACITUS Project

Specialty Answering Service. All rights reserved.

CS4025: Pragmatics. Resolving referring Expressions Interpreting intention in dialogue Conversational Implicature

Language Meaning and Use

Parsing Technology and its role in Legacy Modernization. A Metaware White Paper

CS 6740 / INFO Ad-hoc IR. Graduate-level introduction to technologies for the computational treatment of information in humanlanguage

Semantic analysis of text and speech

Outline of today s lecture

Basic Parsing Algorithms Chart Parsing

Ling 201 Syntax 1. Jirka Hana April 10, 2006

Introduction to formal semantics -

Syntactic Theory. Background and Transformational Grammar. Dr. Dan Flickinger & PD Dr. Valia Kordoni

Introduction. Philipp Koehn. 28 January 2016

CINTIL-PropBank. CINTIL-PropBank Sub-corpus id Sentences Tokens Domain Sentences for regression atsts 779 5,654 Test

Special Topics in Computer Science

Constraints in Phrase Structure Grammar

NATURAL LANGUAGE QUERY PROCESSING USING PROBABILISTIC CONTEXT FREE GRAMMAR

NATURAL LANGUAGE QUERY PROCESSING USING SEMANTIC GRAMMAR

NATURAL LANGUAGE TO SQL CONVERSION SYSTEM

Open-Source, Cross-Platform Java Tools Working Together on a Dialogue System

Constituency. The basic units of sentence structure

An Overview of Applied Linguistics

Application of Natural Language Interface to a Machine Translation Problem

209 THE STRUCTURE AND USE OF ENGLISH.

Discourse Markers in English Writing

Empirical Machine Translation and its Evaluation

A Case Study of Question Answering in Automatic Tourism Service Packaging

Information extraction from online XML-encoded documents

Any Town Public Schools Specific School Address, City State ZIP

Syntax: Phrases. 1. The phrase

The compositional semantics of same

ELL Considerations for Common Core-Aligned Tasks in English Language Arts

International Journal of Scientific & Engineering Research, Volume 4, Issue 11, November ISSN

Natural Language Updates to Databases through Dialogue

Department of Computer Science and Engineering, Kurukshetra Institute of Technology &Management, Haryana, India

Latin Syllabus S2 - S7

CHAPTER 5: Tense in Conditional Constructions

Common Core Writing Rubrics, Grade 3

Timeline (1) Text Mining Master TKI. Timeline (2) Timeline (3) Overview. What is Text Mining?

Introduction. Compiler Design CSE 504. Overview. Programming problems are easier to solve in high-level languages

PENNSYLVANIA COMMON CORE STANDARDS English Language Arts Grades 9-12

Objective and subjective ought. Ralph Wedgwood

Julia Hirschberg. AT&T Bell Laboratories. Murray Hill, New Jersey 07974

Keywords academic writing phraseology dissertations online support international students

Context Grammar and POS Tagging

Shallow Parsing with Apache UIMA

How To Understand A Sentence In A Syntactic Analysis

L130: Chapter 5d. Dr. Shannon Bischoff. Dr. Shannon Bischoff () L130: Chapter 5d 1 / 25

Learning Translation Rules from Bilingual English Filipino Corpus

Symbiosis of Evolutionary Techniques and Statistical Natural Language Processing

A. Schedule: Reading, problem set #2, midterm. B. Problem set #1: Aim to have this for you by Thursday (but it could be Tuesday)

Paraphrasing controlled English texts

How To Teach English To Other People

Course Description (MA Degree)

Movement and Binding

Parts of Speech. Skills Team, University of Hull

Introduction to Reading Literacy Strategies

Search and Data Mining: Techniques. Text Mining Anya Yarygina Boris Novikov

Database Programming with PL/SQL: Learning Objectives

03 - Lexical Analysis

Features of Angor Discourse A Dissertation in Linguistics. Robert Lee Litteral

Natural Language to Relational Query by Using Parsing Compiler

University of Massachusetts Boston Applied Linguistics Graduate Program. APLING 601 Introduction to Linguistics. Syllabus

According to the Argentine writer Jorge Luis Borges, in the Celestial Emporium of Benevolent Knowledge, animals are divided

Marie Dupuch, Frédérique Segond, André Bittar, Luca Dini, Lina Soualmia, Stefan Darmoni, Quentin Gicquel, Marie-Hélène Metzger

Chapter 13, Sections Auxiliary Verbs CSLI Publications

GRADE 11 English Language Arts Standards Pacing Guide. 1 st Nine Weeks

English Grammar Checker

A Survey of ASL Tenses

Discourse Studies and Education

Grammars and introduction to machine learning. Computers Playing Jeopardy! Course Stony Brook University

Structure of the talk. The semantics of event nominalisation. Event nominalisations and verbal arguments 2

Bilingual Education Assessment Urdu (034) NY-SG-FLD034-01

Year 1 reading expectations (New Curriculum) Year 1 writing expectations (New Curriculum)

Learning the Question & Answer Flows

Skills for Effective Business Communication: Efficiency, Collaboration, and Success

VoiceXML-Based Dialogue Systems

Transaction-Typed Points TTPoints

Semantics versus Pragmatics

The Development of Multimedia-Multilingual Document Storage, Retrieval and Delivery System for E-Organization (STREDEO PROJECT)

Phrase Structure Rules, Tree Rewriting, and other sources of Recursion Structure within the NP

Architecture of an Ontology-Based Domain- Specific Natural Language Question Answering System

CORRECTING AND GIVING FEEDBACK TO WRITING

A System for Labeling Self-Repairs in Speech 1

Language Arts Literacy Areas of Focus: Grade 5

KSE Comp. support for the writing process 2 1

IAI : Knowledge Representation

The parts of speech: the basic labels

Language Arts Literacy Areas of Focus: Grade 6

CS 533: Natural Language. Word Prediction

How the Computer Translates. Svetlana Sokolova President and CEO of PROMT, PhD.

Text Mining - Scope and Applications

Rubrics for Assessing Student Writing, Listening, and Speaking High School

Actuality and fake tense in conditionals *

Summarizing and Paraphrasing

INF5820 Natural Language Processing - NLP. H2009 Jan Tore Lønning jtl@ifi.uio.no

ABSTRACT 2. SYSTEM OVERVIEW 1. INTRODUCTION. 2.1 Speech Recognition

English Descriptive Grammar

English for Success. Ages. Levels. Features

Transcription:

NLP Aniket Kate M. Habibullah Pagarkar Lakshmi Gopalakrishnan

Natural Language Example -.exe file is used to run a program. - To run a program executable file is used. - You should search.exe file to run a program - If u want 2 execute the program, please take the exe file from the floppy.

Natural Language Difficulties related to NLP - word sense ambiguity - structural ambiguity - semantic ambiguity - referential ambiguity

Steps In NLP Morphological Analysis Syntactic Analysis Semantic Analysis Discourse Integration Pragmatic Analysis

Morphological Analysis Analysis of the individual words into their components. Separation of non-word tokens from the words e.g. punctuation Assignment of syntactic categories to all words in the sentence.

Morphological Analysis Example : Raj s printing press prints.doc files. - Raj s -prints -.doc

Syntactic Analysis Step in which a flat input sentence is converted into a hierarchical structure that corresponds to the units of meaning in the sentence. It is also called as Parsing.

Syntactic Analysis Importance : - Reductions in the number of constituents semantics system have to consider. - Reduction in overall system complexity. - Checking the structural correctness of the sentences

Syntactic Analysis Components : Grammar: Declarative representation of the syntactic facts about the language Parser: A procedure that compares the grammar against input sentences to produce parsed structure

Syntactic Analysis SIMPLE GRAMMAR : S NP VP NP the NP1 NP PN NP NP1 NP1 ADJS N ADJS e ADJ ADJS VP V VP V NP

Syntactic Analysis FACTS : N file printer PN Bill PRO I ADJ short long fast V printed created want

SYNTACTIC ANALYSIS Bill printed the file.

Semantic Analysis Maps individual words into appropriate objects in the knowledge base Create structures to correspond to the way meanings of the words combine with each other Purpose Creation of target language Imposition of constraints on the representations Has access to knowledge

Target Language Final meaning representation language including the representational framework and specific meaning vocabulary Choice of target language NLP as a phenomenon NLP as an interface

Step 1 Lexical Processing Meaning of words. Eg. Ambiguity Word sense disambiguation or lexical disambiguation. How? Semantic markers Extension Preference semantics Unfortunately

Step 2 Sentence Level Processing Several Approaches Semantic grammars Case grammars Conceptual parsing Approximately compositional semantic interpretation

Semantic Grammar CFG. Combines syntactic, semantic and pragmatic knowledge into a SINGLE set of rules in the form of grammar. Semantic description Meaning = Result of parsing + applying semantic actions Grammar rules based on key semantic concepts

Semantic Grammar contd. S I want to ACTION { command ACTION } USER Bill Susan { value } Advantages Immediate results after parsing Avoid many ambiguities Disadvantages More rules Parsing may be expensive

Case Grammar Grammar rules written to describe syntactic (rather than semantic regularities) Structures produced are semantic (rather than syntactic) Eg: S NP VP V NP S NP VP V PP Susan printed the file The file was printed by Susan

Interaction Between Syntax & Semantics Decisions on how controls will be passed back and forth Every time syntactic constituent formed, apply semantic interpretation immediately Wait until the entire sentence has been parsed, then interpret No magic solution. Combination of above two approaches used or a heuristically driven compromise

Discourse And Pragmatic Reasoning Importance of context in understanding Texts and Dialogues

Relationship Between Phrases And Parts Of Their Discourse Contexts Identical Entities: Anaphoric References - Bill had a red balloon. - John wanted it. Parts of Entities - Sue opened the book she just bought. - The title page was torn.

Relationships Contd. Parts of actions - John went on a business trip to New York. - He left on an early morning flight. Entities involved in actions - My house was broken into last week. - They took the TV and the stereo. Names of Individuals - Dave went to the movies.

Relationships Contd. Causal chains - There was a big snow storm yesterday. - The schools were closed today. Planning Sequences - Sally wanted a new car. - She decided to get a new job.

Relationships Contd. Illocutionary force - It sure is cold in here. Implicit presuppositions - Did Joe fail CS101?

Approaches To carry out multiple-sentence understanding - Have a large knowledge base - Restrict the domain of discourse.

Kinds Of Knowledge Required The current focus of dialogue A model of each participant s current beliefs The goal-driven character of dialogue. The rules of conversation shared by all participants.

Using Focus To Facilitate Understanding Focus on the relevant parts of the available knowledge base. Task-oriented discourses Signals for dramatic changes of focus - On the other hand, etc. Use that knowledge to resolve ambiguities and to make connections amongst things that were said. Salient Relations wrt. Object in focus: - physical-part-of, temporal-part-of, element-of

Modeling Beliefs Group Beliefs : assumed to be shared between all the participants in a linguistic event. No need for any explicit notion of belief in the knowledge base. Individual Beliefs : Explicit predicates needed use modal logic

Modal Logic Classical Logic : deals with the truth or falsehood of different statements as they are. Modal logic : concerned with the different modes in which a statement may be true. Truth in current state of world Temporal logic (past and future) Conditional logic (If-Then-Else)

Knowledge Base Representation Use knowledge base partitioning Represent efficiently the large set of beliefs shared by all participants Represent accurately the smaller set of individual beliefs (Use partitioned Semantic Nets)

Using Goals And Plans For Understanding Identify the Goals. Identify the Plans used for reaching the goal.

Using Goals And Plans For Understanding Eg: John was anxious to get his daughter s new bike put together before Christmas Eve. He looked high and low for a screw-driver. Goal putting together the bike Plan putting together the various subparts, until the bike is complete. At least one of the sub-plans requires a screwdriver.

Speech Acts : similar to other operators. Use modal operators, eg: KNOW, BELIEVE, ETC. Conversational Postulates: to analyze indirect speech acts Rules about conversation that are shared by all speakers.

Conversational Postulates Sincerity conditions Reasonableness Conditions Appropriateness Conditions

Constraints Discourse Processing : The entities involved in the sentence must have either been explicitly introduced or they must be related to entities that were. The overall discourse must be coherent. Pragmatic Reasoning : The meaning of the sentence must be consistent with the known goals of the user.

Thank You!