Top Banner
GR-Based Improved Parse Selection Sriwantha Sri Aravinda Attanayake University of Cambridge
13

Gr based improved parse selection

Sep 07, 2014

Download

Technology

sriwantha

Lexical models to improve parse selection
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Gr based improved parse selection

GR-Based Improved Parse Selection

Sriwantha Sri Aravinda Attanayake

University of Cambridge

Page 2: Gr based improved parse selection

Grammar Relations (GR)

John saw a cat with a telescope

Subject

Indirect Object

Determiner

Page 3: Gr based improved parse selection

Grammar Relations (GR)

<GR List>(ncsubj saw John )(iobj saw with )(dobj saw cat )(dobj with telescope )(det telescope a )(det cat a )

John saw a cat with a telescope

Page 4: Gr based improved parse selection

Luckily…

Parser

<GR List>(ncsubj saw John )(iobj saw with )(dobj saw cat )(dobj with telescope )(det telescope a )(det cat a )

Page 5: Gr based improved parse selection

Re RankingChoice 1(|ncsubj| |saw| |John| _)(|iobj| |saw| |with|)(|dobj| |saw| |cat|)(|dobj| |with| |telescope|)(|det| |telescope| |a|)(|det| |cat| |a|)

Choice 2(|ncsubj| |saw| |John| _)(|dobj| |saw| |cat|)(|det| |cat| |a|)(|ncmod| _ |cat| |with|)(|dobj| |with| |telescope|)(|det| |telescope| )

Choice 3(|ncsubj| |saw| |John| _)(|ncmod| _ |saw| |with|)(|dobj| |with| |telescope|)(|det| |telescope| |a|)(|dobj| |saw| |cat|)

Page 6: Gr based improved parse selection

John saw a cat with a telescope

a cat a + catNP DT+ NN

Page 7: Gr based improved parse selection

John saw a cat with a telescope

Saw + with : 80% cat + with : 40%

Page 8: Gr based improved parse selection

100 million wordBritish National Corpus

(BNC)

Parse1(|ncsubj| |saw| |John| _)(|iobj| |saw| |with|)(|dobj| |saw| |cat|)(|dobj| |with| |telescope|)(|det| |telescope| |a|)(|det| |cat| |a|)

Parse 2(|ncsubj| |saw| |John| _)(|dobj| |saw| |cat|)(|det| |cat| |a|)(|ncmod| |cat| |with|)(|dobj| |with| |telescope|)(|det| |telescope| |a| )

Parse 3(|ncsubj| |saw| |John| _)(|ncmod| _ |saw| |with|)(|dobj| |with| |telescope|)(|det| |telescope| |a|)(|dobj| |saw| |cat|)

Count=1000

Count=5000

2000

Page 9: Gr based improved parse selection

F-Score

(ncsubj saw John )(iobj saw with )(dobj saw cat )

(ncsubj saw John )

(ncsubj saw John )(iobj saw with )(dobj saw cat )(dobj with telescope)(det telescope a )(det cat a )

100% accurate, Poor recall

100% recall, Poor accuracy

Page 10: Gr based improved parse selection

Current Progress

F Score Improvement 1%MRR (10 Parses) about 6%

Page 11: Gr based improved parse selection

Challenges

(dobj saw cat ) Count=0(dobj saw dog) Count=0(dobj saw it) Count=3

(dobj saw {any word}) Count=45(dobj of and) Count=170,203

Score= Average (Count)

Page 12: Gr based improved parse selection
Page 13: Gr based improved parse selection

EndProduction of [email protected]