[developers] Howto dump a SEM-I from a grammar

Dan Flickinger danf at stanford.edu
Mon Dec 1 06:08:49 CET 2008

Hi Berthold -

Here's what I do to dump the SEM-I for the ERG:

Within an LKB with the grammar loaded:

(in-package "MT")
(setf semi (mt:construct-semi))
(with-open-file (stream "~/logon/lingo/erg/core.smi"
                 :direction :output :if-exists :supersede)
  (mt::print-semi semi :format :compact :stream stream))

Note that this will create the bulk of the SEM-I, but you'll still need a manually created file for your grammar analogous to the file 'erg.smi' in the ERG, which at its end includes the dumped file 'core.smi'.



----- Original Message -----
From: "Berthold Crysmann" <crysmann at ifk.uni-bonn.de>
To: "developers" <developers at delph-in.net>
Sent: Saturday, November 29, 2008 12:01:27 AM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: [developers] Howto dump a SEM-I from a grammar

Dear all, 

can anyone out there (maybe Dan?) tell me what steps I have to perform
to dump a SEM-I for my grammar?



PD Dr. Berthold Crysmann <crysmann at ifk.uni-bonn.de>
U Bonn - IfK - Abteilung Sprache und Kommunikation
Poppelsdorfer Allee 47
D-53115 Bonn

More information about the developers mailing list