A Meeting of Minds - An Anne McCaffrey Discussion Forum

A Meeting of Minds - An Anne McCaffrey Discussion Forum (http://forums.srellim.org/index.php)
-   Exhibit Hall (http://forums.srellim.org/forumdisplay.php?f=46)
-   -   Dragon name generator (http://forums.srellim.org/showthread.php?t=9037)

D. M. Domini Jun 19 2015 10:25 PM

Dragon name generator
 
Hi guys! I made something. It's not a story for once.

It's a dragon name generator!

http://www.danni.space/test2/php_random_names.php

That's its temporary home. I'm still tweaking it a bit, trying to get better dragon names from it.

Basically, how it works "behind the scenes" is I have 3 lists of "name parts". Basically, a prefix, a middle part, and a suffix.

The prefix I've taken from various words. I threw in a few that give a chance at throwing out "canon" names...meaning, I wanted to make a system that WOULD sometimes throw out a Ruth or Mnementh or Ramoth. (Although, more frequently you'll get close matches...instead of Ramoth you might get Ramenth or Ramibeth.) There's also a chance for the prefix to be nothing--meaning, you get a shorter name, so things like "Ath" or "Anth" are possibilities.

For the middle, it's usually a vowel or vowel combination, but I've also given it a chance to be nothing. Sometimes you'll get awkward things like "Aphth" but hey, does anyone understand how Mnementh got the spelling for HIS name? I mean, can dragons write? So why "Mnem" instead of "Nem"? ;)

Anyway, in my generator, the suffix always ends in "th" or some variation--"th" and "nth" are the most common, but I threw in some things like "beth" or whatever in it. This one can't be skipped, otherwise you'd get a non-dragon name!

This is a really bare-bones script. I'm basically teaching myself how to program, and wanted to generate names. It might change/move places/stop working/have the names generated change drastically as I refine my lists of words, but hopefully a few of you will get some enjoyment out of it before then.

D. M. Domini Jun 19 2015 10:29 PM

Re: Dragon name generator
 
And, wow...

My own script is being mean to me by throwing out this (non) beauty:

Behold, the brown dragon:

Browishith

::facepalm::

My next stop might be to figure out how to ban certain names from appearing.

Daccio Jun 19 2015 11:02 PM

Re: Dragon name generator
 
A friend of mine made something similar to help us create words for alien languages. We had to input sample words which the program would chop up, put back together and spit back out as a list. Many of those words were unpronounceable and we would just skip them. Overall it worked pretty well.

D. M. Domini Jun 29 2015 06:18 PM

Re: Dragon name generator
 
To me, it would be a bit messy if I had to "fix" too many of the names. So I've been massaging the list so mostly good ones come out.

I did some updates today. :D

Edit: For example, it generated the queen dragon Menoupeth.

D. M. Domini Jul 7 2015 10:05 PM

Re: Dragon name generator
 
I've done another iteration, here:

http://www.danni.space/test2/randomnames.php


All times are GMT -4. The time now is 06:44 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

A Meeting of Minds forum owned by Cheryl B. Miller.
All references to worlds and characters based on Anne McCaffrey’s fiction are copyright © Anne McCaffrey 1967-2008, all rights reserved, and used by permission of the author.