<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] Re: Prescience Rules? --> <!--X-From-R13: Dvpuneq Ibbypbpx <YnHveNqvny.cvcrk.pbz> --> <!--X-Date: Fri, 19 Jun 1998 09:16:34 -0700 --> <!--X-Message-Id: 358AFF4A.4A29#dial,pipex.com --> <!--X-Content-Type: text/plain --> <!--X-Reference: Pine.GSO.3.96L.980618152243.3126A-100000#mozzarella,cs.wisc.edu --> <!--X-Reference: 358A2289.51B9#dial,pipex.com --> <!--X-Reference: 3589E3C4.A80D5C63#freehold,crocodile.org --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, [MUD-Dev] Re: Prescience Rules?</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:KaVir#dial,pipex.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> [ <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="msg01138.html">Previous</a> | <a href="msg01140.html">Next</a> ] Thread: [ <a href="msg01136.html">Previous</a> | <a href="msg01143.html">Next</a> ] Index: [ <A HREF="author.html#01139">Author</A> | <A HREF="#01139">Date</A> | <A HREF="thread.html#01139">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>[MUD-Dev] Re: Prescience Rules?</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] Re: Prescience Rules?</LI> <LI><em>From</em>: Richard Woolcock <<A HREF="mailto:KaVir#dial,pipex.com">KaVir#dial,pipex.com</A>></LI> <LI><em>Date</em>: Fri, 19 Jun 1998 17:16:10 -0700</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> Vadim Tkachenko wrote: > > Richard Woolcock wrote: [big snip] > > I would like to (when I have the time) replace the announce command with > > a parser to check through spoken strings and determine what the players is > > actually saying, creating a 'TRUE/FALSE' lie detection accordingly. > > Side note: make it external and pluggable, it may consume all the > processor power :-) I'm not sure...I guess I'll have to see ;) Here is how I was planning to code it... while not at end of string loop if the current character is a space then interpret the word start a new word continue end if if the current character is non-alphabetic then continue end if if the current letter is a vowel and not the first letter of the word then continue end if if the current letter is the same as the previous letter then continue end if if not the first letter of the word then word <<= 5 bits end if word &= character in lowercase - 'a' + 1 if the word is holding 6 values then interpret the word start a new word end if end loop (roughly speaking)...then I'll have the "interpret_word" function which does a switch case and stores some sort of result accordingly...for example suppose you had the string "I have never committed diablerie" from my previous example...the above function would send the following words one after the other: I = i = 9 have = hv = (8<<5)+(22) = 278 (I think) never = nvr = (14<<10)+(22<<5)+(18) = something committed = cmtd = ... diablerie = dblr = ... Doing a switch case on the first word (9), the mud determines that the talker is referring to themself. The second word (278) determines that the talker is referring to either something the own, or something they have done. The third word would inform the mud that the talker was inversing their claim. The fourth word would inform the mud that the talker had performed a certain action. The fifth word would inform the mud that the talker was referring to the act of diablerie. From this (and this is the bit I don't yet know how to do) the mud could determine that: Bubba claims that the act of diablerie was not performed by himself. This system wouldn't be perfect, but I could probably get it 'fairly' accurate, and I don't think it would be too much of a drain on the processor. KaVir. </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="01143" HREF="msg01143.html">[MUD-Dev] Re: Prescience Rules?</A></strong> <ul compact><li><em>From:</em> Nathan F Yospe <yospe#hawaii,edu></li></ul> </UL></LI></UL> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="01127" HREF="msg01127.html">[MUD-Dev] Re: Prescience Rules? [Previously submitted under wrong thread :( ]</A></STRONG> <UL><LI><EM>From:</EM> Dan Shiovitz <dbs#cs,wisc.edu></LI></UL></LI> <LI><STRONG><A NAME="01132" HREF="msg01132.html">[MUD-Dev] Re: Prescience Rules?</A></STRONG> <UL><LI><EM>From:</EM> Richard Woolcock <KaVir#dial,pipex.com></LI></UL></LI> <LI><STRONG><A NAME="01136" HREF="msg01136.html">[MUD-Dev] Re: Prescience Rules?</A></STRONG> <UL><LI><EM>From:</EM> Vadim Tkachenko <vt#freehold,crocodile.org></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg01138.html">[MUD-Dev] Re: Analysis and specification - the dirty words o</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg01140.html">[MUD-Dev] Re: Nested Coordinate spaces.</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg01136.html">[MUD-Dev] Re: Prescience Rules?</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg01143.html">[MUD-Dev] Re: Prescience Rules?</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#01139"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#01139"><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: Prescience Rules? [Previously submitted under wrong thread :( ]</STRONG>, <EM>(continued)</EM> <ul compact> <ul compact> <ul compact> <LI><strong><A NAME="01127" HREF="msg01127.html">[MUD-Dev] Re: Prescience Rules? [Previously submitted under wrong thread :( ]</A></strong>, Dan Shiovitz <a href="mailto:dbs#cs,wisc.edu">dbs#cs,wisc.edu</a>, Thu 18 Jun 1998, 20:39 GMT <UL> <LI><strong><A NAME="01131" HREF="msg01131.html">[MUD-Dev] Re: Prescience Rules? [Previously submitted under wrong thread :( ]</A></strong>, Adam Wiggins <a href="mailto:adam#angel,com">adam#angel,com</a>, Thu 18 Jun 1998, 23:31 GMT </LI> <LI><strong><A NAME="01132" HREF="msg01132.html">[MUD-Dev] Re: Prescience Rules?</A></strong>, Richard Woolcock <a href="mailto:KaVir#dial,pipex.com">KaVir#dial,pipex.com</a>, Fri 19 Jun 1998, 00:33 GMT <UL> <LI><strong><A NAME="01136" HREF="msg01136.html">[MUD-Dev] Re: Prescience Rules?</A></strong>, Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Fri 19 Jun 1998, 04:10 GMT <UL> <LI><strong><A NAME="01139" HREF="msg01139.html">[MUD-Dev] Re: Prescience Rules?</A></strong>, Richard Woolcock <a href="mailto:KaVir#dial,pipex.com">KaVir#dial,pipex.com</a>, Fri 19 Jun 1998, 16:16 GMT <UL> <LI><strong><A NAME="01143" HREF="msg01143.html">[MUD-Dev] Re: Prescience Rules?</A></strong>, Nathan F Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Fri 19 Jun 1998, 18:45 GMT </LI> </UL> </LI> </UL> </LI> </UL> </LI> </UL> </LI> </ul> <LI><strong><A NAME="01122" HREF="msg01122.html">[MUD-Dev] Re: Prescience Rules?</A></strong>, Joel Kelso <a href="mailto:joel#ee,uwa.edu.au">joel#ee,uwa.edu.au</a>, Thu 18 Jun 1998, 01:42 GMT </LI> </ul> </ul> </LI> <LI><strong><A NAME="01109" HREF="msg01109.html">[MUD-Dev] ADMIN: OS Wars</A></strong>, J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Wed 17 Jun 1998, 15:44 GMT <LI><strong><A NAME="01101" HREF="msg01101.html">[MUD-Dev] Re: [Fwd: Warfare on retromud.org 3000]</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Wed 17 Jun 1998, 04:54 GMT </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>