Difference between revisions of "Subreadings in Constraint Grammar"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
* We may need to refer to an earlier sub-reading in order to disambiguate |
* We may need to refer to an earlier sub-reading in order to disambiguate |
||
* We may want to put a mapping tag on an earlier sub-reading |
* We may want to put a mapping tag on an earlier sub-reading |
||
* And of course we want to be able to refer to the last as in the current situation |
|||
==Some file== |
==Some file== |
Revision as of 10:43, 30 September 2010
Current situation
Typical input with sub-readings:
^foobar/foo+bar/fubar/flue+barge$
Right now, only the last sub-reading is used, in the above example, vislcg3 treats it as if it were
^foobar/bar/fubar/barge$
This works great for compounds where the stuff before the + is mostly inconsequential, while for other multiword expressions it is not so good... (Also, mapping tags are only put on the last sub-reading now.)
- Wait can't we just split on the + with pretransfer before sending this to cg-proc?
- No, because we first have to disambiguate between eg. ^foobar/foo+bar/fubar/flue+barge$ (what would that even look like if split? wouldn't work)
What we need
- We may need to refer to an earlier sub-reading in order to disambiguate
- We may want to put a mapping tag on an earlier sub-reading
- And of course we want to be able to refer to the last as in the current situation
Some file
SECTION SUBSTITUTE ("од") ("од:5") ("од") (-1 (adj)); ^помладо/adj<pref><comp>+млад<adj><nt><sg><nom><ind>$ ^од/од<pr>$ ^30/30<num>$^./.<sent>$
MAP (@+FMAINV) TARGET VerbFin ; ^n'eus/ne<adv>+bezañ<vblex><pri><impers><sp>/ne<adv>+kaout<vblex><pri><p1><pl>$ ^kador/kador<n><f><sg>$ ^ebet/ebet<adv>$^./.<sent>$
^D'an/Da<pr>+an<det><def><sp>$ ^emgann/emgann<n><m><sg>$ ^ez/e<vpart><obj>/ael<n><m><pl>/mont<vblex><pri><p2><sg>/monet<vblex><pri><p2><sg>/e<pr>+da<det><pos><mf><sp>$ ^an/an<det><def><sp>/mont<vblex><pri><p1><sg>/monet<vblex><pri><p1><sg>$ Here we want: ^D'an/Da<pr><@ADVL→>+an<det><def><sp><@→N>$ ^emgann/emgann<n><m><sg><@P←>$ ^ez/e<vpart><obj><@Pcle>$ ^an/mont<vblex><pri><p1><sg><@+FMAINV>$