1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Name/language generation -->
<!--X-From-R13: Penaqba Uvyyrfcvr <oenaqbaNebthrgenqre.pbz> -->
<!--X-Date: from scipio.globecomm.net [207.51.48.12] by in1.ibm.net id 866741425.32762&#45;1 Thu Jun 19 17:30:25 1997 CUT -->
<!--X-Message-Id: Pine.BSF.3.96.970619112213.2265D&#45;100000#roguetrader,com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.LNX.3.91.970618143347.4361F&#45;100000@hydra -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev]  Name/language generation</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:brandon#roguetrader,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="msg01359.html">Previous</a>
&nbsp;|&nbsp;<a href="msg01361.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg01357.html">Previous</a>
&nbsp;|&nbsp;<a href="msg01379.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#01360">Author</A>
&nbsp;|&nbsp;<A HREF="#01360">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#01360">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]  Name/language generation</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev]  Name/language generation</LI>
<LI><em>From</em>: Brandon Gillespie &lt;<A HREF="mailto:brandon#roguetrader,com">brandon#roguetrader,com</A>&gt;</LI>
<LI><em>Date</em>: Thu, 19 Jun 1997 11:30:25 -0600 (MDT)</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, 18 Jun 1997, Oliver Jowett wrote:
&gt; I have a sneaking suspicion that I've seen discussion on this before, but 
&gt; FWIW..
&gt; 
&gt; I'm slowly setting up a system where some NPCs (not the major ones, and
&gt; not the minor - ie. animal-level - ones) are generated with unique names,
&gt; physical characteristics, and personalities. As part of this I need some
&gt; way to generate random names or words in a specific language. 

In the ColdCore I distribute a simple but powerful name generator based on
a similar one written by Ross Smith.  The documentation on it follows.  I
can also provide code, or  you can view it at:

      <A  HREF="http://www.cold.org/bin/display?target=word">http://www.cold.org/bin/display?target=word</A>

The documentation:

------------------------------------------
  This random word generator uses syllables and word patterns, and is
  inspired by a similar generator written by Ross Smith (Infact, the
  Lovecraftian dictionary came from his generator). 

  The generator uses different patterns to generate the word, where each
  pattern has a chance of being chosen. First is the number of syllables
  in a word. Once the syllables are chosen a syllable pattern is selected
  for each syllable. From the syllable pattern vowel or consanant
  patterns are chosen. It is possible to use two dictionaries for
  consanants, so as to have 'first' and 'last' consanant patterns. The
  syllable pattern must be composed of either V (vowel), C (consanant), or
  LC (last consanant) tokens seperated by dashes, such as:

        C-V-LC

  Which would imply the syllable pattern of a Consanant-Vowel-Last
  Consanant. 

  The various patterns are defined by submitting a configuration to the
  word generator object (spawn $word for your own generator). This can be
  done with the simple evaluation command (which will prompt you for the
  configuration lines):

        ;$my_word.submit_chances(.read())

  You can also list the configuration with:

        ;.tell($my_word.format_chances())
 

  Configuration

  The configuration takes one pattern and chance per line, with an
  optional comment character of "#" which is discarded. The pattern must
  begin with a directive designating the pattern. Directives can be any
  of: 
    
    S      Number of Syllables                                               
    SP     Syllable Patterns                                                 
    C      Consanants                                                        
    LC     Last Consanants                                                   
    V      Vowels                                                            
    
  There is no limit to the amount of patterns submitted. A very simple 
  configuration would be: 
        
        S 2 3
        S 3 1

        SP V 2
        SP V-C 4
        SP C-V 2

        V a 10
        V e 10
        V i 10

        FC th 1
        FC b 4
        FC f 4
        FC qu 1

        LC bh 1
        LC d 4
        LC b 4

------------------------------------------

Currently, we have two generators--a Lovecraftian generator and a Reimann
Generator.  To show the difference here are 25 words generated from each:

Lovecraft: Nlii, Cthaqhlloyeu, Ctheuatii, Uumstra, Eu, Biims,
           Eurthstrayiistiikthii, Uuayqhchoypaayst, Ayrth, Llafstrii,
           Rra, Ktheumleuktheuak, Iiqh, Ab, Iiqh, Iioyqh, Mthayaj,
           Raayqhrra, Euteh, Amsayms, Rriiktheusk, Caams, Mtha, 
           Graymsatgralth, Cthahii

Reimann:   Lahhen, Tolnetel, Nnar, Douou, Bensen, Nne, Noul, A,
           Vrreinesson, Ssagerirlnawlo, Mouh, Erre, Lin, Has, Vanmoncoum,
           Nnecnou, Rrnasan, Louddage, Ninoufr, Hoc, Hob, And, Ger,
           Vebon, Ras

Enjoy..

-Brandon Gillespie


</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="01348" HREF="msg01348.html">Name/language generation</A></STRONG>
<UL><LI><EM>From:</EM> Oliver Jowett &lt;oliver#sa-search,massey.ac.nz&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg01359.html">Re: [MUD-Dev] Alright... IF your gonan do DESIESE...</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg01361.html">Re: [MUD-Dev] Alright... IF your gonan do DESIESE...</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg01357.html">Re: [MUD-Dev]  Name/language generation</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg01379.html">Re: [MUD-Dev]  Name/language generation</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#01360"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#01360"><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]  Name/language generation</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="01352" HREF="msg01352.html">[MUD-Dev]  Name/language generation</A></strong>, 
Jamie Norrish <a href="mailto:jamie#sans,vuw.ac.nz">jamie#sans,vuw.ac.nz</a>, Thu 19 Jun 1997, 14:36 GMT
<UL>
<LI><strong><A NAME="01373" HREF="msg01373.html">Re: [MUD-Dev]  Name/language generation</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Fri 20 Jun 1997, 13:06 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="01353" HREF="msg01353.html">[MUD-Dev]  Name/language generation</A></strong>, 
Brandon Cline <a href="mailto:brandon#merlin,sedona.net">brandon#merlin,sedona.net</a>, Thu 19 Jun 1997, 16:26 GMT
</LI>
<LI><strong><A NAME="01357" HREF="msg01357.html">Re: [MUD-Dev]  Name/language generation</A></strong>, 
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Thu 19 Jun 1997, 20:56 GMT
</LI>
<LI><strong><A NAME="01360" HREF="msg01360.html">Re: [MUD-Dev]  Name/language generation</A></strong>, 
Brandon Gillespie <a href="mailto:brandon#roguetrader,com">brandon#roguetrader,com</a>, Fri 20 Jun 1997, 00:30 GMT
</LI>
<LI><strong><A NAME="01379" HREF="msg01379.html">Re: [MUD-Dev]  Name/language generation</A></strong>, 
Martin Keegan <a href="mailto:martin#cam,sri.com">martin#cam,sri.com</a>, Fri 20 Jun 1997, 14:32 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="01331" HREF="msg01331.html">Persistancy</A></strong>, 
Matt Chatterley <a href="mailto:root#mpc,dyn.ml.org">root#mpc,dyn.ml.org</a>, Tue 17 Jun 1997, 03:53 GMT
<LI><strong><A NAME="01324" HREF="msg01324.html">Testing.</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Mon 16 Jun 1997, 04:58 GMT
<LI><strong><A NAME="01321" HREF="msg01321.html">Room-based vs. coordinate-based</A></strong>, 
S001GMU <a href="mailto:S001GMU#nova,wright.edu">S001GMU#nova,wright.edu</a>, Fri 13 Jun 1997, 21:42 GMT
</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>