msg00387.html

1999Q2/msg00387.html · 8.8 KB

From the archive 1999Q2.zip

Download the archive   « Back to the archive contents

<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Text Parsing -->
<!--X-From-R13: Yngevan [pQyryna <xvgxngNznephf.cnagf.ah> -->
<!--X-Date: Wed, 2 Jun 1999 07:30:30 &#45;0700 -->
<!--X-Message-Id: Pine.LNX.4.04.9906020012020.1726&#45;100000#marcus,pants.nu -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199906020601.AAA00965@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:kitkat#marcus,pants.nu">
</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="msg00386.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00388.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00383.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00392.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00387">Author</A>
&nbsp;|&nbsp;<A HREF="#00387">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00387">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>: Katrina McClelan &lt;<A HREF="mailto:kitkat#marcus,pants.nu">kitkat#marcus,pants.nu</A>&gt;</LI>
<LI><em>Date</em>: Wed, 2 Jun 1999 01:00:17 -0700 (PDT)</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; &gt; &gt; take off coat
&gt; &gt;
&gt; &gt; seems simple enough. Thing is, do you first check for an object that can
&gt; &gt; be described as an "off coat", or first check through the list of possible
&gt; &gt; arguments to "take" for a match? The first options starts adding reserved
&gt; &gt; words ("off button" anyone?), the second one has problems with other
&gt; &gt; syntaxes:
&gt; &gt;
&gt; &gt; &gt; take small box from wooden table
&gt; 
&gt; Ah, but the save here is that in your first case, 'off' is only a special
&gt; word when used with the 'take' verb. Similarly, 'from' is special for
&gt; this use of 'take'. The way I do it is to have, for each verb, a list
&gt; of the syntax forms for that verb. Only a simple no-indirect-object
&gt; form of a verb is allowed to not specify a preposition. Only one use
&gt; of a given preposition is allowed for a given verb. So, the prepositions
&gt; allow the parser to decide which verb form it is. The form says whether
&gt; or not it allows an indirect object, and if not, the preposition can be
&gt; either before or after the direct object. So:
&gt; 

I like the very inovative idea of "special arguments" to a verb, but the
killer is that English can be massively confusing:

a huge hoard of orcs spot you and reach for their weapons with a snarl.
-&gt; take off running away from the orcs.

-&gt; put on cloak.
you put on the white cloak.
-&gt; look around.
an off white cloak lies on the ground here.
-&gt; take off white cloak.

(If you have a parser that will not blarf all over any of these, I'm
_much_ impressed)

worse, when you throw in the tendency for experienced players to perfer
lazy typing to english, you get problems:

the lizardmen have left an offering to their gods on the alter.
-&gt; take off alt
(shorthand for take offering from alter that most mud processors allow,
and that veteran players will expect to have work)

An English parser would be neat, but there are a lot of problems
associated with it... especially since as Ben pointed out, most players
beyond newbiehood are going to type the shortest amount possible to get
the desired result.  I hate to be a cynic, but alas it's my nature:  I'm
not entirely sure that such a thing is feasible for a mud, unless you're
either willing to accept some strangeness in it, or to restrict the
sentence structure some (force the active verb to be the first word for
example).  At the very least I don't think anyone would argue with me
saying that at the very least this is a very large and ugly problem. The
discussion is certainly interesting though, and of course, people told the
Wright brothers that they were nuts to be trying to build a plane too,
until they managed to do it.

Regards,
-Kat




_______________________________________________
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>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00392" HREF="msg00392.html">Re: [MUD-Dev] Text Parsing</A></strong>
<ul compact><li><em>From:</em> "Travis S. Casey" &lt;efindel#io,com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00377" HREF="msg00377.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="msg00386.html">Re: [MUD-Dev] Languages (slightly offtopic, was Text Parsing)</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00388.html">Re: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00383.html">Re: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00392.html">Re: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00387"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00387"><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>
<ul compact>
<ul compact>
<LI><strong><A NAME="00414" HREF="msg00414.html">Re: [MUD-Dev] Text Parsing</A></strong>, 
David Bennett <a href="mailto:ddt#discworld,imaginary.com">ddt#discworld,imaginary.com</a>, Thu 03 Jun 1999, 01:31 GMT
</LI>
</ul>
</ul>
</ul>
<LI><strong><A NAME="00401" HREF="msg00401.html">Re: [MUD-Dev] Text Parsing</A></strong>, 
Greg Miller <a href="mailto:gmiller#classic-games,com">gmiller#classic-games,com</a>, Wed 02 Jun 1999, 23:25 GMT
</LI>
<LI><strong><A NAME="00415" HREF="msg00415.html">Re: [MUD-Dev] Text Parsing</A></strong>, 
Kylotan <a href="mailto:kylotan#kylotan,force9.co.uk">kylotan#kylotan,force9.co.uk</a>, Thu 03 Jun 1999, 01:48 GMT
</LI>
</ul>
<LI><strong><A NAME="00383" HREF="msg00383.html">Re: [MUD-Dev] Text Parsing</A></strong>, 
Travis S. Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Wed 02 Jun 1999, 12:50 GMT
</LI>
<LI><strong><A NAME="00387" HREF="msg00387.html">Re: [MUD-Dev] Text Parsing</A></strong>, 
Katrina McClelan <a href="mailto:kitkat#marcus,pants.nu">kitkat#marcus,pants.nu</a>, Wed 02 Jun 1999, 14:30 GMT
<UL>
<LI><strong><A NAME="00392" HREF="msg00392.html">Re: [MUD-Dev] Text Parsing</A></strong>, 
Travis S. Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Wed 02 Jun 1999, 15:48 GMT
<UL>
<LI><strong><A NAME="00408" HREF="msg00408.html">Re: [MUD-Dev] Text Parsing</A></strong>, 
Ola Fosheim Grøstad <a href="mailto:olag#ifi,uio.no">olag#ifi,uio.no</a>, Thu 03 Jun 1999, 00:20 GMT
<UL>
<LI><strong><A NAME="00411" HREF="msg00411.html">[MUD-Dev] Re[2]: [MUD-Dev] Text Parsing</A></strong>, 
Travis Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Thu 03 Jun 1999, 01:16 GMT
<UL>
<LI><strong><A NAME="00416" HREF="msg00416.html">Re: [MUD-Dev] Re[2]: [MUD-Dev] Text Parsing</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Thu 03 Jun 1999, 01:50 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</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>

Site Stats

Snippets: 1791
Codebases: 571