Article View: rec.games.programmer
Article #298Re: Program to create fantasy words?
From: Stephan Dahl
Date: Mon, 06 Apr 1992 11:09
Date: Mon, 06 Apr 1992 11:09
29 lines
1971 bytes
1971 bytes
steve@oceania.com (Steve Dakin) writes: >In article <1992Mar27.064240.29696@acsu.buffalo.edu> fly@acsu.buffalo.edu (Paul >D. Fly) writes: >> >> I've been thinking of, and coding a little, a program to generate words >> in a fantasy language. >There was an article I read recently in the Journal of Computer Game Design >where the author took a large set of words and formulated relationships between >each letter and the letters that followed it. Then by picking a random number >and using it as an index into a percentage chart for each letter, a following >letter can be determined. Two other considerations were word length and >testing for expletives. The algorithm worked quite well once the letter >associations were set up. If you get a parser working, you can feed in any >language and essentially 'teach' the system what language you want it to >'speak'. The algorithm was further improved by using longer than single letter >associations, but this begins to get complicated. >If anyone's interested in the article, email me and I'll see if I can dig up >the issue it's in. >Steve Also, try Rick Decker: 'Data Structures' (don't remember year'n'stuff); There's a long chapter devoted to the TRAVESTY program, which takes any text as input and generates nonsense that 'feels' right out of it. Good Read. -- Stephan Dahl -- (marauder@freja.diku.dk) -- Look Ma! One line .sig! --
Technical Details
Message-ID:
<1992Apr6.110939.4337@odin.diku.dk>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!mips!swrinde!gatech!bloom-beacon!eru.mt.luth.se!lunic!sunic!dkuug!diku!marauderReferences:
<1992Mar27.064240.29696@acsu.buffalo.edu> <1992Apr2.231447.8022@oceania.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!mips!swrinde!gatech!bloom-beacon!eru.mt.luth.se!lunic!sunic!dkuug!diku!marauder From: marauder@diku.dk (Stephan Dahl) Newsgroups: rec.games.programmer Subject: Re: Program to create fantasy words? Message-ID: <1992Apr6.110939.4337@odin.diku.dk> Date: 6 Apr 92 11:09:39 GMT References: <1992Mar27.064240.29696@acsu.buffalo.edu> <1992Apr2.231447.8022@oceania.com> Sender: marauder@freja.diku.dk Organization: Department of Computer Science, U of Copenhagen Lines: 29