1999Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re[2]: [MUD&#45;Dev] Text Parsing -->
<!--X-From-R13: Fenivf Qnfrl <rsvaqryNvb.pbz> -->
<!--X-Date: Wed, 2 Jun 1999 17:52:34 &#45;0700 -->
<!--X-Message-Id: 8872.990602#io,com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 3755A465.760D2212@classic&#45;games.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re[2]: [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="msg00409.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00411.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00399.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00414.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00410">Author</A>
&nbsp;|&nbsp;<A HREF="#00410">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00410">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re[2]: [MUD-Dev] Text Parsing</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: Greg Miller &lt;<A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A>&gt;</LI>
<LI><em>Subject</em>: [MUD-Dev] Re[2]: [MUD-Dev] Text Parsing</LI>
<LI><em>From</em>: Travis Casey &lt;<A HREF="mailto:efindel#io,com">efindel#io,com</A>&gt;</LI>
<LI><em>Date</em>: Wed, 2 Jun 1999 20:56:52 -0400</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 Wednesday, June 02, 1999, Greg Miller wrote:
&gt; "Travis S. Casey" wrote:

&gt;&gt; I think that trying to make a full natural language parser is a bit much,
&gt;&gt; but I'd personally prefer to be able to type:
&gt;&gt;
&gt;&gt;   get red sword and blue sword
&gt;&gt;   n
&gt;&gt;
&gt;&gt; or, if the red and blue swords are the only swords in the room:
&gt;&gt;
&gt;&gt;   get all swords
&gt;&gt;   n
&gt;&gt;

&gt; I prefer "get red and blue swords" and "get swords" for these cases.
&gt; They're plain english, less typing that anything suggested so far, and
&gt; they're likely among the first things new players will try.

I'd also prefer the "get red and blue swords" -- I used the example I
did because I haven't seen a mud that supports that syntax.  I can
see a way to do it, but I've been trying to use examples that my own
parser would accept.

I'm not sure that I like "get swords" -- it's very ambiguous.  What if
there are five swords in the room?  Does the user want 2, 3, 4, or 5
of them?

I put in support for "get swords" meaning "get all swords" at one
point, but never made a firm decision on whether to keep it or not.  I
probably would have wound up making it a switchable thing, so users
could choose whether or not to use it, and turn it on by default.

I suppose I could have "get swords" work if there are only two swords,
and ask "How many?" if there are more than two, but I prefer to avoid
such prompts.

&gt;&gt; Personally, I'm interested in parsing not to make the command language be
&gt;&gt; English, but to make it easier and more flexible to use.  That's one
&gt;&gt; reason that I decided to make my own parser under MudOS instead of using
&gt;&gt; the MudOS one -- the Lima people had too much of an emphasis on requiring
&gt;&gt; commands to be grammatically correct for my taste.

&gt; Have you looked at the DiscWorld mudlib? I've found it saves me quite a
&gt; bit of typing, simply by interpreting short english sentences to mean
&gt; what they do in english rather than requiring odd constructs like "all
&gt; swords" or "all.sword"

I wouldn't consider "all swords" an odd construct, myself... it's
perfectly standard English, and is not as ambiguous as "get swords".
I agree on "all.sword", though.

&gt;&gt; (On most LP muds, "get sword 2" is how you'd get the second sword listed
&gt;&gt; in the room.  On Lima, it was "get second sword".  I recall someone asking
&gt;&gt; if understanding of the "get sword 2" syntax could be added, and Beek
&gt;&gt; replying that he could, but he wouldn't, since "get sword 2" was not
&gt;&gt; English.  That's the kind of thing that I think is excessive.)

&gt; Maybe they were roleplayers gone overboard? I've seen the occasional
&gt; complaint that traditional mud commands interfere with roleplaying (then
&gt; again, I've also seen arguments over whether the mud should simulate
&gt; incorrect spelling for npcs to match players, or simple run spell- and
&gt; grammar-checking on player speech in order to improve "role-playing". Go
&gt; figure.)

Yep... I think there are reasonable limits to everything.  Making
interfaces "more correct" at a cost to usability seems dumb to me.

--
       |\      _,,,---,,_        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="00399" HREF="msg00399.html">Re: [MUD-Dev] Text Parsing</A></STRONG>
<UL><LI><EM>From:</EM> Greg Miller &lt;gmiller#classic-games,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00409.html">[MUD-Dev] Re[2]: [MUD-Dev] Languages (slightly offtopic, was Text Parsing)</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00411.html">[MUD-Dev] Re[2]: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00399.html">Re: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00414.html">Re: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00410"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00410"><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="00398" HREF="msg00398.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:24 GMT
</LI>
</ul>
<LI><strong><A NAME="00388" HREF="msg00388.html">Re: [MUD-Dev] Text Parsing</A></strong>, 
Matthew Mihaly <a href="mailto:diablo#best,com">diablo#best,com</a>, Wed 02 Jun 1999, 14:30 GMT
<UL>
<LI><strong><A NAME="00391" HREF="msg00391.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:31 GMT
<UL>
<LI><strong><A NAME="00399" HREF="msg00399.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:24 GMT
<UL>
<LI><strong><A NAME="00410" HREF="msg00410.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, 00:52 GMT
</LI>
<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>
</LI>
</UL>
</LI>
</UL>
</LI>
<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>
</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>