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

Berthold Crysmann crysmann at ifk.uni-bonn.de
Mon Dec 1 17:19:08 CET 2008


Dear Dan,


thanks a lot. 

This seems to work out fine mostly. 

The only thing I am missing is that simplification of variable
properties I try to perform with an additional abstract.vpm does not
appear to have an effect. 
In particular, I want to ditch some features that I keep in the standard
vpm, in particular --psv.  

Still, they show up in the dumped core.smi.

B

On Sun, 2008-11-30 at 21:08 -0800, Dan Flickinger wrote:
> 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'.
> 
> Cheers,
> 
>  Dan
> 
> ----- 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?
> 
> Cheers,
> 
> B
> 
>  
-- 
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