| 1 | = GG = |
| 2 | |
| 3 | GG is an HPSG for German developed at the [http://www.dfki.de/lt/ DFKI Language Technology Lab], Saarbrücken, Germany, as part of the [http://www.delph-in.net/ DELPH-IN] consortium. The grammar was first published in June 2006. |
| 4 | |
| 5 | Development was funded by the German Ministry for Education, Science, Research and Technology ("Bundesministerium für Bildung und Forschung (BMBF)"), as part of the projects DISCO (ITW 9002 0), Verbmobil (01 701 V0), Whiteboard (01 IW 002), Quetal (01 IW C02), and Collate (01 IN A01 B). The grammar is currently developed by [http://www.coli.uni-saarland.de/~crysmann/ Berthold Crysmann]. |
| 6 | |
| 7 | The grammar is released under the [http://gg.dfki.de/lgpllr.html LGPLLR], a version of the LGPL adapted to linguistic resources. See the above link or LICENSE for details. |
| 8 | |
| 9 | |
| 10 | == Online Demo == |
| 11 | |
| 12 | An online demo is currently not available. |
| 13 | |
| 14 | |
| 15 | == Download == |
| 16 | |
| 17 | === Releases === |
| 18 | |
| 19 | Releases of the grammar are available as .tar.gz archives: |
| 20 | |
| 21 | * [http://gg.dfki.de/gg.tar.gz June 2007 release] |
| 22 | * [http://gg.dfki.de/gg-punct.tar.gz November 2007 release], which inter alia supports punctuation |
| 23 | |
| 24 | === Subversion === |
| 25 | |
| 26 | The source code of the grammar is managed with [http://subversion.tigris.org/ Subversion]. The repository is located at https://gg.opendfki.de/repos. It can be browsed with the [https://gg.opendfki.de/browser subversion repository browser]. |
| 27 | |
| 28 | You can check out the whole repository with the following command: |
| 29 | {{{ |
| 30 | svn checkout --username <user> https://gg.opendfki.de/repos gg |
| 31 | }}} |
| 32 | |
| 33 | In order to use the subversion repository directly (that is, without the repository browser), you first need to register an account and then apply for project membership at https://config.opendfki.de/. |
| 34 | |
| 35 | |
| 36 | == Installation == |
| 37 | |
| 38 | The grammar is intended to be used with systems that can run TDL-style grammars, such as the [http://wiki.delph-in.net/moin/LkbTop LKB] (Copestake 2001) or [http://wiki.delph-in.net/moin/PetTop PET] (Callmeier 2000), and can be used for parsing (LKB & PET) and generation (LKB). |
| 39 | |
| 40 | |
| 41 | === LKB === |
| 42 | |
| 43 | In the LKB, you can load the grammar via the script file {{{lkb/script}}}. |
| 44 | |
| 45 | We encourage the use of the lexical database (lexdb) by Benjamin Waldron, which is distributed as part of the LKB. See the [http://wiki.delph-in.net/moin DELPH-IN Wiki] for [http://wiki.delph-in.net/moin/LkbLexDb installation instructions]. We recommend the following settings for {{{*lexdb-params*}}}: {{{((:dbname "gg") (:mode "gg"))}}}, to disable sortal restrictions. |
| 46 | |
| 47 | === PET === |
| 48 | |
| 49 | The grammar files come with a Makefile to facilitate installation: Run {{{make}}} to compile .grm files for the Pet runtime parser {{{cheap}}}. Make sure the {{{flop}}} preprocessor is in your PATH. |
| 50 | * german-unfill.grm |
| 51 | * binary grammar file with unfilling (no packing) |
| 52 | * suitable for HoG |
| 53 | * german-pack.grm |
| 54 | * packing, no unfilling |
| 55 | * suitable for HoG, but interoperability is not that well tested |
| 56 | * symbolic link to german.grm, loads definition for packing restrictor in pet/german-pack.set |
| 57 | * german.grm |
| 58 | * no packing, no unfilling |
| 59 | * slow, suitable for HoG |
| 60 | |
| 61 | |
| 62 | == Documentation == |
| 63 | |
| 64 | Documentation for the grammar can be found in the literature. Publications particularly relevant to this version of the grammar are: |
| 65 | |
| 66 | * Müller & Kasper (2000) |
| 67 | * Crysmann (2003) |
| 68 | * Crysmann (2005a) |
| 69 | * Crysmann (2005b) |
| 70 | |
| 71 | The grammar uses revised German spelling conventions, at least as far as the ss/ß rules are concerned. Support for the old spelling conventions will be added in the future. The grammar and the lexicon are encoded in UTF-8. |
| 72 | |
| 73 | |
| 74 | == Known Issues == |
| 75 | |
| 76 | Owing to a bug in Allegro CLIM, direct input of 8bit characters from the LKB GUI is not possible. As a workaround, you can use either TeX or HTML syntax, or invoke the parser from the Lisp prompt '(do-parse-tty "Am Anfang war das Wort.")'. |
| 77 | |
| 78 | Alternatively, you can use the Trollet GUI by Pavel Mihalyov, which fully supports UTF-8. |
| 79 | |
| 80 | See TODO for grammar related known issues. |
| 81 | |
| 82 | |
| 83 | == References == |
| 84 | |
| 85 | * Crysmann, Berthold. 2003. On the Efficient Implementation of German Verb Placement in HPSG. In ''Proceedings of RANLP 2003''. Borovets, Bulgaria. pp. 112-116. |
| 86 | * Crysmann, Berthold. 2005a. Relative Clause Extraposition in German: An Efficient and Portable Implementation. ''Research on Language and Computation''. vol. 3(1). pp. 61-82. |
| 87 | * Crysmann, Berthold. 2005b. Syncretism in German: a unified approach to underspecification, indeterminacy, and likeness of case. In Müller, Stefan (ed.), ''Proceedings of the 12th International Conference on Head-Driven Phrase Structure Grammar''. pp. 91-107. CSLI Publications, Stanford. |
| 88 | * Müller, Stefan & Kasper, Walter. 2000. HPSG Analysis of German. In Wahlster, Wolfgang (ed.), ''Verbmobil: Foundations of Speech-to-Speech Translation''. pp. 238-253. Springer, Berlin. |
| 89 | |
| 90 | These references are also available in [wiki:BibTeX] format. |
| 91 | |