• Aucun résultat trouvé

"Eating cake during a scientific talk"

N/A
N/A
Protected

Academic year: 2022

Partager ""Eating cake during a scientific talk""

Copied!
36
0
0

Texte intégral

(1)

"Eating cake during a scientific talk"

Can we reverse-engineer natural language aspectual processing?

Damien Munch with

Jean-Louis Dessalles

(2)

Issues

- Easy for human but sill problematic for computers

Natural Language

Processing

(3)

NLP

By statistical approach

Le gâteau → the cake

Un gâteau → a cake / one cake

Ignores semantics

(4)

NLP

A cognitive approach

Le gâteau → → the cake

Un gâteau → → a cake / one cake

Reverse Engineering !

?

(5)

1) Elle a mangé le gâteau en cinq minutes.

2) Elle a mangé du gâteau en cinq minutes.

(6)

1) Elle a mangé le gâteau en cinq minutes.

2) * Elle a mangé du gâteau en cinq minutes.

3) Elle a conduit la voiture en cinq minutes.

(7)

1) Elle a mangé le gâteau en cinq minutes.

2) * Elle a mangé du gâteau en cinq minutes.

3) * Elle a conduit la voiture en cinq minutes.

4) ? Elle a mangé le gâteau pendant cinq minutes.

5) Elle a mangé du gâteau pendant cinq minutes.

6) ? Elle a mangé un gâteau pendant cinq

minutes.

(8)

1) Elle a mangé le gâteau en cinq minutes.

2) * Elle a mangé du gâteau en cinq minutes.

3) * Elle a conduit la voiture en cinq minutes.

4) ? Elle a mangé le gâteau pendant cinq minutes.

5) Elle a mangé du gâteau pendant cinq minutes.

6) ? Elle a mangé un gâteau pendant cinq minutes.

7) Elle a mangé du gâteau en 2011.

(9)

1) Elle a mangé le gâteau en cinq minutes.

2) * Elle a mangé du gâteau en cinq minutes.

3) * Elle a conduit la voiture en cinq minutes.

4) ? Elle a mangé le gâteau pendant cinq minutes.

5) Elle a mangé du gâteau pendant cinq minutes.

6) ? Elle a mangé un gâteau pendant cinq minutes.

7) Elle a mangé du gâteau en 2011.

8) Elle a mangé le gâteau pendant le

spectacle.

(10)

1) Elle a mangé le gâteau en cinq minutes.

2) * Elle a mangé du gâteau en cinq minutes.

3) * Elle a conduit la voiture en cinq minutes.

4) ? Elle a mangé le gâteau pendant cinq minutes.

5) Elle a mangé du gâteau pendant cinq minutes.

6) ? Elle a mangé un gâteau pendant cinq minutes.

7) Elle a mangé du gâteau en 2011.

8) Elle a mangé le gâteau pendant le spectacle.

Easy to learn for a human child

Hard to find a minimalist model !

(11)

Tense Modality

Aspect

Repetition, Part of, Whole, Starting, Ending, etc.

Categories of Time in human languages

(12)

(9) Elle mangera du gâteau en février.

She will eat/be eating cake in February.

(10) Elle mangera un gateau en 30 minutes.

She will take 30 minutes to eat (and finish) a cake.

Present Elle mange du gâteau

(maybe once ! Maybe more) Février

Present Elle mange un gâteau (and finish it !)

30 minutes

(13)

S R E

Reichenbach (1947)

Procedural and minimalist

Temporal Coordinates (Event, Reference, Speech)

Relations between coordinates

(11) Elle mangera du gâteau (E) pendant 30 minutes (R).

She will eat/be eating cake for 30 minutes.

Unable to process every sentences

In (11), there will be no differences between pendant and en BUT

(14)

Gosselin (1996)

Algorithms are attached to lexems

Intervals with boundaries

Structure accumulation

(12) Elle mange depuis un quart d'heure

ct2 I/II 01/02 ct1

B1 B2

BUT

Pierre manger

1/4 h

(15)

a) associate an interval [ct1,ct2] to the temporal adverbial

b) ct1 < ct2 (non-punctual adverbial, boundaries are dissociated) c) [ct1, ct2] CO [B1,B2] (the adverbial coincides with the event)

d) [I,II] ACCESS [B1,B2] (the event's boundaries must be 'accessible' by the reference interval ; I ≤ B1 and II ≥ B2)

The interval of the event [B1,B2] must be intrinsic (whereas “pendant”

+ duration needs extrinsic boundaries).

Gosselin's model : Instructions for “en” + duration

(16)

The Model

(17)

tSS Model

tSS Head

tSS Merge

tSS Complement

tSS Result - Only one type of structure : the

temporal Semantic Structure (tSS) - Only one algorithm : the tSS Merge.

(18)

Syntax and Semantic

Syntax Analysis

THEN Semantic Analysis

(19)

Syntax and Semantics are synchronous

Elle mang -era un gâteau en 30 minutes

-era

(20)

tSS Model

tSS Head - Image id - Viewpoint - Determination

- Multiplicity

tSS Merge tSS Complement

- Image id - Viewpoint - Determination

tSS Result - Image id - Viewpoint - Determination

- Multiplicity - Only one type of structure : the

temporal Semantic Structure (tSS) - Only one algorithm : the tSS Merge.

(21)

Temporal Semantic Structure

- Image id - Viewpoint

- Determination - Multiplicity

Switches

(dynamic binary flag with an undefined position)

What is needed in the tSS ?

Pointer (ID)

Binary flag

(22)

Viewpoint

Figure or Ground

(5) Elle a mangé du gâteau pendant cinq min

(2) * Elle a mangé du gâteau en cinq min

ground ground

ground figure

=

(23)

Determination

Determined or Undetermined

(13) Elle a mangé le Tian en 10 min

(14) Hier, elle a mangé un Tian

determined

undetermined

(15) Elle a mangé un Tian en 10 min

(24)

(1) Predication

(2) Operators : Slice / Cover / After / Repeat / … Do modifications on tSS

(3) Image merge

Perception

Images, Magnitudes, Aspect Type

tMerge

tSS Head

tSS Merge ComplementtSS

tSS Result

(25)

Temporal predication

(12) Elle a écrit une lettre en cinq minutes

(11) Elle a écrit une lettre pendant la présentation

→ it was forbidden

→ a record

(26)

(1) Predication

(2) Operators : Slice / Cover / After / Repeat / … Do modifications on tSS

(3) Image merge (4) Basic merge

Perception

Images, Magnitudes, Aspect Type

tMerge

(27)

Operators (tSS Modifications)

A Binary B

operator

???

(11) Elle a écrit une lettre pendant la présentation

pendant

écrire une lettre la présentation

(28)

Operators (tSS Modifications)

Unary

operator X

A Binary B

operator

???

(11) Elle a écrit une lettre pendant la présentation

pendant

écrire une lettre la présentation pendant la présentation

(29)

(1) Predication

(2) Operators : Slice / Cover / After / Repeat / …

→ Unary operators

→ apply if possible (3) Image merge

(4) Basic merge

tMerge

Perception

Images, Magnitudes, Aspect Type

(30)

Example

tSS {en février}

im/i_february vp/figure

dt/?

ml/?

tSS Merge tSS {manger du gâteau}

im/i_eat_cake vp/?

dt/?

ml/?

?

(9) Elle mangera du gâteau en février

She will eat/be eating cake in february

(31)

Results

tSS {en février}

im/i_february

vp/figure (après zoom et slice) dt/det (après zoom et slice)

ml/? tSS Merge

tSS {manger du gâteau en février}

im/i_eat_cake_february vp/figure

dt/det ml/ ?

tSS {manger du gâteau en février}

im/i_eat_cake_february vp/ground

OR

With slice of {en février}

With repetition of {manger du gâteau}

tSS {manger du gâteau}

im/i_eat_cake

vp/figure (après prédication) dt/det (après prédication)

ml/single

tSS Merge

tSS {en février}

im/i_february vp/ground (après zoom)

dt/?

ml/?

tSS {manger du gâteau}

(32)

16) Elle a mangé du Tian en cinq minutes

→ inchoatif : elle aura commenc é a manger cinq minutes plus tard.

→ duratif : Exceptionnel ! Du Tian ne ce mange pas en cinq minutes d'habitudes.

Two particular interpretations

(33)

tSS Model on Tense

tSS - Image id - Viewpoint - Determination

- Multiplicity - Image anchoring

- Past - Distance

- 3 switches for modality

Related to the Reichenbach Reference

« Now »

past non-past

far near far

(34)

Aspectual Type Problem

* Manger du gateau en cinq minutes

Manger le gateau en cinq minutes

* Conduire la voiture en cinq minutes

?? Attraper la grippe en cinq jours

* Entendre la cloche en cinq minutes

* Habiter Paris en cinq minutes

(35)

To summarize

Time, an apparent complexity

A minimalist and cognitive model

tMerge with two tSS in input, one tSS in output

tSS

- Image id - Viewpoint - Determination

- Multiplicity tSS Merge

Predication Operators Unification

tSS

- Image id

tSS Result

- Image id - Viewpoint - Determination

- Multiplicity

(36)

Thank you for your

attention !

Références

Documents relatifs

encore mieux cette &#34;inflation&#34; du contraste sanguin sinusoïdal périphérique qui parait correspondre à une stase provoquée par l'hypertrophie des secteurs bien

Show that, if R is confluent and if every right hand side of a rule is a subterm of the corre- sponding left-hand side, then the procedure derived from question 6 is terminating2.

Montrer que, si C, C � sont des clauses de C sans variable commune, alors si la r`egle (R) s’applique, la clause r´esultante est encore dans la classe C.. Montrer de mˆeme que C

1) La formation que l’étudiant souhaite suivre dans le cadre de sa 5ème année ne doit pas être proposée dans son IEP d’origine. 2) L’étudiant doit obtenir au

Comme le dit si bien Le Bohec, pour les moments indispensables de langage parlé, il faut que nous ménagions des moments de musique, chants et danses libres,

• accepter et appuyer l’idée qu’à l’intérieur de notre discipline généraliste, nous puissions acquérir des compétences avancées dans des domaines propres à la

Enfin, certaines prestations bien spécifiques et ponctuelles, comme la réalisation des musiques ou le doublage son, sont assurées le plus souvent par des prestataires free-lance ou

Comme tout le monde, il était totalement pris de panique à son arrivé, on avait été obligé de le mettre dans le gnouf*, question de sécurité pour nous, mais aussi et surtout