+ All Categories
Home > Technology > Gr based improved parse selection

Gr based improved parse selection

Date post: 07-Sep-2014
Category:
Upload: sriwantha
View: 307 times
Download: 4 times
Share this document with a friend
Description:
Lexical models to improve parse selection
Popular Tags:
13
GR-Based Improved Parse Selection Sriwantha Sri Aravinda Attanayake University of Cambridge
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]


Recommended