1998Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Natural Language Parsing (Was: Re: darkness/visibility) -->
<!--X-From-R13: f001tzhNabin.jevtug.rqh -->
<!--X-Date: Thu, 18 Jun 1998 11:57:54 &#45;0700 -->
<!--X-Message-Id: Pine.PMDF.3.95.980618140410.541127536A&#45;100000#nova,wright.edu -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199806150151.SAA07077#cashew,snugharbor.com.snugharbor.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Natural Language Parsing (Was: Re: darkness/visibili</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:s001gmu#nova,wright.edu">
</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="msg01125.html">Previous</a>
&nbsp;|&nbsp;<a href="msg01127.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg01051.html">Previous</a>
&nbsp;|&nbsp;<a href="msg01128.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#01126">Author</A>
&nbsp;|&nbsp;<A HREF="#01126">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#01126">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Natural Language Parsing (Was: Re: darkness/visibility)</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>: [MUD-Dev] Natural Language Parsing (Was: Re: darkness/visibility)</LI>
<LI><em>From</em>: <A HREF="mailto:s001gmu#nova,wright.edu">s001gmu#nova,wright.edu</A></LI>
<LI><em>Date</em>: Thu, 18 Jun 1998 14:53:57 -0400 (EDT)</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#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 Sun, 14 Jun 1998, T. Alexander Popiel wrote:

&gt; In message:  &lt;<A HREF="msg01025.html">3584199E.29AF#dial,pipex.com</A>&gt;
&gt;              Richard Woolcock &lt;KaVir#nospam,dial.pipex.com&gt; writes:
&gt; &gt;   ]get the bread from my backpack
&gt; &gt;   You get a loaf of bread from your leather backpack.
&gt; &gt;   ]eat it
&gt; &gt;   You attempt to stuff the leather backpack into your mouth.
&gt; 
&gt; I would expect the direct object to take precedence over the
&gt; prepositional indirect object.  Of course, the only real solution
&gt; is to maintain list of possible antecedents (prioritized via some
&gt; method (hopefully with actual use increasing priority)), and then
&gt; see which of the possible antecedents actually fit the circumstances.
&gt; This need not take up huge amounts of memory, since humans have
&gt; severe limits on list size (generally no more than 7, though beware
&gt; inobvious aggregates acting as a single entry), and there's not
&gt; much point in outperforming humans here.

exactly.  the 'it' should refernce the loaf of bread you just 'got'.  The
action verb takes prevedence over the 'prepositional indirect object'.
(oy... gotta get a book on english grammer one of these days...)
 
&gt; &gt;   [remove my backpack and get my sword and cheese from it, then eat it and
&gt; &gt;    sheath it
&gt; &gt;
&gt; &gt;Which is...well...just silly.  Perhaps I should leave it as it is - its just 
&gt; &gt;that I feel I could take it further.
&gt; 
&gt; Yeah, it's kind of silly, but what's the harm in that, as long
&gt; as nobody gets confused?

I read it as:

  remove my backpack and get my sword and cheese from it (the backpack),
    then eat it (the backpack) and sheath it (the backpack).

Without respecifying, the 'it' still referes to the same thing.
To accomplish anything like what I think you want, it should look like:

  remove my backpack and get my sword and cheese from it, then eat the
    cheese and sheath the sword.

I really don't think you can replace the nouns with 'it'.

There are more subtle situations, like the 'it' in "To accomplish anything
like what I think you want, it should look like" which refers to 'the
command', which comes from the genral context of the conversation.

You could take the approach of breaking things down by context...

Global context ("How's it going?")
Conversation context ("... it should look like")
Sentance context ("remove backpack and get my sword and cheese from it")

Sentance context might be more appropriately called Clause context...

"Remove my backpack and get the sword from it, then clean the sword and
sheath it"

Has two distinct clauses, with two distinct it's.  My grammar being as bad
as it is, I can't say if that is grammatically correct, but it appreas so
to me...

I am straying pretty far from anything I've really studied, so anyone with
more expertise than I please feel free to correct any glaring stupidities
in my (admittedly ad-hoc) approach.

-Greg



</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="01128" HREF="msg01128.html">[MUD-Dev] Re: Natural Language Parsing (Was: Re: darkness/visibility)</A></strong>
<ul compact><li><em>From:</em> "Adam J. Thornton" &lt;adam#phoenix,Princeton.EDU&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="01042" HREF="msg01042.html">[MUD-Dev] Re: darkness/visibility</A></STRONG>
<UL><LI><EM>From:</EM> "T. Alexander Popiel" &lt;popiel#snugharbor,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg01125.html">[MUD-Dev] Re: Mud websites</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg01127.html">[MUD-Dev] Re: Prescience Rules? [Previously submitted under wrong thread :(  ]</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg01051.html">[MUD-Dev] User Input Parser, was Re: darkness/visibility</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg01128.html">[MUD-Dev] Re: Natural Language Parsing (Was: Re: darkness/visibility)</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#01126"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#01126"><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>[MUD-Dev] Re: darkness/visibility</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="01016" HREF="msg01016.html">[MUD-Dev] Re: darkness/visibility</A></strong>, 
oliver <a href="mailto:oliver#jowett,manawatu.planet.co.nz">oliver#jowett,manawatu.planet.co.nz</a>, Sat 13 Jun 1998, 05:02 GMT
</LI>
<LI><strong><A NAME="01025" HREF="msg01025.html">[MUD-Dev] Re: darkness/visibility</A></strong>, 
Richard Woolcock <a href="mailto:KaVir#nospam,dial.pipex.com">KaVir#nospam,dial.pipex.com</a>, Sun 14 Jun 1998, 10:41 GMT
<UL>
<LI><strong><A NAME="01042" HREF="msg01042.html">[MUD-Dev] Re: darkness/visibility</A></strong>, 
T. Alexander Popiel <a href="mailto:popiel#snugharbor,com">popiel#snugharbor,com</a>, Mon 15 Jun 1998, 01:55 GMT
<UL>
<LI><strong><A NAME="01051" HREF="msg01051.html">[MUD-Dev] User Input Parser, was Re: darkness/visibility</A></strong>, 
Richard Woolcock <a href="mailto:KaVir#dial,pipex.com">KaVir#dial,pipex.com</a>, Mon 15 Jun 1998, 19:32 GMT
</LI>
<LI><strong><A NAME="01126" HREF="msg01126.html">[MUD-Dev] Natural Language Parsing (Was: Re: darkness/visibility)</A></strong>, 
s001gmu <a href="mailto:s001gmu#nova,wright.edu">s001gmu#nova,wright.edu</a>, Thu 18 Jun 1998, 18:57 GMT
<UL>
<LI><strong><A NAME="01128" HREF="msg01128.html">[MUD-Dev] Re: Natural Language Parsing (Was: Re: darkness/visibility)</A></strong>, 
Adam J. Thornton <a href="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</a>, Thu 18 Jun 1998, 20:57 GMT
<UL>
<LI><strong><A NAME="01129" HREF="msg01129.html">[MUD-Dev] OT: Ack!</A></strong>, 
Adam Wiggins <a href="mailto:adam#angel,com">adam#angel,com</a>, Thu 18 Jun 1998, 21:31 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
<LI><strong><A NAME="01160" HREF="msg01160.html">[MUD-Dev] Re: darkness/visibility</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Mon 22 Jun 1998, 22:14 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00945" HREF="msg00945.html">[MUD-Dev] Telepathy Rules</A></strong>, 
Lawrence W. Homer <a href="mailto:afn40452#afn,org">afn40452#afn,org</a>, Wed 10 Jun 1998, 21:38 GMT
</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>