-
Notifications
You must be signed in to change notification settings - Fork 4
CheetahTop
BartCramer edited this page Jul 6, 2010
·
9 revisions
Cheetah is a grammar for German, meant to be used with either the LKB or PET. It is comprised of a hand-written core grammar and a lexicon derived from the [http://www.ims.uni-stuttgart.de/projekte/TIGER/ Tiger treebank].
A typical run of the grammar would look as follows:
cat input.yy | cheap -cm -yy -mrs=simple -packing=15 -nsolutions=1 -sm=sav-45k.mem german.grm
The YY file will restrict with respect to the part of speech indicated in the YY file, which is mandatory. Refer to types_lexical.tdl to see which parts of speech ought to be used. An example of an input YY file is:
(0, 0, 1, <0:3>, 1, "nach", 0, "null", "ADP" 1.0) (1, 1, 2, <5:20>, 1, "meinungsumfragen", 0, "null", "NN" 1.0) (2, 2, 3, <22:26>, 1, "liegt", 0, "null", "VFIN" 1.0) (3, 3, 4, <28:30>, 1, "der", 0, "null", "DET" 1.0) (4, 4, 5, <32:41>, 1, "parteilose", 0, "null", "ADJ" 1.0) (5, 5, 6, <43:54>, 1, "self-mademan", 0, "null", "NE" 1.0) (6, 6, 7, <56:58>, 1, "gut", 0, "null", "ADV" 1.0) (7, 7, 8, <60:61>, 1, "im", 0, "null", "ADP" 1.0) (8, 8, 9, <63:68>, 1, "rennen", 0, "null", "NN" 1.0) (9, 9, 10, <70:71>, 1, "um", 0, "null", "ADP" 1.0) (10, 10, 11, <73:75>, 1, "den", 0, "null", "DET" 1.0) (11, 11, 12, <77:86>, 1, "chefsessel", 0, "null", "NN" 1.0) (12, 12, 13, <88:89>, 1, "im", 0, "null", "ADP" 1.0) (13, 13, 14, <91:96>, 1, "weißen", 0, "null", "NE" 1.0) (14, 14, 15, <98:101>, 1, "haus", 0, "null", "NE" 1.0) (15, 15, 16, <103:105>, 1, "mit", 0, "null", "ADP" 1.0) (16, 16, 17, <107:109>, 1, "dem", 0, "null", "DET" 1.0) (17, 17, 18, <111:121>, 1, "amtierenden", 0, "null", "ADJ" 1.0) (18, 18, 19, <123:133>, 1, "präsidenten", 0, "null", "NN" 1.0) (19, 19, 20, <135:140>, 1, "george", 0, "null", "NE" 1.0) (20, 20, 21, <142:145>, 1, "bush", 0, "null", "NE" 1.0) (21, 21, 22, <147:149>, 1, "und", 0, "null", "KON" 1.0) (22, 22, 23, <151:153>, 1, "dem", 0, "null", "DET" 1.0) (23, 23, 24, <155:164>, 1, "demokraten", 0, "null", "NN" 1.0) (24, 24, 25, <166:169>, 1, "bill", 0, "null", "NE" 1.0) (25, 25, 26, <171:177>, 1, "clinton", 0, "null", "NE" 1.0)
- There is the possibility to generate in principle, but this functionality has never been tested on a large scale.
- Bart Cramer and Yi Zhang. 2009. Constructon of a German HPSG grammar from a detailed treebank. In: Proceedings of the ACL 2009 Grammar Engineering across Frameworks workshop, pages 37-45, Singapore, Singapore.
- Bart Cramer and Yi Zhang. 2010. Constraining robust constructions for broad-coverage parsing with precision grammars. In: Proceedings of COLING-2010.
@inproceedings{CramerZhang09,
title={{Construction of a German HPSG grammar from a detailed treebank}},
author={Cramer, B. and Zhang, Y.},
booktitle={Proceedings of the GEAF workshop ACL-IJCNLP 2009},
year={2009},
pages={37--45}
}
@inproceedings{CramerZhang10,
title={{Constraining robust constructions for broad-coverage parsing with precision grammars}},
author={Cramer, B. and Zhang, Y.},
booktitle={Proceedings of COLING 2010},
year={2009},
pages={{To appear}}
}
Home | Forum | Discussions | Events