Logica & Linguaggio: Grammatiche Categoriali

Documenti analoghi
Question 1: introduction to computer programming

Introduction. The Structure of a Compiler

How to use the verb Piacere.

Keep calm, observe and assess

Canti Popolari delle Isole Eolie e di Altri Luoghi di Sicilia (Italian Edition)

BUON GIORNO RAGAZZI! Oggi è il 13 ottobre, 2015

Flessione contestuale: realizzazione dei valori di categorie grammaticali associate alle forme flesse.

Introduzione alla storia dell intelligenza artificiale e della robotica

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

NATIONAL SPORT SCHOOL

Il sistema dei tipi in ML. cenni

Logic. Esame: Scritto. Questo corso fa parte del percorso Filosofia e Linguaggi dell Informatica.

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

U Corso di italiano, Lezione Quattordici

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

Le piccole cose che fanno dimagrire: Tutte le mosse vincenti per perdere peso senza dieta (Italian Edition)

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

UNIVERSITÀ DEGLI STUDI DI TORINO

100 consigli per vivere bene (Italian Edition)

Fondamenti di Teoria delle Basi di Dati

La Bella Figura Experience Italian Culture Lesson Material, Level 4

UNIVERSITÀ DEGLI STUDI DI TORINO

1 L esempio di Re Salomone

Enel App Store - Installation Manual - Mobile

Uno: Libro Degli Esercizi E Sintesi Di Grammatica: Libro Degli Esercizi E Sintesi Di Grammatica By Gruppo META

How to register online for exams (Appelli) Version updated on 23/10/2017

Introduzione alla Teoria dei Giochi

I CAMBIAMENTI PROTOTESTO-METATESTO, UN MODELLO CON ESEMPI BASATI SULLA TRADUZIONE DELLA BIBBIA (ITALIAN EDITION) BY BRUNO OSIMO

DIRECT OBJECT PRONOUNS

R.M.Dorizzi, Strumenti per interpretare gli esami di laboratorio? Forlì, 9 ottobre 2012

Fiori di campo. Conoscere, riconoscere e osservare tutte le specie di fiori selvatici più note

Guida ai Promessi Sposi - Riassunto e analisi dei personaggi: Analisi e interpretazione del romanzo di A. Manzoni (Italian Edition)

Teoria della computabilità in HOL

A.A. 2006/2007 Laurea di Ingegneria Informatica. Fondamenti di C++ Horstmann Capitolo 3: Oggetti Revisione Prof. M. Angelaccio

UNIVERSITÀ DEGLI STUDI DI TORINO. Instructions to apply for exams ONLINE Version 01 updated on 17/11/2014

Appendice A. Conduttori elettrici, sezioni e diametri Appendix A. Wires, Sizes and AWG diameters

I Will Have Vengeance (Commisarrio Ricciardi Book 1) By Maurizio de Giovanni

Ammissibilità di co.co.co. e AdR in H2020. Laura Fulci Dirigente Area Ricerca Politecnico di Torino

We take care of your buildings

INTERNET & MARKETING INNOVATIVE COMMUNICATION.

Gocce d'anima (Italian Edition)

Progetto Italiano 1: Corso Multimediale Di Lingua E Civilta Italiana (Italian Edition) By Telis Marin;Sandro Magnelli

Famiglia Spirituale nel XXI secolo (La) (Italian Edition)

REGISTRATION. Area Ricerca

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

Gruppo di lavoro 1 Metadati e RNDT. Incontro del 22 luglio 2014

INFORMAZIONE AGLI UTENTI DI APPARECCHIATURE DOMESTICHE O PROFESSIONALI

SINTASSI E L E M E N T I I N T R O D U T T I V I 2. Francesca Forza - Nozioni Generali di Sintassi

PROGRAMMA DI LINGUA INGLESE

Dipartimento di Scienze Umane a. a. 2015/2016

Dr Mila Milani. Comparatives and Superlatives

Selection procedure. MASTER IN BUSINESS ADMINISTRATION - MBA (LM-77, 2-year postgraduate degree) AY 2017/18

Misura diretta di U CA. Aqua-boy

Helping you to rescue me

IL GIOVANE HOLDEN FRANNY E ZOOEY NOVE RACCONTI ALZATE LARCHITRAVE CARPENTIERI E SEYMOUR INTRODUZIONE BY JD SALINGER

The new Guglielmo s project comes from the aim to offer

Il Piccolo Principe siamo noi: Adattamento teatrale per la scuola primaria (ABW. Antoine de Saint- Exupery) (Volume 1) (Italian Edition)

Il PMI Ethical Decision Making Framework La Diffusione

REGISTRATION GUIDE TO RESHELL SOFTWARE

Università degli Studi di Napoli Federico II

Succhi di frutta e verdura con la centrifuga (Italian Edition)

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

I pronomi personali. A subject pronoun replaces the subject (the person doing the action) (You polite) (You plural)

Visual communication in hospital

Maps. a.k.a, associative array, map, or dictionary

Firenze 23 Luglio 2008 Prot. N

SRT064 BTH SRT051 BTH SRT052 BTH

A.S. 2011/2012. Circuito semaforico da incrocio. Corso di Elettronica. Dipartimento di Elettrotecnica

ANALISI DEI PERICOLI Hazard Analysis

U Corso di italiano, Lezione Quindici

Technical Guidelines GON % Italian production. sports car oriented

Opera Aperta: Forma E Indeterminazione Nelle Poetiche Contemporanee (Tascabili Saggi) (Italian Edition) By Umberto Eco

Testi del Syllabus. Docente LASAGNI ANDREA Matricola: Insegnamento: ISTITUZIONI DI ECONOMIA POLITICA I. Anno regolamento: 2013

Primi incontri. Dario! mamma! Lu c ia! , signor Renzi. sig n o r a Ba ssi! Complete the speech bubbles by supplying the appropriate greeting.

Downloading and Installing Software Socio TIS

Esercizi Svolti Di Fisica Dal Rosati (Italian Edition) By Giancarlo Buccella

Sun paths in the sky. Solar diagrams and obstructions: shading systems design. Sun paths in the sky. Sun paths in the sky

Before I begin with the notes

~` Read Aumentare La Massa Muscolare: Come Far Crescere I Tuoi Muscoli E Allenare La Tua Massa Muscolare - Aumenta La... books download free audio

ISTITUTO MAGISTRALE STATALE LEONARDO DA VINCI ALBA (CN) a.s

Lesson 57 : all, both, each. Lezione 57: tutti, tutti e due, entrambi, ogni, ciascuno

Corso di Ottimizzazione MODELLI MATEMATICI PER IL PROBLEMA DELLO YIELD MANAGEMENT FERROVIARIO. G. Di Pillo, S. Lucidi, L. Palagi

Scheda Allarmi Alarm Board MiniHi

How to use the WPA2 encrypted connection

Serie di numeri di diverse origini. Marcata asimmetria in favore dei digits bassi nella prima cifra. Legge di Benford. Processi moltiplicativi

Ingegneria del Software

Practice phrases for class 12

TNCguide OEM Informativa sull introduzione di documentazione aggiuntiva nella TNCguide

Logica & Linguaggio: Logica di Primo Ordine

Linguistica Generale

La Sala Delle Carte Geografiche In Palazzo Vecchio: «Capriccio Et Invenzione Nata Dal Duca Cosimo» (La Reggia Di Cosimo) (Italian Edition) By

INSTALLAZIONE INSTALLATION

Il De Analysi di Newton e l inizio del calcolo. Sansepolcro, Ottobre 2017

manuale di identità visiva visual identity manual

Una Ricerca Erboristica (Italian Edition)

Dipartimento delle Culture Europee e del Mediterraneo: Architettura, Ambiente, Patrimoni Culturali DiCEM

Programma II B Liceo Scientifico

Affare Bitcoin. Pagare Col P2p E Senza Banche Centrali (Italian Edition) [Kindle Edition] By Gabriele De Palma

Omeopatia: Guida medica ai rimedi omeopatici (Italian Edition)

INTRODUZIONE AD OMNET++

Transcript:

Logica & Linguaggio: Grammatiche Categoriali Raffaella Bernardi Università degli Studi di Trento P.zza Venezia, Room: 2.05, e-mail: bernardi@disi.unitn.it

Contents 1 Syntax-Semantics: Parallel vs. Non-parallel................... 4 1.0.1 Advantages................................ 5 2 Montague Universal Grammar.............................. 6 3 Categorial Grammar....................................... 7 3.1 CG Lexicon: Toy Fragment........................... 8 3.2 Categorie Sintattiche: complesse...................... 9 4 Intermezzo: Inferenze Logiche............................... 10 5 CG: Analisi Sintattica come Inferenza Logica................. 11 5.1 Esempi............................................ 12 5.2 Relative Pronoun................................... 13 5.3 Pronome Relativo: Alberi sintattici................... 14 5.4 Pronome Relativo: Inferenza......................... 15 6 Riassunto: Regole di Inferenze.............................. 16 6.1 Riassunto.......................................... 17 6.2 Proprietà delle Strutture sintattiche................... 18 6.3 Linguistica e Matematica............................ 19 7 Sintassi-Semantica......................................... 20

7.1 Teoria degli Insiemi: Lessico.......................... 21 7.2 Categorie sintattiche e Tipi semantici.................. 22 7.4 DP e i Quantificatori................................ 23 7.5 Type Raising come inferenza........................ 24 7.6 Logica e Linguaggio................................. 25 8 CG: categories and terms................................... 26 8.1 DP and quantified DP............................... 27 9 Administrativa............................................ 28

1. Syntax-Semantics: Parallel vs. Non-parallel We could build the meaning representation of an expression either (a) in parallel with the construction of its syntactic structure, or (b) after having built the syntactic analysis. (a) is the method followed by most formal grammar frameworks as Categorial Grammar (CG), Head-Driven Phrase Structure Grammar (HPSG), Lexical Functional Grammar (LFG), Tree-Adjoining Grammar (TAG). (b) is used by the Government and Binding Theory and the Minimalist Program (both due to Chomsky).

1.0.1. Advantages The reasons for preferring the first approach are the following: Psycholinguistic works suggest that human processing proceeds incrementally through the simultaneous application of syntactic, semantics, and phonological constraints to resolve syntactic ambiguity. (Though, note that these systems are models of linguistic competence rather than performance. Hence, these results could not provide direct support of either of the approaches.) Computational approach requires a way to rule out a semantically ill-formed phrase as soon as it is encountered. Therefore, (a) offers a more efficient architecture for implementing constraint satisfaction. For instance, 1. The delegates met for an hour. 2. The committee met for an hour. 3. *The woman met for an hour. The use of met as intransitive verb requires a subject denoting a plural entity.

2. Montague Universal Grammar The rule-to-rule and lambda techniques are used in the approach to natural language semantics developed by Richard Montague. In his theory, there are syntactic rules which show how constituents maybe combined to form other constituents. translation rules (associated with each such syntax rule) which show how the logical expressions for the constituents have to be joined together to form the logical form of the whole. For instance, the syntactic and semantics rule for composing and DP with and IV: S2: If δ P IV and α P DP, then F 1 (α, δ) P S and F 1 (α, δ) = αδ, where δ is the result of replacing the main verb in δ by its third-person singular present form. T2: If δ P IV and α P DP and δ δ and α α, then F 1 (α, δ) α (δ ). As grammar, he used Categorial Grammar.

3. Categorial Grammar Who: Lesniewski (1929), Ajdukiewicz (1935), Bar-Hillel (1953). Aim: To build a language recognition device. How: Linguistic strings are seen as the result of concatenation obtained by means of syntactic rules starting from the categories assigned to lexical items. The grammar is known as Classical Categorial Grammar (CG). Connection with Type Theory: The syntax of type theory closely resembles the one of categorial grammar. The links between types (and lambda terms) with models, and types (and lambda terms) with syntactic categories, gives an interesting framework in which syntax and semantic are strictly related. (We will come back on this later.) Categories: Given a set of basic categories ATOM, the set of categories CAT is the smallest set such that: CAT := ATOM CAT\CAT CAT/CAT

3.1. CG Lexicon: Toy Fragment Let ATOM be {n, s, } (for nouns, sentences and noun phrases, respectively) and LEX as given below. Lexicon Sara the /n student n walks \s wrote (\s)/ Sara walks s?, \s s? }{{} Sara }{{} walks Yes simply [BA] s Sara \s walks

3.2. Categorie Sintattiche: complesse Visto: S S DP V P DP V P sara IV sara T V DP Nuovo: cammina s conosce s ilaria \s \s sara cammina sara (\s)/ conosce ilaria Grammatiche Categoriali: categorie sintattiche piú complesse!

4. Intermezzo: Inferenze Logiche Già visto (inferenza): Premesse: 1. Roberto verrà oppure Massimo verrà. 2. Se Roberto non ha trovato una baby sitter, Roberto non verrà. 3. Roberto non ha trovato una baby sitter Conclusione: 1. Massimo verrà. Nuovo: {p q, r p, r} }{{} q }{{} premesse conclusione p q r p p q r

5. CG: Analisi Sintattica come Inferenza Logica Regole di inferenza: Modus Ponens. B B/A, A B B/A B A (/E) B/A A β B α A, A\B B A A\B B (\E) A α A\B β

5.1. Esempi Dato ATOM = {, s, n}, possiamo costruire il lessico: Lessico John, Mary the /n student n walks \s sees (\s)/ Analisi Sintattica John walks s?, \s s Si \s s (\E) John sees Mary s?, (\s)/, s Si (\s)/ (/E) \s s (\E)

5.2. Relative Pronoun Question Which would be the syntactic category of a relative pronoun in subject position? E.g. the student who knows Lori [the [[student] n [who [knows Lori] (\s) ]? ] n who knows Lori n\n? knows who (\s)/ (n\n)/(\s) \s n\n n\n (n\n)/(\s), (\s)/, n\n? Lori (MPr) (MPr) (n\n)/(\s) who (\s) (\s)/ knows Lori

5.3. Pronome Relativo: Alberi sintattici The book which [Sara wrote [...]] s is interesting. }{{}}{{} \s s s \s \s Sara (\s)/ (\s)/ x wrote x Sara s/ wrote s [...] Sara \s (\s)/ wrote x

5.4. Pronome Relativo: Inferenza Ragionamento ipotetico (regole di introduzione dell implicazione) cattura l idea della traccia proposta in Linguistica. The book which [Sara wrote [...]] }{{} s is interesting. }{{} \s wrote (\s)/ [x ] 1 Sara wrote x \s (\E) Sara wrote x s which (n\n)/(s/) Sara wrote s/ (/I)1 (/E) which Sara wrote n\n (/E) (n\s)/(s/),, (\s)/ n\n

6. Riassunto: Regole di Inferenze (np\s) (np\s)/np conosce np ilaria B/A Γ A Γ B (/E) (np\s)/np (np\s) [...] (np\s)/np conosce np x A B B/A (/I) (/E) MP cattura le dipendenze locali (/I) Ragionamento Ipotetico cattura le dipendenze a distanza.

6.1. Riassunto Premessa: Le parole possono essere interpretate come insiemi, e quindi come funzioni. Domande: Categorie Sintattiche: Come si riflette ciò sulle categorie sintattiche? Costituenti: Come si riflette ciò sulle strutture sintattiche? Risposte Usiamo categorie sintattiche più complesse, correspondenti alla semantica. Usiamo Modus Ponens e Ragionamento Ipotetico. Metodo Abbiamo usato una logica per analizzare le strutture sintattiche e catturare il legame tra sintassi e semantica del linguaggio naturale. Qual è la logica dietro le strutture linguistiche?

6.2. Proprietà delle Strutture sintattiche non commutativa: mary walks s ma walks mary s. non associativa [the det student n ] walks vp s ma [the det [student n walks vp ]? s. importanza del numero delle occorrenze: mary walks s but mary mary walks s, and mary walks s but walks s....

6.3. Linguistica e Matematica In Matematica: è commutativo. In Linguistica: 2 9 4 iff 2 4 9 iff 4 9 2 : sara s/iv iff : sara iv : cammina s iff cammina : iv \s non è commutativo.

7. Sintassi-Semantica Syntactic Categories and Semantic Types Let us define a function type : CAT TYPE which maps syntactic categories to semantic types. type(np) = e; type(s) = t; type(n) = (e t). type(a/b) = (type(b) type(a)); type(b\a) = (type(b) type(a));

7.1. Teoria degli Insiemi: Lessico Già visto (semantica interpretazione): Qual è il significato di Ogni studente? [tommaso] = tommy; [valerio] = valerio; [roberto] = roby; [raffaella] = raffa; [studente] = {tommy, valerio}; [docente] = {roby}; [italiano] = {tommy, valerio, raffa, roby}; [parla] = {raffa}. [ascolta] = {tommy, valerio, roby}; [conosce] = { roby, raffa, raffa,roby }; [ogni studente] = {X E [student] X} = {{tommy, valerio}, {tommy, valerio, raffa, roby}, {tommy, valerio, roby}} = {[studente], [italiano], [ascolta]} ie. un insieme di proprietà. Nuovo: Tutto ciò si riflette sulla sintassi? Quali sono le categorie sintattiche del lessico?

7.2. Categorie sintattiche e Tipi semantici Parola CAT TIPO RAP. SEMA Roberto e r parla \s e t λx.parla(x) conosce (\s)/ e (e t) λx.conosce(x) ogni studente s/(\s) (e t) t λx. x.studente(x) X(x)

7.4. DP e i Quantificatori Problema: Es. Roberto and every student left. And coordina costituenti della stessa categoria sintattica. Roberto: every student: s/(\s) Soluzione proposta da Linguisti (Partee): Type raising [roberto] = roby; [roberto] = {X X(roby) = 1} = {[italiano], [docente], [ascolta raffa]}

7.5. Type Raising come inferenza Portendo dall assegnare a Roberto la categoria, le regole di inferenza dimostrano: john [P \s] 1 (\E) roberto P s roberto s/(\s) (/I)1 s/(\s) Per cui può essere coordinato con un QP, senza bisogno di postulare il type raising.

7.6. Logica e Linguaggio Già visto: Il significato di una frase è il suo valore di verità. (Tarski) Il significato di una frase è ottenuto composizionalmente partendo dal significato delle parole. (Frege) Il significato delle parole è catturato dalla teoria degli insiemi Nuovo: Possiamo definire formalmente il legame tra Sintassi e Semantica del Linguaggio Naturale?

8. CG: categories and terms Modus ponens corresponds to functional application. B/A : t A : r B : t(r) (/E) A : r A\B : t B : t(r) (\E) Example : john \s : walk s : walk(john) (\E) \s : λx.walk(x) (λx.walk(x))(john) λ conv. walk(john) (\s)/ : know : mary (/E) : john \s : know(mary) (\E) s : know(mary)(john)

8.1. DP and quantified DP John and one student left. We can assign to John the category and term assignment john and derive the category and term of quantified. roberto : roby [P \s : P ] 1 (\E) roberto P s : P (roby) roberto s/(\s) : λp.p (roby) (/I)1 We have proved: s/(\s). This means, we can assign John the category (considering it an entity, i.e. a term of type e) and derive from it the higher order category of quantified DP as it would be necessary for, e.g. coordination of a DP and a QP. [roberto] = roby; [roberto] = {X X(roby) = 1} = {[italiano], [docente], [ascolta raffa]}

9. Administrativa Esame di Giugno (forse il 6): scritto ad Aprile. Quando? Giugno: discussione esercizi svolti.