From a-doug@microsoft.com  Fri Jun 30 23:32:17 2000
Received: from mail4.microsoft.com (mail4.microsoft.com [131.107.3.122])
	by swi.psy.uva.nl (8.9.3/8.9.3) with SMTP id XAA29094
	for <prolog@swi.psy.uva.nl>; Fri, 30 Jun 2000 23:32:16 +0200 (MET DST)
Received: from 157.54.9.103 by mail4.microsoft.com (InterScan E-Mail VirusWall NT); Fri, 30 Jun 2000 14:32:01 -0700 (Pacific Daylight Time)
Received: by INET-IMC-04 with Internet Mail Service (5.5.2651.58)
	id <NY61KH7F>; Fri, 30 Jun 2000 14:31:52 -0700
Message-ID: <E713F2760348D211A9B600805F6FA1AB05676BEE@RED-MSG-09.itg-messaging.redmond.corp.microsoft.com>
From: "Douglas Miles (Volt Computer)" <a-doug@microsoft.com>
To: "'Andreas Kaltenbrunner (Dipl.A.Leitsch)'" <kalt@logic.at>,
        Prolog Mailing List <prolog@swi.psy.uva.nl>
Subject: RE: atom_to_term
Date: Fri, 30 Jun 2000 14:32:03 -0700
X-Mailer: Internet Mail Service (5.5.2651.58)

How was '(s(np(I),vp(verb(go),np(home))))' constructed?

If you want to do this by hand then
possibly the representation you want is

'(s(np(\'I\'),vp(verb(go),np(home))))'

-Douglas


-----Original Message-----
From: Rinke Hoekstra [mailto:rhoekstr@wins.uva.nl]
Sent: Friday, June 30, 2000 8:43 AM
To: Prolog Mailing List
Subject: Re: atom_to_term


Hi Andreas,

Fiddling about with Prolog for a bit resulted in the following:


?- atom_to_term('(s(np(I),vp(verb(go),np(home))))',X,['I'=I]).

X = s(np(_G487), vp(verb(go), np(home)))
I = _G487 
Yes
?-

Is this what you wanted?

Regards,

    Rinke Hoekstra

========================================
Rinke J. Hoekstra
Dept. of Computer Science and Law
University of Amsterdam, The Netherlands
rinke@lri.jur.uva.nl
========================================


----------------
* To UNSUBSCRIBE, please use the HTML form at

    http://www.swi.psy.uva.nl/projects/SWI-Prolog/index.html#mailinglist

or send mail to prolog-request@swi.psy.uva.nl using the Subject:
"unsubscribe"
(without the quotes) and *no* message body.

** An ARCHIVE of this list is maintained at

    http://www.swi.psy.uva.nl/projects/SWI-Prolog/mailinglist/archive/

