1999Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Text Parsing -->
<!--X-From-R13: "Fenivf E. Qnfrl" <rsvaqryNvb.pbz> -->
<!--X-Date: Thu, 3 Jun 1999 06:16:04 &#45;0700 -->
<!--X-Message-Id: Pine.LNX.4.04.9906030801370.30227&#45;100000#fnord,io.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199906030353.VAA01333@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] Text Parsing</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:efindel#io,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="msg00447.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00449.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00422.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00425.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00448">Author</A>
&nbsp;|&nbsp;<A HREF="#00448">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00448">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Text Parsing</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev] Text Parsing</LI>
<LI><em>From</em>: "Travis S. Casey" &lt;<A HREF="mailto:efindel#io,com">efindel#io,com</A>&gt;</LI>
<LI><em>Date</em>: Thu, 3 Jun 1999 08:10:42 -0500 (CDT)</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#kanga,nu</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 Wed, 2 Jun 1999, Chris Gray wrote:
&gt; [Travis S. Casey:]

&gt; &gt; This could cause a problem if you're not careful about naming, since
&gt; &gt; "from" can be a part of a name -- e.g., "the man from UNCLE".  It's not a
&gt; &gt; common case, but it could happen.
&gt; 
&gt; Yep. Any systems out there that *do* handle something like that? If I
&gt; stick to a medieval MUD, the United Nations Command for Law Enforcement
&gt; would be a big anachronism :-)

It shouldn't be too hard to handle.  There's a couple of ways I can think
of off-hand:

 - always try the whole phrase first, then try it using the "from" rule.
   (E.g., if someone "look at man from uncle", the parser should try 
   "look at (man from uncle)" before "look at (man) from (uncle)".)

 - try both ways, and do whichever one makes a valid command.  If they
   *both* do, you've got ambiguity.  How you want to resolve it is up to
   you.  (e.g., "get sword from castille".  Try both "get (sword) from
   (castille)" and "get (sword from castille)" to see if you can find
   matching objects.  If there's no "castille" present, but there is a
   "sword from castille", this will result in the second version being
   used.

--
       |\      _,,,---,,_        Travis S. Casey  &lt;efindel#io,com&gt;
 ZZzz  /,`.-'`'    -.  ;-;;,_   No one agrees with me.  Not even me.
      |,4-  ) )-,_..;\ (  `'-'
     '---''(_/--'  `-'\_) 



_______________________________________________
MUD-Dev maillist  -  MUD-Dev#kanga,nu
<A  HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A>


</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="00422" HREF="msg00422.html">Re: [MUD-Dev] Text Parsing</A></STRONG>
<UL><LI><EM>From:</EM> Chris Gray &lt;cg#ami-cg,GraySage.Edmonton.AB.CA&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00447.html">Re: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00449.html">Re: [MUD-Dev] Re[2]: [MUD-Dev] Languages (slightly offtopic,  wasText Parsing)</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00422.html">Re: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00425.html">Re: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00448"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00448"><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] Text Parsing</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00572" HREF="msg00572.html">Re: [MUD-Dev] Text Parsing</A></strong>, 
Adam Wiggins <a href="mailto:adam#angel,com">adam#angel,com</a>, Mon 07 Jun 1999, 17:46 GMT
</LI>
</ul>
</ul>
<LI><strong><A NAME="00443" HREF="msg00443.html">Re: [MUD-Dev] Text Parsing</A></strong>, 
Matthew Mihaly <a href="mailto:sarapis#achaea,com">sarapis#achaea,com</a>, Thu 03 Jun 1999, 05:58 GMT
</LI>
</ul>
<LI><strong><A NAME="00421" HREF="msg00421.html">Re: [MUD-Dev] Text Parsing</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 03 Jun 1999, 03:46 GMT
</LI>
<LI><strong><A NAME="00422" HREF="msg00422.html">Re: [MUD-Dev] Text Parsing</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 03 Jun 1999, 03:55 GMT
<UL>
<LI><strong><A NAME="00448" HREF="msg00448.html">Re: [MUD-Dev] Text Parsing</A></strong>, 
Travis S. Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Thu 03 Jun 1999, 13:16 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00425" HREF="msg00425.html">Re: [MUD-Dev] Text Parsing</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 03 Jun 1999, 04:09 GMT
</LI>
<LI><strong><A NAME="00430" HREF="msg00430.html">RE: [MUD-Dev] Text Parsing</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 03 Jun 1999, 04:49 GMT
<UL>
<LI><strong><A NAME="00441" HREF="msg00441.html">RE: [MUD-Dev] Text Parsing</A></strong>, 
Matthew Mihaly <a href="mailto:sarapis#achaea,com">sarapis#achaea,com</a>, Thu 03 Jun 1999, 05:58 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00432" HREF="msg00432.html">Re: [MUD-Dev] Text Parsing</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 03 Jun 1999, 04:57 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>