12
Improved Parser for Simple Croatian Sentences NooJ2010 Komotini 1/22 Improved Parser for Simple Croatian Sentences Kristina Vučković, Božo Bekavac, Zdravko Dovedan University of Zagreb, Faculty of Humanities and Social Science {kvuckovi, bbekavac,zdovedan}@ffzg.hr NooJ2010 Komotini

Improved Parser for Simple Croatian Sentences NooJ2010 Komotini 1/22 Improved Parser for Simple Croatian Sentences Kristina Vučković, Božo Bekavac, Zdravko

Embed Size (px)

Citation preview

Imp

rove

d P

arse

r fo

r S

imp

le C

roat

ian

Sen

ten

ces

NooJ2010Komotini

1/22

Improved Parser for Simple Croatian Sentences

Kristina Vučković, Božo Bekavac, Zdravko DovedanUniversity of Zagreb, Faculty of Humanities and Social Science

{kvuckovi, bbekavac,zdovedan}@ffzg.hr

NooJ2010Komotini

Imp

rove

d P

arse

r fo

r S

imp

le C

roat

ian

Sen

ten

ces

NooJ2010Komotini

2/12

Problems

if there is a nominal predicate

if the <NP> node is a coordination made of 2 or more <NP>’s of different gender

ex. The child was very

smart.

-> The child was->was very smart.

ex. The boy and a girl

were very smart.

->The boy and a girl =><NP+p+m>

Last Year’sSolved

Imp

rove

d P

arse

r fo

r S

imp

le C

roat

ian

Sen

ten

ces

NooJ2010Komotini

3/12

Nominal Predicate simple <NP>

single noun He is a boy.

complex <NP> single noun + any number of adjectives,

pronouns, numerals proceeding and agreeing with the noun in number, gender and case He is my young friend.

single pronoun He is mine.

single adjective He is young.

single numeral He is the first.

adverb He is great.

redefined <NP><(PRO|A|M)*N><(PRO|A|M)*PRO><(PRO|A|M)*A><(PRO|A)*M>

Imp

rove

d P

arse

r fo

r S

imp

le C

roat

ian

Sen

ten

ces

NooJ2010Komotini

4/12

Imp

rove

d P

arse

r fo

r S

imp

le C

roat

ian

Sen

ten

ces

Examples

Pravda i opraštanje su dva temeljna stupa mira. Justice and

forgiveness are two main pillars of peace.

Cijene su izuetno povoljne. Prices are

extremely affordable.

To je izvrsno. This is great.

NooJ2010Komotini5/12

Imp

rove

d P

arse

r fo

r S

imp

le C

roat

ian

Sen

ten

ces

Measures and Explanations

NooJ2010Komotini6/12

<to be,VP> <NP+Nom>=Adjective same form as <VP+Passive>Knjiga je napisana… The book is written…Napisana knjiga je … The written book is…

Precision:

Recall:

72,72

69,56

Imp

rove

d P

arse

r fo

r S

imp

le C

roat

ian

Sen

ten

ces

NooJ2010Komotini

7/12

Coordination of multiple <NP> nodes1. all <NP> are in the same gender <NP+f<NP+fjabuka>, <NP+fkruška> i

<NP+fšljiva>> an apple, a pear and a plum

2. combination of masculine and feminine <NP> <NP+m<NP+fjabuka>, <NP+fkruška> i

<NP+mananas>> an apple, a pear and a pineapple

3. combination of masculine and neutral <NP> <NP+m<NP+mananas> i <NP+ndijete>>

a pineapple and a child4. combination of neutral and feminine <NP> <NP+m<NP+fjabuka> i <NP+ndijete>>

an apple and a child

Imp

rove

d P

arse

r fo

r S

imp

le C

roat

ian

Sen

ten

ces

NooJ2010Komotini

8/12

Coordination of two or more proper nouns <NP+mZagreb> i <NP+mDubrovnik> <NP+mZagreb> i <NP+fBarcelona>

<NP+mTin Ujdur> i <NP+mFilip Kocijan>

<NP+fEma Ujdur> i <NP+mFilip Kocijan>

<NP+mUjdur> i <NP+mKocijan> <NP+fUjdur> i <NP+fKocijan> <NP+fUjdur> i <NP+mKocijan>

<NP+m ><NP+m >

<NP+m ><NP+m >

Last Names only

<NP+m > su otišli

<NP+f > su otišle

<NP+m > su otišli

Imp

rove

d P

arse

r fo

r S

imp

le C

roat

ian

Sen

ten

ces

NooJ2010Komotini

9/12

Imp

rove

d P

arse

r fo

r S

imp

le C

roat

ian

Sen

ten

ces

NooJ2010Komotini

10/12

Example of concordance

Imp

rove

d P

arse

r fo

r S

imp

le C

roat

ian

Sen

ten

ces

Measures

NooJ2010Komotini11/12

Precision:

Recall:

100

90

Imp

rove

d P

arse

r fo

r S

imp

le C

roat

ian

Sen

ten

ces

for your attention.

Thank you

NooJ2010Komotini12/12