<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD-Dev] Text Parsing -->
<!--X-From-R13: [vx Qynexr <zvxpyexNvoz.arg> -->
<!--X-Date: Sat, 29 May 1999 14:14:40 -0700 -->
<!--X-Message-Id: 375041CC.4EA71CB4#ibm,net -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199905281836.LAA11685#penguin,prod.itd.earthlink.net -->
<!--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:mikclrk#ibm,net">
</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>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
Date:
[ <a href="msg00347.html">Previous</a>
| <a href="msg00349.html">Next</a>
]
Thread:
[ <a href="msg00342.html">Previous</a>
| <a href="msg00357.html">Next</a>
]
Index:
[ <A HREF="author.html#00348">Author</A>
| <A HREF="#00348">Date</A>
| <A HREF="thread.html#00348">Thread</A>
]
<!--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>: Mik Clarke <<A HREF="mailto:mikclrk#ibm,net">mikclrk#ibm,net</A>></LI>
<LI><em>Date</em>: Sat, 29 May 1999 20:36:44 +0000</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>
Albert wrote:
> Delurking :)
> ParsedCommand that looks like this:
>
> class ParsedCommand { public:
> string verb;
> string direct_object; // Noun being manipulated
> string indirect_object; // Noun that receives the action
> string direct_object_adj; // Adjectives describing direct object
> string indirect_object_adj; // Adjectives describing the indirect object
> bool IsNewClause;
> }
>
> Then say the player enter a command like: buy the biggest ball from the 3rd shopkeeper
Hmmm. At first glance you are missing a count paramter, which promptly
leeds to the need to recognize bth singular and plurar nouns:
> buy two knives from the shady dealer
Note the possible reverses though:
> give the shady dealer both knives
> give the shadow dealer two knives
> give two knives to the shady dealer
In the events I use for CthulhuMud I have the following for an event:
Actor - the person who is doing
Victim - the victim who is being done to
Observer - the one who is watching the action (I, may also be actor and/or victim)
primary object
secondary object
text (for say and the like)
count
Agruably this is to restrictive, as I should be able to attach counts to almost all of the fields -
the 300 green samurai attack the 75 black ninjas with thier razor sharp swords.
Mik
_______________________________________________
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="00336" HREF="msg00336.html">[MUD-Dev] Text Parsing</A></STRONG>
<UL><LI><EM>From:</EM> Albert <thecheezeman#earthlink,net></LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00347.html">Re: [MUD-Dev] [TECHNICAL] How to generate pre-processor output (template problem).</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00349.html">[MUD-Dev] Re: Re: [MUD-Dev] [TECHNICAL] How to generate pre-processor output (template problem).</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00342.html">Re: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00357.html">Re: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00348"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00348"><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] Re: Re: [MUD-Dev] Text Parsing</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00370" HREF="msg00370.html">Re: [MUD-Dev] Re: Re: [MUD-Dev] Text Parsing</A></strong>,
Mik Clarke <a href="mailto:mikclrk#ibm,net">mikclrk#ibm,net</a>, Tue 01 Jun 1999, 05:48 GMT
</LI>
</ul>
</ul>
</LI>
<LI><strong><A NAME="00336" HREF="msg00336.html">[MUD-Dev] Text Parsing</A></strong>,
Albert <a href="mailto:thecheezeman#earthlink,net">thecheezeman#earthlink,net</a>, Fri 28 May 1999, 18:51 GMT
<UL>
<LI><strong><A NAME="00340" HREF="msg00340.html">Re: [MUD-Dev] Text Parsing</A></strong>,
Kylotan <a href="mailto:kylotan#kylotan,force9.co.uk">kylotan#kylotan,force9.co.uk</a>, Fri 28 May 1999, 21:08 GMT
</LI>
<LI><strong><A NAME="00342" HREF="msg00342.html">Re: [MUD-Dev] Text Parsing</A></strong>,
Greg Miller <a href="mailto:gmiller#classic-games,com">gmiller#classic-games,com</a>, Sat 29 May 1999, 00:51 GMT
</LI>
<LI><strong><A NAME="00348" HREF="msg00348.html">Re: [MUD-Dev] Text Parsing</A></strong>,
Mik Clarke <a href="mailto:mikclrk#ibm,net">mikclrk#ibm,net</a>, Sat 29 May 1999, 21:14 GMT
</LI>
<LI><strong><A NAME="00357" HREF="msg00357.html">Re: [MUD-Dev] Text Parsing</A></strong>,
Travis Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Mon 31 May 1999, 03:34 GMT
</LI>
</UL>
<UL>
<li><Possible follow-up(s)><br>
<LI><strong><A NAME="00343" HREF="msg00343.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>, Sat 29 May 1999, 01:10 GMT
</LI>
<LI><strong><A NAME="00358" HREF="msg00358.html">Re: [MUD-Dev] Text Parsing</A></strong>,
Cynbe ru Taren <a href="mailto:cynbe#muq,org">cynbe#muq,org</a>, Mon 31 May 1999, 04:01 GMT
</LI>
<LI><strong><A NAME="00359" HREF="msg00359.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>, Mon 31 May 1999, 13:50 GMT
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>
</ul>
<hr>
<center>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
</center>
<hr>
</body>
</html>