Apuverbit HPSG:ssa ja ProFITissa Kontekstittomat jäsennysmenetelmät Lili Aunimo lili.aunimo@helsinki.fi Helsingin yliopisto Kieliteknologia Lili Aunimo Apuverbit HPSG:ssa ja ProFITissa p.1/15 2005-05-03
Sisältö 1. Apuverbit ProFITissa ja GramKITissa 2. Neljännet harjoitustehtävät 3. Yhteenveto Lili Aunimo Apuverbit HPSG:ssa ja ProFITissa p.2/15 2005-05-03
Apuverbit Auxiliary verbs modal verbs, helping verbs subjektin nostavia verbejä (subject raising verbs) subjekti saa semanttisen roolinsa ja syntaktisia ominaisuuksia apuverbin komplementilta apuverbin komplementtina on VP apuverbi rajoittaa sitä seuraavan VP:n HEAD-piirteitä Lili Aunimo Apuverbit HPSG:ssa ja ProFITissa p.3/15 2005-05-03
Auxiliary Verb Lexeme Template auxv_lxm := @srv_lxm & syn!head!aux!(+). % Subject Raising Verbs template srv_lxm := <srv_lxm & @verb_lxm & @ssr. Lili Aunimo Apuverbit HPSG:ssa ja ProFITissa p.4/15 2005-05-03
Modaaliverbi Modaaliverbi voi olla vain finiittinen. Sen komplementti on infinitiivinen. % modal verb lexical rule lex(modalverb, <word & @ ARP & syn!(syn & head!form!fin) & arg_st!arg_st & arg_st![syn!head!case!nom, syn!head!(<verb & form!inf)] & sem!sem) :- mod(modalverb, @auxv_lxm & syn!syn & arg_st!arg_st & sem!sem). Lili Aunimo Apuverbit HPSG:ssa ja ProFITissa p.5/15 2005-05-03
NICE NEGATION Pat will sing. Pat will not sing. Pat sings. * Pat sings not. INVERSION Pat will sing. Will Pat sing? Pat sings. * Sings Pat? CONTRACTION Pat will sing. Pat won t sing. Pat sings. * Pat singsn t. ELLIPSIS If anybody is singing the song, Pat is. * If anybody keeps singing the song, Pat keeps. Lili Aunimo Apuverbit HPSG:ssa ja ProFITissa p.6/15 2005-05-03
Negation Lexical Rule piirre NEG not adverbinä not on valinnainen toinen argumentti apuverbille lex(lex, <word & syn!(head!(form!fin & pred!- & aux!+ & neg!+ & mod!none) & val!(spr![subj] & comps![not Args])) & arg_st![subj, Not & @ ADVP & syn!head!mod!none & sem!(index!modality & restr!_) Args] & sem!(index!modality & restr!restr)) :- lex(lex, <word & syn!head!(form!fin & aux!+ & neg!-) & arg_st![subj Args] & sem!(index!modality & restr!restr)). Lili Aunimo Apuverbit HPSG:ssa ja ProFITissa p.7/15 2005-05-03
Käänteinen sanajärjestys Inversion Lexical Rule Can Pat tap-dance? Subjektia ei merkitä määreeksi (specifier) vaan ensimmäiseksi komplementiksi. Ensimmäinen komplementti on myös toisen komplementin subjekti. Lili Aunimo Apuverbit HPSG:ssa ja ProFITissa p.8/15 2005-05-03
Passive Lexical Rule The Passive Construction the duck saw the fish the fish was seen by the duck semanttiset roolit in GramKit perceiver, impression Lili Aunimo Apuverbit HPSG:ssa ja ProFITissa p.9/15 2005-05-03
Passive Lexical Rule lex(verbpassive, <word & @ ARP & syn!head!(<verb & form!pass & aux!aux & pred!+ & mod!mod) & arg_st![@np(obj) Comps] & sem!sem) :- lex(verbbase, @main_verb_lxm & %@tv_lxm & syn!head!(<verb & form!inf & aux!aux & mod!mod) & arg_st![@np(subj),@np(obj) Others] & sem!sem), append(others,[@pp(by,subj)],comps), morph_psp(verbbase, VerbPassive). Lili Aunimo Apuverbit HPSG:ssa ja ProFITissa p.10/15 2005-05-03
Negation Negation * the duck saw not the fish the duck did not see the fish the fish was not seen by the duck not ADV semanttiset roolit eivät ole suhteita finiittiseen verbiin Lili Aunimo Apuverbit HPSG:ssa ja ProFITissa p.11/15 2005-05-03
Apuverbit Auxiliary verbs the duck has seen the fish the duck will see the fish the duck will have seen the fish the fish has been seen by the duck the fish will have been seen by the duck the fish will not have been seen by the duck Apuverbien järjestys on tarkkaan määritelty Lili Aunimo Apuverbit HPSG:ssa ja ProFITissa p.12/15 2005-05-03
Lähteet: Syntactic Theory: A Formal Introduction by Ivan Sag and Thomas Wasow (1999). Gregor Erbach: ProFIT: Prolog with Features, Inheritance and Templates.In the Proceedings of EACL95, Dublin, 1995. Paul Bennett: GDE Handouts 3 and 4 Lili Aunimo Apuverbit HPSG:ssa ja ProFITissa p.13/15 2005-05-03
Neljännet tehtävät, ProFIT Lekseemien lisäys perintä > tyyppin piirteet eli tässä semanttiset roolit intro sit > [give, love, see, walk, run, think]. think intro [thinker, thought]. run intro [runner]. lex( Mike,@pn_lxm( Mike )) Lili Aunimo Apuverbit HPSG:ssa ja ProFITissa p.14/15 2005-05-03
Sivulauseet % ssv_lxm on uusi verbityyppi, joka alikategorisoi sivulaiseita verb_lxm > [iv_lxm, tv_lxm, ssv_lxm]. % Lisätään s-pohjake. head-piirre on tyyppiä verbi. s(index) := <phrase & syn!(head!<verb & val!(spr![] & comps![])) & sem!index!index. % toinen argumentti kutsuu virke-pohjaketta ssv_lxm := <ssv_lxm & @verb_lxm & arg_st![_subj, @s(_)]. Lili Aunimo Apuverbit HPSG:ssa ja ProFITissa p.15/15 2005-05-03