Re: Another word generator I've made
From: | Yahya Abdal-Aziz <yahya@...> |
Date: | Saturday, July 29, 2006, 6:56 |
Hi Sam,
On Fri, 28 Jul 2006 Sam Drost wrote:
I've downloaded and played with it a bit. It's fun!
> I did not make it as an applet (I personally hate those) that runs in your
> browser, it is a downloadable application. In case you are unfamiliar
with
> how Java applications work, the .jar file is the executable.
I created a batch file to run it straight from a shortcut
in my Languages folder on the desktop.
> I've also included a saved file so one can immediately see what
> it does and a text file briefly explaining how to use it.
That explanation would probably be fine for those who
didn't need it! ;-)
I've created a simple Wordgen rules file, which I've called
"faizirauzutoktanusi.wg" after one of its output words.
After some experimentation, these are its rules:
BASE:
<INIT><VOWEL><FIN>
<INIT><DIP1><INTER><BASE>
DIP1:
a
e
o
FIN:
k
kta
ktanu
ktanusi
INIT:
m
s
f
w
l
r
y
c
t
INTER:
izi
uzu
VOWEL:
a
e
i
o
u
Sample Output (1):
yektanu
rek
rekta
cauzumouzutaktanusi
muktanu
wektanu
rouzuteuzureuzumeiziyoktanusi
wektanu
maiziweuzumoiziwouzutak
luk
Sample Output (2):
reuzufiktanu
waktanu
rakta
taizilauzucektanusi
liktanusi
leiziyouzuyaizifaktanu
cuktanusi
tauzusauzuwok
youzuyaizimeuzumekta
cektanu
An earlier version that included a form <BASE><BASE>
in the rule <BASE> quickly produced some quite enormous
words!
Now, please tell me, are there any other ways of combining
letters or letter classes than by simply stringing them
together? For example, is there a way of controlling the
probabilities of the occurence of a particular vowel out of
the set of all vowels? It did occur to me to fudge this by
listing some vowels repeatedly; however, a neater approach
would be:
12 a
20 e
12 i
7 o
20 u
to have the vowel a occur 12/71 of the time, e 20/71 of
the time, etc, wit hthe sum being calculated automatically
i.e. without needing to specify the relative occurrences as,
say, percentages.
Regards,
Yahya
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 27/7/06
Reply