Welcome to CDG. =============== This is the Constraint Dependency Grammar Suite available on http://nats-www.informatik.uni-hamburg.de. Have fun, Your CDG Team. Contact ======= Email: Wolfgang Menzel (project leader) Ingo Schröder Kilian A. Foth Michael Daum See the THANKS file for more information on contributors to CDG. Copyright ========= CDG is free software. Please see the file COPYING for details. Copyright (C) 1997-2004 The CDG Team This is free software; as a special exception the author gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Installation Requirements ========================= CDG has currently been confirmed to run on the following platforms: SPARC-Solaris >= 2.5 (command-line parser only) x86-Linux >= 2.0 The following programs are recommended for using CDG: TnT (stochastic part-of-speech tagger for several languages): http://www.coli.uni-sb.de/~thorsten/tnt/ The following data is recommended for using CDG: NEGRA treebank (http://www.coli.uni-sb.de/sfb378/negra-corpus/negra-corpus.html) Penn Treebank (http://www.cis.upenn.edu/~treebank/) CCC (http://nats-www.informatik.uni-hamburg.de/downloads) The following libraries are needed to run the graphical shell XCDG: tktable >= 2.0 (ftp://ftp.cs.uoregon.edu/pub/tcl/tkTable/) tcl/tk >= 8.0 (http://dev.scriptics.com/software/tcltk/downloadnow83.tml) itcl >= 3.0.1 (http://www.tcltk.com/itcl/) The following libraries are needed to compile cdg: swig == 1.3.19, neither older nor newer! (http://www.swig.org/download.html) perl flex > 2.5.4a yacc m4 sed Diverse other small utilities likely to be found on any present-day UNIX. Installing from source ====================== 0. Install any prerequisites needed (see above). 1. Untar the sources: tar xvzf cdg-.tar.gz 2. cd cdg- 3. Determine your system configuration: ./configure --prefix (default /usr/local) --with-tnt-dir (recommended) --with-negra-dir (optional) --with-wsj-dir (optional) --with-ccc-dir (optional) 4. Build: make all make docu (optional) 5. Install: make install (will build and install the docu also) Running cdg =========== The recommended way of running the command-line version is to call the script `cdg' in the utils subdirectory: cdg Grammar files to be loaded can be specified on the command line either using an absolute path or using the symbolic name: cdg cdg/grammar/deutsch/deutsch.cdg or cdg deutsch The graphical shell XCDG can be run like this: xcdg deutsch Type `help' for an overview of commands. Documentation ============= Further reading is installed in /share/doc/cdg/. Reference manuals are available in HTML format in /share/doc/cdg/html/***. On the CDG System: * manual.pdf the main CDG documentation * depsy.pdf the Dependency Synthesizer documentation * xcdg-refman.pdf programmer's reference to the graphical CDG front-end * blah-refman.pdf programmer's reference to the Bits Lists Arrays 'n Hashes container library * libcdg-refman.pdf programmer's reference to the CDG core engine * yada-refman.pdf programmer's reference to Yet Another Data Analyzer On the CDG Grammars: * deutsch.pdf annotation guide to the Deutsch grammar Please visit our website to have a look at the publications related to CDG at http://nats-www.informatik.uni-hamburg.de/view/Papa/ProjectPublications