1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Re: Prepositions and parsing -->
<!--X-From-R13: pynjerapNphc.uc.pbz -->
<!--X-Date: from ren.globecomm.net [207.51.48.3] by mx4.ibm.net id 863803874.28574&#45;1 Fri May 16 17:31:14 1997 -->
<!--X-Message-Id: 199705161735.KAA13311#xsvr3,cup.hp.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 9705141459.804u@ami&#45;cg.GraySage.Edmonton.AB.CA -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Re: Prepositions and parsing</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:clawrenc#cup,hp.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="msg00505.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00507.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00462.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00520.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00506">Author</A>
&nbsp;|&nbsp;<A HREF="#00506">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00506">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Re: Prepositions and 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] Re: Prepositions and parsing</LI>
<LI><em>From</em>: <A HREF="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</A></LI>
<LI><em>Date</em>: Thu, 15 May 97 10:23:02 -0700</LI>
<LI><em>Reply-to</em>: <A HREF="mailto:claw#null,net">claw#null,net</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
In &lt;<A HREF="msg00462.html">9705141459.804u#ami-cg,GraySage.Edmonton.AB.CA</A>&gt;, on 05/14/97 
   at 08:25 PM, cg#ami-cg,GraySage.Edmonton.AB.CA (Chris Gray) said:

&gt;[Chris L:]
&gt;:It seems more friendly and not terribly more expensive to me to have
&gt;:the parse try and resolve *both* sides of the ambiguity, and to then
&gt;:pick as to which is supportable in the current context.

&gt;Doing that requires more smarts in the parser than I want to put into
&gt;it. I don't want the "parser" to understand the concepts of 'under',
&gt;'behind', etc., but to just know that they are acceptable for use
&gt;with 'put'.

I believe I want the parser to be able to handle thing like that --
tho not because I necessarily expect players to be entering such
convoluted commands, but because I suspect they will be unavoidable
if/when I go graphical (user interface or world-presentation).  I
don't see a clean recourse but to have the graphical data entries
translate to a pre-parsed (or unparsed) equivalent to a textual
command (or some process resulting in same).  As such I *must* have an
internal awareness of placement.

&gt;:Bingo.  And here it gets really messy.  You end up with a really
&gt;:glorious hodge-podge between a global parser and a a per-object
&gt;:parser.  Consider the case of:
&gt;:
&gt;:  shoot the paper under the book on the table
&gt;:
&gt;:Does that mean to shoot the paper which is located under a book which
&gt;:is located on the table, or to shoot a free paper such that it moves
&gt;:to be under the book which is located on the table, or to shoot the
&gt;:paper such that it moves from under the book to being on the table?

&gt;How unhappy would a typical player be if told that the above is
&gt;ambiguous? 

Probably not very.  However, lets say the player has a rubber-band gun
and explicitly wants to shoot the paper so that it moves under the
book.  Do you really want him to have to enter:

  &gt; shoot the paper so that the paper moves under the book

??

&gt;It's likely such a rare case those most would wave
&gt;it off. 

Agreed.  But I'm trying to allow for a very complex environment here. 
I could specifically see cases where say, a player hiding in a clost
suddenly spies that he left a key paper out in the open, and now
wishes to scoot it out of sight without exposing himself.

&gt;In English we disambuate such things by a slight rephrasing:
&gt;    shoot the paper which is under the book on the table
&gt;    shoot the paper under the book which is on the table

Both of these are still ambiguous.  The first could mean to shoot the
paper which is located under the book, so that it moves onto the
table, or to shoot the paper which is located under the book which is
located on the table.  Simiarly for the second one.

  shoot the paper which is under the book onto the table 

Works a bit better, as does 

  shoot the paper under the book which is on top of the table

or

  shoot the paper under the book which is atop the table

for the other side.

&gt;Perhaps handling syntax something like that is a way to go?

&lt;kof&gt;

Given the average state of western education and general language
articulacy, I'm not keen on requiring a gramatically unambiguous
parse.

-- 
J C Lawrence                           Internet: claw#null,net
(Contractor)                           Internet: coder#ibm,net
---------------(*)               Internet: clawrenc#cup,hp.com
...Honorary Member Clan McFUD -- Teamer's Avenging Monolith...


</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="00462" HREF="msg00462.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></STRONG>
<UL><LI><EM>From:</EM> cg#ami-cg,GraySage.Edmonton.AB.CA (Chris Gray)</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00505.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00507.html">Re: [MUD-Dev] Introduction</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00462.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00520.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00506"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00506"><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]  Re: Role-playing</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00504" HREF="msg00504.html">Re: [MUD-Dev]  Re: Role-playing</A></strong>, 
Ling <a href="mailto:K.L.Lo-94#student,lut.ac.uk">K.L.Lo-94#student,lut.ac.uk</a>, Fri 16 May 1997, 23:55 GMT
<UL>
<LI><strong><A NAME="00592" HREF="msg00592.html">Re: [MUD-Dev]  Re: Role-playing</A></strong>, 
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Mon 19 May 1997, 22:24 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00557" HREF="msg00557.html">Re: [MUD-Dev]  Re: Role-playing</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Sun 18 May 1997, 08:24 GMT
</LI>
</ul>
</ul>
</LI>
<LI><strong><A NAME="00462" HREF="msg00462.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Wed 14 May 1997, 21:57 GMT
<UL>
<LI><strong><A NAME="00506" HREF="msg00506.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Sat 17 May 1997, 00:31 GMT
</LI>
</UL>
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00520" HREF="msg00520.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sat 17 May 1997, 13:02 GMT
<UL>
<LI><strong><A NAME="00547" HREF="msg00547.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Sun 18 May 1997, 04:48 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00525" HREF="msg00525.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 18 May 1997, 00:17 GMT
<UL>
<LI><strong><A NAME="00579" HREF="msg00579.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></strong>, 
Miroslav Silovic <a href="mailto:silovic#srce,hr">silovic#srce,hr</a>, Mon 19 May 1997, 08:55 GMT
</LI>
</UL>
</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>