Message-ID: <3B1A5064.720C@attglobal.net>
Date: Sun, 03 Jun 2001 07:57:41 -0700
From: "J. Fatula" <fatula3@attglobal.net>
Reply-To: fatula3@attglobal.net
Organization: Dis- or sometimes Un-
X-Mailer: Mozilla 3.01C-PBWG  (Win95; U)
MIME-Version: 1.0
Newsgroups: rec.arts.int-fiction
Subject: [Inform] Identifying Verbs & Nouns
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: slip-12-64-42-21.mis.prserv.net
X-Trace: 3 Jun 2001 03:07:51 GMT, slip-12-64-42-21.mis.prserv.net
Lines: 22
X-Complaints-To: abuse@prserv.net
Path: news.duke.edu!newsgate.duke.edu!news-hog.berkeley.edu!ucberkeley!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!news-reader.ntrnet.net!uunet!ash.uu.net!newsfeed2.us.prserv.net!prserv.net!news1.prserv.net!slip-12-64-42-21.mis.prserv.net
Xref: news.duke.edu rec.arts.int-fiction:87956

Ok, here's another one.  I've got a local variable, x, which was created
via the following code:

   x=parseme-->i;

setting x equal to one entry in my parsing array.  The value of x is a
dictionary word, such as 'go' or 'orange'.  I need to

 A) determine whether x refers to a noun or a verb
 B) save that action, i.e. ##Go in some property
 C) save that noun, i.e. navel_orange in some property

Right now I'm using a switch command to match the word to any of the
words in my game.  This is just a setting for testing my ideas, so there
aren't very many objects to write in.
Unfortunately, this is very cumbersome, and also redundant.  This code
will be added into my game in progress, which is fairly large already.

Anyone have any ideas?

Joe Fatula

