msg00411.html

1999Q2/msg00411.html · 9.6 KB

From the archive 1999Q2.zip

Download the archive   « Back to the archive contents

<!-- 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 18:16:16 &#45;0700 -->
<!--X-Message-Id: 16889.990602#io,com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 3755C816.C8D20574#ifi,uio.no -->
<!--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="msg00410.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00412.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00408.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00416.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00411">Author</A>
&nbsp;|&nbsp;<A HREF="#00411">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00411">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>: Ola Fosheim Grøstad  &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 21:20:40 -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, Ola Fosheim Grøstad wrote:
&gt; "Travis S. Casey" wrote:
&gt;&gt; On Wed, 2 Jun 1999, Katrina McClelan wrote:
&gt;&gt;
&gt;&gt; &gt; a huge hoard of orcs spot you and reach for their weapons with a snarl.
&gt;&gt; &gt; -&gt; take off running away from the orcs.
&gt;&gt; &gt;
&gt;&gt; &gt; -&gt; put on cloak.
&gt;&gt; &gt; you put on the white cloak.
&gt;&gt; &gt; -&gt; look around.
&gt;&gt; &gt; an off white cloak lies on the ground here.
&gt;&gt; &gt; -&gt; take off white cloak.
&gt;&gt; &gt;
&gt;&gt; &gt; (If you have a parser that will not blarf all over any of these, I'm
&gt;&gt; &gt; _much_ impressed)
&gt;&gt;
&gt;&gt; Depends on what you mean by "blarf".  My own parser would have done the
&gt;&gt; intended thing for all but "take off running away from the orcs."

&gt; Intended by whom???  Certainly not the user:

&gt; [take off] [white cloak]
&gt; [take] [off white cloak]

Ah... I see.  I hadn't noticed in the example that the first cloak the
character put on was white.  Sorry.

Obviously, no parser can read the user's mind, so "take off white
cloak" is impossible to be certain of when there is an "off white
cloak" in the room and the user is wearing a "white cloak".

My parser did, however, support the use of parentheses to make
commands more clear -- thus, you could do:

  take (off white cloak)
or
  take off (white cloak)

Pedantically, though, one could lay the blame on the builder:
according to Webster's it's "off-white", not "off white".  :-)

&gt; Basically you would need to either reserve the keyword "off", require single
&gt; word commands, make an arbitrary choice or be "context sensitive" (take
&gt; prior actions into consideration):

There are two more choices:

 - Ask the user which is intended:

    Do you want to:  1.  take the off white cloak
       or            2.  take off the white cloak
    &gt;

 - Or report an error and let the user try again.

    Input ambiguous.  Cannot tell if you mean "take off the white
    cloak" or "take the off white cloak".  Please try again.
    &gt;

These have the added bonus that they help teach the user how to make
his/her commands less ambiguous, by giving examples of how the
commands could have been entered so that they were not ambiguous.

&gt;&gt;  - There's a long way between trying to improve mud parsers by making use
&gt;&gt;    of NLP ideas and trying to implement full "natural language" input.

&gt; It is still a question if it is an improvement over a well thought out and
&gt; well defined interface.  I am particularly unhappy about dumb first-fit
&gt; searches.

Then don't use them.  You can still make use of such ideas as
recognizing multiple forms of the same command ("give joe the cloak"
and "give the cloak to joe"), allowing lists ("get sword, box, and
cloak"), etc.

My point is that you don't have to use any part of NLP that you don't
want to.  Personally, for example, I don't like using "and" or "then"
to allow multiple commands on one line -- if you want to enter
multiple unrelated commands, I don't see how typing five or six
characters instead of one (" and " or " then " versus a carriage
return) makes anything simpler.

Just because we're discussing something about how to do input doesn't
mean that we're telling other people they have to, or even should, do
their input this way.  Take the ideas that interest you and leave the
ones that don't.  If none of them interest you, then you can ignore
them all.

--
       |\      _,,,---,,_        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>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00416" HREF="msg00416.html">Re: [MUD-Dev] Re[2]: [MUD-Dev] Text Parsing</A></strong>
<ul compact><li><em>From:</em> Caliban Tiresias Darklock &lt;caliban#darklock,com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00408" HREF="msg00408.html">Re: [MUD-Dev] Text Parsing</A></STRONG>
<UL><LI><EM>From:</EM> Ola Fosheim Grøstad &lt;olag#ifi,uio.no&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00410.html">[MUD-Dev] Re[2]: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00412.html">[MUD-Dev] Re[2]: [MUD-Dev] Languages (slightly offtopic, was Text Parsing)</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00408.html">Re: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00416.html">Re: [MUD-Dev] Re[2]: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00411"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00411"><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>
<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>
<LI><strong><A NAME="00429" HREF="msg00429.html">Re: [MUD-Dev] Text Parsing</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Thu 03 Jun 1999, 04:36 GMT
<UL>
<LI><strong><A NAME="00438" HREF="msg00438.html">Re: [MUD-Dev] Text Parsing</A></strong>, 
Greg Miller <a href="mailto:gmiller#classic-games,com">gmiller#classic-games,com</a>, Thu 03 Jun 1999, 05:59 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
<LI><strong><A NAME="00379" HREF="msg00379.html">Re: [MUD-Dev] Text Parsing</A></strong>, 
Cynbe ru Taren <a href="mailto:cynbe#muq,org">cynbe#muq,org</a>, Wed 02 Jun 1999, 07:35 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>

Site Stats

Snippets: 1791
Codebases: 571