From kalt@logic.at  Fri Jun 30 17:24:44 2000
Received: from alpha.logic.tuwien.ac.at (alpha.logic.tuwien.ac.at [128.130.175.20])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id RAA20578
	for <prolog@swi.psy.uva.nl>; Fri, 30 Jun 2000 17:24:38 +0200 (MET DST)
Received: from localhost (kalt@localhost)
	by alpha.logic.tuwien.ac.at (8.9.3/8.9.3) with ESMTP id RAA01028
	for <prolog@swi.psy.uva.nl.>; Fri, 30 Jun 2000 17:25:34 +0200 (MET DST)
Date: Fri, 30 Jun 2000 17:25:34 +0200 (MET DST)
From: "Andreas Kaltenbrunner (Dipl.A.Leitsch)" <kalt@logic.at>
To: prolog@swi.psy.uva.nl
Subject: atom_to_term
Message-ID: <Pine.OSF.4.10.10006301713250.739-100000@alpha.logic.tuwien.ac.at>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hello

I have the following Problem:

I want to transform things like: 

'(s(np(i),vp(verb(go),np(home))))'

into:

s(np(i),vp(verb(go),np(home)))

I found a solution with

atom_to_term('(s(np(i),vp(verb(go),np(home))))',X,[]).

But it doesn't work if I use
np(I) instead of np(i).

So my question is how can i transform

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

into

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

Thanks in advance
Andreas Kaltenbrunner

