120 likes | 184 Views
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 NooJ20 10 Komotini. if there is a nominal predicate
E N D
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 NooJ2010Komotini NooJ2010Komotini 1/22
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. Last Year’s Problems Solved • ex. • The boy and a girl were very smart. ->The boy and a girl =><NP+p+m> NooJ2010Komotini 2/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> NooJ2010Komotini 3/12
NooJ2010Komotini 4/12
Examples • Pravda i opraštanje sudvatemeljnastupa mira. • Justice and forgiveness are two main pillars of peace. • Cijene suizuetno povoljne. • Prices are extremely affordable. • To jeizvrsno. • This is great. NooJ2010Komotini 5/12
Measures and Explanations Precision: Recall: 72,72 69,56 <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… NooJ2010Komotini 6/12
Coordination of multiple <NP> nodes • 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 • combination of masculine and feminine <NP> • <NP+m<NP+fjabuka>, <NP+fkruška> i <NP+mananas>> • an apple, a pear and a pineapple • combination of masculine and neutral <NP> • <NP+m<NP+mananas> i <NP+ndijete>> • a pineapple and a child • combination of neutral and feminine <NP> • <NP+m<NP+fjabuka> i <NP+ndijete>> • an apple and a child NooJ2010Komotini 7/12
Coordination of two or more proper nouns <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 • <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> NooJ2010Komotini 8/12
NooJ2010Komotini 9/12
Example of concordance NooJ2010Komotini 10/12
Measures Precision: Recall: 100 90 NooJ2010Komotini 11/12
Thank you for your attention. NooJ2010Komotini 12/12