1997Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] string parsing -->
<!--X-From-R13: "Xba O. Znzoreg" <wyflfvapNvk.argpbz.pbz> -->
<!--X-Date: Thu, 13 Nov 1997 04:24:53 +0000 -->
<!--X-Message-Id: 199711130424.WAA29173@dfw&#45;ix3.ix.netcom.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 9711121514.8ks2@ami&#45;cg.GraySage.Edmonton.AB.CA -->
<!--X-Reference: 199711130306.DAA28014#out1,ibm.net -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] string parsing</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:jlsysinc#ix,netcom.com">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00283.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00285.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00282.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00292.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00284">Author</A>
&nbsp;|&nbsp;<A HREF="#00284">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00284">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] string parsing</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev] string parsing</LI>
<LI><em>From</em>: "Jon A. Lambert" &lt;<A HREF="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</A>&gt;</LI>
<LI><em>Date</em>: Wed, 12 Nov 1997 23:26:21 -4</LI>
<LI><em>Comments</em>: Authenticated sender is &lt;jlsysinc#popd,ix.netcom.com&gt;</LI>
<LI><em>Reply-to</em>: <A HREF="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On 12 Nov 97 at 19:09, coder#ibm,net wrote:
&gt; Subject:       [MUD-Dev] string parsing
&gt; On 12/11/97 at 08:14 AM, cg#ami-cg,GraySage.Edmonton.AB.CA (Chris Gray)
&gt; said: &gt;[JC:]
&gt; 
&gt; &gt;:Okay, lets reduce this to a diagram:
&gt; &gt;:
&gt; &gt;:
&gt; &gt;:		   Far side of the street
&gt; &gt;:   ----------------------&lt;wall&gt;------------------------------------
&gt; &gt;:
&gt; &gt;:			 &lt;Boffo&gt;
&gt; &gt;:
&gt; &gt;:		 HHHHHHHHHH WWWWWWWWWWW
&gt; &gt;:	&lt;Bubba&gt;  H horses H WW wagon WW  &lt;Bluto&gt;
&gt; &gt;:		 HHHHHHHHHH WWWWWWWWWWW
&gt; &gt;:
&gt; &gt;:			  &lt;you&gt; 
&gt; 
&gt; &gt;Boy, do I feel dumb - I truly hadn't noticed the second meaning of
&gt; &gt;'behind' here, and only clicked on it while reading your reply. I guess
&gt; &gt;I'd better not take a side job as a parser for a MUD!
&gt; 
There would seen to be two distinct cases here (or maybe there is 
more gray area).

1) The object being described has a direct relationship or attachment
to another object.  That is the object only exists in a position 
because of the presence of another object.

Examples: Man on horse, Sword wielded by Bubba, Book on table, 
Bookmark inside book, etc.

2) The object being described has only a casual
positional relationship to other objects in the viewing area. 

Your wagon example appears to be of this type.

&gt; Don't worry, I'm still trying to figure out a system that will handle
&gt; multiple recursion of prepositional spaces.  Consider the worse case of a
&gt; man sitting backwards on a horse which it standing sideways on a wagon
&gt; which is parked facing the rear of a barge which is coming from the rear
&gt; of a much larger vessel, which is in turn at the front of a fleet of such
&gt; vessels.  Now drop the proverbial Bubba in there and get the text right.
&gt;

The man, the horse and the wagon and the barge could be described 
using case 1 above since they are all "attached" to each other.  The 
relationship of the towing ship to the fleet and other 
possible landmarks appears to be of case 2.  Describing the 
relationship of the wagon within the barge is a somewhat murky case 
though since the barge is a object of sufficient size that case 2 
may be applied also.

&gt; A lot of it appears to be able to be handled be looking for other objects
&gt; of comparable and larger (within a scoping) magnitude within a reasonable
&gt; distance.  Thus you refer to a man as being in front of a wall, despite
&gt; the fact that he is also on the far side of a small pebble.  However, the
&gt; same man is not in front of a massive mountain on the horizon, but is at
&gt; the head of the wagon on the road, as that is the next available suitably
&gt; sized relational object...
&gt; 
&gt; This revents placing the flea on the horse's nose in the first example as
&gt; relative to the fleet.  The next ranged comparable object is the horse.
&gt;

Assuming the observer is your average human, would it be appropriate 
to define a minimum-size and maximum-size thresholds for scenic 
descriptives? 

A thought for a general scene (that is when one first walks into a 
room or area).  Start a description with the closest objects within 
the vision range that meet the mininum size threshold.  Describe them 
in relation to objects that meet case 1, above.  If the larger object 
in a case 1 relationship exceeds a maximum size threshold (ie. the 
barge) describe it using case 2.  If there is no case 1 relationship, 
a case 2 description is used using the nearest and next largest 
object.  As objects are described from closer to farther away the the 
minimum-size becomes a function of range.  That way 5 people directly 
in front of you would be described but a person 60 yards away would 
not?  Perhaps there is a maximum threshold of objects that could be 
included in the description?  There are only so many objects a human 
will notice at once when coming upon a scene.  For example, imagine 
one stumbling into the Katmandu town square.  There may be so many 
persons, buildings objects before them that the surrounding 
mountians, immense and near as they are, would not even be noticed.

--
Jon A. Lambert

If I'd known it was harmless, I would have killed it myself.

</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00280" HREF="msg00280.html">Re: [MUD-Dev] string parsing</A></STRONG>
<UL><LI><EM>From:</EM> cg#ami-cg,GraySage.Edmonton.AB.CA (Chris Gray)</LI></UL></LI>
<LI><STRONG><A NAME="00282" HREF="msg00282.html">Re: [MUD-Dev] string parsing</A></STRONG>
<UL><LI><EM>From:</EM> coder#ibm,net</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00283.html">Re: [MUD-Dev]  A flamewar startingpoint.</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00285.html">Re: [MUD-Dev]  A flamewar startingpoint.</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00282.html">Re: [MUD-Dev] string parsing</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00292.html">Re: [MUD-Dev] string parsing</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00284"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00284"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>Re: [MUD-Dev] string parsing</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00262" HREF="msg00262.html">Re: [MUD-Dev] string parsing</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 09 Nov 1997, 18:39 GMT
<UL>
<LI><strong><A NAME="00275" HREF="msg00275.html">Re: [MUD-Dev] string parsing</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Wed 12 Nov 1997, 03:30 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00280" HREF="msg00280.html">Re: [MUD-Dev] string parsing</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Wed 12 Nov 1997, 15:42 GMT
<UL>
<LI><strong><A NAME="00282" HREF="msg00282.html">Re: [MUD-Dev] string parsing</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Thu 13 Nov 1997, 03:07 GMT
<UL>
<LI><strong><A NAME="00284" HREF="msg00284.html">Re: [MUD-Dev] string parsing</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Thu 13 Nov 1997, 04:24 GMT
</LI>
<LI><strong><A NAME="00292" HREF="msg00292.html">Re: [MUD-Dev] string parsing</A></strong>, 
Adam Wiggins <a href="mailto:nightfall#user2,inficad.com">nightfall#user2,inficad.com</a>, Fri 14 Nov 1997, 08:48 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</LI>
<LI><strong><A NAME="00176" HREF="msg00176.html">Re: [MUD-Dev]  string parsing</A></strong>, 
Felix A. Croes <a href="mailto:felix#xs1,simplex.nl">felix#xs1,simplex.nl</a>, Thu 30 Oct 1997, 17:58 GMT
<UL>
<LI><strong><A NAME="00178" HREF="msg00178.html">Re: [MUD-Dev]  string parsing</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Thu 30 Oct 1997, 21:34 GMT
</LI>
</UL>
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00191" HREF="msg00191.html">Re: [MUD-Dev]  string parsing</A></strong>, 
Felix A. Croes <a href="mailto:felix#xs1,simplex.nl">felix#xs1,simplex.nl</a>, Fri 31 Oct 1997, 12:02 GMT
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>