1999Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Re[2]: [MUD&#45;Dev] Languages (slightly offtopic,  wasText Parsing) -->
<!--X-From-R13: "Fenivf E. Qnfrl" <rsvaqryNvb.pbz> -->
<!--X-Date: Thu, 3 Jun 1999 06:43:46 &#45;0700 -->
<!--X-Message-Id: Pine.LNX.4.04.9906030811020.30227&#45;100000#fnord,io.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199906030214.TAA01099#proxy3,ba.best.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Re[2]: [MUD-Dev] Languages (slightly offtopic,  </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="msg00448.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00450.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00418.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00397.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00449">Author</A>
&nbsp;|&nbsp;<A HREF="#00449">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00449">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Re[2]: [MUD-Dev] Languages (slightly offtopic,  wasText 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] Re[2]: [MUD-Dev] Languages (slightly offtopic,  wasText Parsing)</LI>
<LI><em>From</em>: "Travis S. Casey" &lt;<A HREF="mailto:efindel#io,com">efindel#io,com</A>&gt;</LI>
<LI><em>Date</em>: Thu, 3 Jun 1999 08:43:21 -0500 (CDT)</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 Wed, 2 Jun 1999, Matthew Mihaly wrote:
&gt; At 08:42 PM 6/2/99 -0400, Travis wrote:

&gt; &gt;That is the difference between *prescriptive* and *descriptive*
&gt; &gt;grammar.  A prescriptive grammar, which is the kind of grammar you're
&gt; &gt;exposed to in grade school, is some group's idea of the way the
&gt; &gt;language *should* be spoken.  A *descriptive* grammar, which is what
&gt; &gt;linguists work with, is a description of the way the language *is*
&gt; &gt;spoken.
&gt; 
&gt; Descriptive grammar seems, to my uneducated self, to be impossible to
&gt; define precisely and thus absolutely useless in terms of a mud parser. If
&gt; grammar is the way language is spoken, then any set of words that is meant
&gt; to express an idea can be considered English. If descriptive grammar is
&gt; what is spoken, then by speaking it, it becomes proper grammar. I realize
&gt; this is a bit silly, but how many people does it take to become correct
&gt; grammar?

That's an open question.  However, it's the same sort of question that's
faced in lots of other situations in the real world.  For example, what's
a species?  Are wolves and dogs the same species, since they can
interbreed?  How do you define species for animals that you can't observe
the breeding of -- e.g., dinosaurs?

Let's say you were researching TV shows.  How do you go about deciding
what defines a comedy versus a drama?  One way would be to find "experts"
and ask them.  Another would be to take a randomly selected group of
people, show them the shows, and ask them whether each show is a comedy or
drama.  Take the shows that they show the most agreement on, and then
start analyzing those to determine what's different about them and what
they have in common.

The same thing applies to languages.  Let's say that you find a previously
undiscovered tribe in the Amazon rain forest, and you want to produce a
grammar and vocabulary for their language, so that other people can learn
it before coming to deal with them.  

There aren't any authorities you can consult about their language -- they
don't have formal schooling, and they don't have a written language, so no
one's ever tried to codify their language before.  What do you do?  (We're
assuming that you can speak with them -- either you've stayed there a
while and started to learn their language, or you've found an 
interpreter.)

The logical thing to do is the same sort of thing that we described above
for TV shows:  take samples of their language, e.g., by recording them in
casual conversation, and then take a group of them, play back those
samples for them, and ask if they're properly-formed.  If they're not, ask
what's wrong with them.

(People can tell if a sentence is "properly formed" without having a
formal grammar.  For example, any native English speaker will tell you
that something's wrong with the "sentence" "Go Joe market did to."  Or,
they can tell you that "I mean -- that is -- I'm trying to say -- oh, the
heck with it" isn't a proper sentence.)

It'll take time, but you will be able to figure out their language.  What
you get out of it will be a descriptive grammar -- you're describing how
their language *is*, rather than how someone says it *should be*.

Now, do the same thing with speakers of English.  Since English is spoken
over a far wider area, you'll find a lot more variation -- but you will
find some things that are common in all variations of English, like the
basic SVO order for statements.  

&gt; I don't have a great understanding of programming, but it seems to me that
&gt; the only way to code a parser is to make it use an objectively defined set
&gt; of rules. Whether those rules come from Oxford or your imagination, you are
&gt; still defining your in-game grammar just as rigidly. I don't mean this in a
&gt; deragatory way. I just don't see any other way to do it.

I don't either.  However, you can objectively define a set of rules in a
pragmatic way -- that is, find a set of rules that fits what's actually
being said.  That set of rules is a descriptive grammar.

&gt; It also occurs to me that the examples you provided were all
&gt; speech-oriented. Speech and text are two different things, and if I picked
&gt; up a history book that was written the way people speak, I'd throw it into
&gt; the garbage. I might not laugh at someone who said something to me like
&gt; "That dog ain't got no fleas", but I certainly wouldn't take that person
&gt; seriously. Likewise, I try to make the output in my game use proper grammar
&gt; (to me, that means Oxford grammar). As far as input goes, I'm happy forcing
&gt; them into a rigid structure. I guess while a parser that can accomodate
&gt; constantly changing dialects would be interesting, I don't see the point in
&gt; terms of MUD development. 

*Sigh*.  I never said anything about it being useful for mud
development... I was just pointing out that Caliban's statement that
people can't speak their own languages "correctly" was BS.

The English grammars used in schools are meant to teach people to use a
certain form of English that people have decided is "better" than other
forms.  It has as much to do with what English really is as the standards
for judging dogs at dog shows have to do with what a dog is.

At any rate, this is getting far off-topic.  Suffice it to say that I
agree with you that a mud parser needs to be based on an objective set of
rules.  I also agree that, if you're trying to use English-like input,
it's best to use Standard English as your model -- even if it's not
everyone's native dialect, anyone who's logging into a mud has probably
been exposed to it.

--
       |\      _,,,---,,_        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="00418" HREF="msg00418.html">Re: [MUD-Dev] Re[2]: [MUD-Dev] Languages (slightly offtopic, was Text Parsing)</A></STRONG>
<UL><LI><EM>From:</EM> Matthew Mihaly &lt;sarapis#achaea,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00448.html">Re: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00450.html">RE: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00418.html">Re: [MUD-Dev] Re[2]: [MUD-Dev] Languages (slightly offtopic, was Text Parsing)</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00397.html">Re: [MUD-Dev] Languages (slightly offtopic, was Text Parsing)</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00449"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00449"><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] Languages (slightly offtopic, was Text Parsing)</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00386" HREF="msg00386.html">Re: [MUD-Dev] Languages (slightly offtopic, was Text Parsing)</A></strong>, 
Travis S. Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Wed 02 Jun 1999, 14:07 GMT
<UL>
<LI><strong><A NAME="00395" HREF="msg00395.html">Re: [MUD-Dev] Languages (slightly offtopic, was Text Parsing)</A></strong>, 
Matthew Mihaly <a href="mailto:diablo#best,com">diablo#best,com</a>, Wed 02 Jun 1999, 22:23 GMT
<UL>
<LI><strong><A NAME="00409" HREF="msg00409.html">[MUD-Dev] Re[2]: [MUD-Dev] Languages (slightly offtopic, was Text Parsing)</A></strong>, 
Travis Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Thu 03 Jun 1999, 00:37 GMT
<UL>
<LI><strong><A NAME="00418" HREF="msg00418.html">Re: [MUD-Dev] Re[2]: [MUD-Dev] Languages (slightly offtopic, was Text Parsing)</A></strong>, 
Matthew Mihaly <a href="mailto:sarapis#achaea,com">sarapis#achaea,com</a>, Thu 03 Jun 1999, 02:19 GMT
<UL>
<LI><strong><A NAME="00449" HREF="msg00449.html">Re: [MUD-Dev] Re[2]: [MUD-Dev] Languages (slightly offtopic,  wasText Parsing)</A></strong>, 
Travis S. Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Thu 03 Jun 1999, 13:43 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00397" HREF="msg00397.html">Re: [MUD-Dev] Languages (slightly offtopic, was Text Parsing)</A></strong>, 
Jp Calderone <a href="mailto:exarkun#flashmail,com">exarkun#flashmail,com</a>, Wed 02 Jun 1999, 23:23 GMT
<UL>
<LI><strong><A NAME="00412" HREF="msg00412.html">[MUD-Dev] Re[2]: [MUD-Dev] Languages (slightly offtopic, was Text Parsing)</A></strong>, 
Travis Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Thu 03 Jun 1999, 01:30 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00403" HREF="msg00403.html">Re: [MUD-Dev] Languages (slightly offtopic, was 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>
</ul>
</ul>
<LI><strong><A NAME="00389" HREF="msg00389.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:31 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>