Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C (http://www.programmingforums.org/forum60.html)
-   -   Nonsense Name generator program (http://www.programmingforums.org/showthread.php?t=4169)

chillster13 May 29th, 2005 11:47 PM

Nonsense Name generator program
 
Hi Newbie user here.

I have created a Nonsense Name generator program.
The problem is it gives some good names and others
which can not even be pronounced.

Heres how it works:
It picks two random syllables from a txt file and concatenates it
to generate the nonsense word.
Examples:kitaaf lexduo desdoi tissal zaifal iuilal wukyom iumaau oucxou raopuo

However when i pick three syllables the words
becom more "unpronounciable" and arent any fun at all :mad:
Examples:xelvujtol vuhrukaas buooeusuh hilvaycou gurguhood fuocuxaee

My Question: How the hell do i tweak my program
so that i can create words that can
be pronounced? :confused:

Here's the source code:
=========================================================
/*=========================*/
/*The Exotic Name Generator*/
/*=========================*/

/*
The Exotic Name Generator: A simple program for creating nonsense
names which can many a times be funny. NOTE: This program can
work only in the presence of a syllables.txt file in the same
directory where this c file is stored.

Copyright (C) 2005 May,28, A.Chidambaram

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the

Free Software Foundation, Inc.,
59 Temple Place,
Suite 330, Boston,
MA 02111-1307 USA
*/

#include <stdio.h>
#include <stdlib.h>
#include <time.h>

int main()
{
int i,j,k,rnum,words;
i=j=0;
words=0;
FILE *fsrc,*fdest;
char buffer[128]={0,};

//Inputting the number of words to be generated
printf("=*=*=*=*=*=*=*=*=*=*=*=*=\n");
printf("The Exotic Name Generator\n");
printf("=*=*=*=*=*=*=*=*=*=*=*=*=\n\n");
printf("This program's output is created in a file called\n-->names.txt<-- on the same directory\n\n\n");
printf("Enter the number of nonsense words to be generated:");
scanf("%d",&words);

srand((unsigned)time(NULL)); //Seed for the Random Number

fsrc=fopen("Syllables.txt","r");
fdest=fopen("Names.txt","w+");

for(i=1;i<=words;i++)
{
for(j=1;j<=2;j++) //Controls the number of syllables in each word
{
rnum=(((rand())%3510) + 1); //Limiting the random integer within 1 to 3510
fseek(fsrc,0,0);

for(k=0;!feof(fsrc) && (k<rnum);k++)
fgets(buffer,5,fsrc); //buffer stores the random syllable
buffer[strlen(buffer)-1]='\0';
fprintf(fdest,"%s",buffer);
}
fprintf(fdest,"\t");
}
fclose(fdest);
fclose(fsrc);
printf("\n\nNonsense words have been successfully generated.\nPress any key to continue...");
getch();
return 0;
}
=========================================================

And here's the Syllables.txt file:
=========================================================
aaa
aab
aac
aad
aae
aaf
aag
aah
aai
aaj
aak
aal
aam
aan
aao
aap
aaq
aar
aas
aat
aau
aav
aaw
aax
aay
aaz
aea
aeb
aec
aed
aee
aef
aeg
aeh
aei
aej
aek
ael
aem
aen
aeo
aep
aeq
aer
aes
aet
aeu
aev
aew
aex
aey
aez
aia
aib
aic
aid
aie
aif
aig
aih
aii
aij
aik
ail
aim
ain
aio
aip
aiq
air
ais
ait
aiu
aiv
aiw
aix
aiy
aiz
aoa
aob
aoc
aod
aoe
aof
aog
aoh
aoi
aoj
aok
aol
aom
aon
aoo
aop
aoq
aor
aos
aot
aou
aov
aow
aox
aoy
aoz
aua
aub
auc
aud
aue
auf
aug
auh
aui
auj
auk
aul
aum
aun
auo
aup
auq
aur
aus
aut
auu
auv
auw
aux
auy
auz
baa
bab
bac
bad
bae
baf
bag
bah
bai
baj
bak
bal
bam
ban
bao
bap
baq
bar
bas
bat
bau
bav
baw
bax
bay
baz
bea
beb
bec
bed
bee
bef
beg
beh
bei
bej
bek
bel
bem
ben
beo
bep
beq
ber
bes
bet
beu
bev
bew
bex
bey
bez
bia
bib
bic
bid
bie
bif
big
bih
bii
bij
bik
bil
bim
bin
bio
bip
biq
bir
bis
bit
biu
biv
biw
bix
biy
biz
boa
bob
boc
bod
boe
bof
bog
boh
boi
boj
bok
bol
bom
bon
boo
bop
boq
bor
bos
bot
bou
bov
bow
box
boy
boz
bua
bub
buc
bud
bue
buf
bug
buh
bui
buj
buk
bul
bum
bun
buo
bup
buq
bur
bus
but
buu
buv
buw
bux
buy
buz
caa
cab
cac
cad
cae
caf
cag
cah
cai
caj
cak
cal
cam
can
cao
cap
caq
car
cas
cat
cau
cav
caw
cax
cay
caz
cea
ceb
cec
ced
cee
cef
ceg
ceh
cei
cej
cek
cel
cem
cen
ceo
cep
ceq
cer
ces
cet
ceu
cev
cew
cex
cey
cez
cia
cib
cic
cid
cie
cif
cig
cih
cii
cij
cik
cil
cim
cin
cio
cip
ciq
cir
cis
cit
ciu
civ
ciw
cix
ciy
ciz
coa
cob
coc
cod
coe
cof
cog
coh
coi
coj
cok
col
com
con
coo
cop
coq
cor
cos
cot
cou
cov
cow
cox
coy
coz
cua
cub
cuc
cud
cue
cuf
cug
cuh
cui
cuj
cuk
cul
cum
cun
cuo
cup
cuq
cur
cus
cut
cuu
cuv
cuw
cux
cuy
cuz
daa
dab
dac
dad
dae
daf
dag
dah
dai
daj
dak
dal
dam
dan
dao
dap
daq
dar
das
dat
dau
dav
daw
dax
day
daz
dea
deb
dec
ded
dee
def
deg
deh
dei
dej
dek
del
dem
den
deo
dep
deq
der
des
det
deu
dev
dew
dex
dey
dez
dia
dib
dic
did
die
dif
dig
dih
dii
dij
dik
dil
dim
din
dio
dip
diq
dir
dis
dit
diu
div
diw
dix
diy
diz
doa
dob
doc
dod
doe
dof
dog
doh
doi
doj
dok
dol
dom
don
doo
dop
doq
dor
dos
dot
dou
dov
dow
dox
doy
doz
dua
dub
duc
dud
due
duf
dug
duh
dui
duj
duk
dul
dum
dun
duo
dup
duq
dur
dus
dut
duu
duv
duw
dux
duy
duz
eaa
eab
eac
ead
eae
eaf
eag
eah
eai
eaj
eak
eal
eam
ean
eao
eap
eaq
ear
eas
eat
eau
eav
eaw
eax
eay
eaz
eea
eeb
eec
eed
eee
eef
eeg
eeh
eei
eej
eek
eel
eem
een
eeo
eep
eeq
eer
ees
eet
eeu
eev
eew
eex
eey
eez
eia
eib
eic
eid
eie
eif
eig
eih
eii
eij
eik
eil
eim
ein
eio
eip
eiq
eir
eis
eit
eiu
eiv
eiw
eix
eiy
eiz
eoa
eob
eoc
eod
eoe
eof
eog
eoh
eoi
eoj
eok
eol
eom
eon
eoo
eop
eoq
eor
eos
eot
eou
eov
eow
eox
eoy
eoz
eua
eub
euc
eud
eue
euf
eug
euh
eui
euj
euk
eul
eum
eun
euo
eup
euq
eur
eus
eut
euu
euv
euw
eux
euy
euz
faa
fab
fac
fad
fae
faf
fag
fah
fai
faj
fak
fal
fam
fan
fao
fap
faq
far
fas
fat
fau
fav
faw
fax
fay
faz
fea
feb
fec
fed
fee
fef
feg
feh
fei
fej
fek
fel
fem
fen
feo
fep
feq
fer
fes
fet
feu
fev
few
fex
fey
fez
fia
fib
fic
fid
fie
fif
fig
fih
fii
fij
fik
fil
fim
fin
fio
fip
fiq
fir
fis
fit
fiu
fiv
fiw
fix
fiy
fiz
foa
fob
foc
fod
foe
fof
fog
foh
foi
foj
fok
fol
fom
fon
foo
fop
foq
for
fos
fot
fou
fov
fow
fox
foy
foz
fua
fub
fuc
fud
fue
fuf
fug
fuh
fui
fuj
fuk
ful
fum
fun
fuo
fup
fuq
fur
fus
fut
fuu
fuv
fuw
fux
fuy
fuz
gaa
gab
gac
gad
gae
gaf
gag
gah
gai
gaj
gak
gal
gam
gan
gao
gap
gaq
gar
gas
gat
gau
gav
gaw
gax
gay
gaz
gea
geb
gec
ged
gee
gef
geg
geh
gei
gej
gek
gel
gem
gen
geo
gep
geq
ger
ges
get
geu
gev
gew
gex
gey
gez
gia
gib
gic
gid
gie
gif
gig
gih
gii
gij
gik
gil
gim
gin
gio
gip
giq
gir
gis
git
giu
giv
giw
gix
giy
giz
goa
gob
goc
god
goe
gof
gog
goh
goi
goj
gok
gol
gom
gon
goo
gop
goq
gor
gos
got
gou
gov
gow
gox
goy
goz
gua
gub
guc
gud
gue
guf
gug
guh
gui
guj
guk
gul
gum
gun
guo
gup
guq
gur
gus
gut
guu
guv
guw
gux
guy
guz
haa
hab
hac
had
hae
haf
hag
hah
hai
haj
hak
hal
ham
han
hao
hap
haq
har
has
hat
hau
hav
haw
hax
hay
haz
hea
heb
hec
hed
hee
hef
heg
heh
hei
hej
hek
hel
hem
hen
heo
hep
heq
her
hes
het
heu
hev
hew
hex
hey
hez
hia
hib
hic
hid
hie
hif
hig
hih
hii
hij
hik
hil
him
hin
hio
hip
hiq
hir
his
hit
hiu
hiv
hiw
hix
hiy
hiz
hoa
hob
hoc
hod
hoe
hof
hog
hoh
hoi
hoj
hok
hol
hom
hon
hoo
hop
hoq
hor
hos
hot
hou
hov
how
hox
hoy
hoz
hua
hub
huc
hud
hue
huf
hug
huh
hui
huj
huk
hul
hum
hun
huo
hup
huq
hur
hus
hut
huu
huv
huw
hux
huy
huz
iaa
iab
iac
iad
iae
iaf
iag
iah
iai
iaj
iak
ial
iam
ian
iao
iap
iaq
iar
ias
iat
iau
iav
iaw
iax
iay
iaz
iea
ieb
iec
ied
iee
ief
ieg
ieh
iei
iej
iek
iel
iem
ien
ieo
iep
ieq
ier
ies
iet
ieu
iev
iew
iex
iey
iez
iia
iib
iic
iid
iie
iif
iig
iih
iii
iij
iik
iil
iim
iin
iio
iip
iiq
iir
iis
iit
iiu
iiv
iiw
iix
iiy
iiz
ioa
iob
ioc
iod
ioe
iof
iog
ioh
ioi
ioj
iok
iol
iom
ion
ioo
iop
ioq
ior
ios
iot
iou
iov
iow
iox
ioy
ioz
iua
iub
iuc
iud
iue
iuf
iug
iuh
iui
iuj
iuk
iul
ium
iun
iuo
iup
iuq
iur
ius
iut
iuu
iuv
iuw
iux
iuy
iuz
jaa
jab
jac
jad
jae
jaf
jag
jah
jai
jaj
jak
jal
jam
jan
jao
jap
jaq
jar
jas
jat
jau
jav
jaw
jax
jay
jaz
jea
jeb
jec
jed
jee
jef
jeg
jeh
jei
jej
jek
jel
jem
jen
jeo
jep
jeq
jer
jes
jet
jeu
jev
jew
jex
jey
jez
jia
jib
jic
jid
jie
jif
jig
jih
jii
jij
jik
jil
jim
jin
jio
jip
jiq
jir
jis
jit
jiu
jiv
jiw
jix
jiy
jiz
joa
job
joc
jod
joe
jof
jog
joh
joi
joj
jok
jol
jom
jon
joo
jop
joq
jor
jos
jot
jou
jov
jow
jox
joy
joz
jua
jub
juc
jud
jue
juf
jug
juh
jui
juj
juk
jul
jum
jun
juo
jup
juq
jur
jus
jut
juu
juv
juw
jux
juy
juz
kaa
kab
kac
kad
kae
kaf
kag
kah
kai
kaj
kak
kal
kam
kan
kao
kap
kaq
kar
kas
kat
kau
kav
kaw
kax
kay
kaz
kea
keb
kec
ked
kee
kef
keg
keh
kei
kej
kek
kel
kem
ken
keo
kep
keq
ker
kes
ket
keu
kev
kew
kex
key
kez
kia
kib
kic
kid
kie
kif
kig
kih
kii
kij
kik
kil
kim
kin
kio
kip
kiq
kir
kis
kit
kiu
kiv
kiw
kix
kiy
kiz
koa
kob
koc
kod
koe
kof
kog
koh
koi
koj
kok
kol
kom
kon
koo
kop
koq
kor
kos
kot
kou
kov
kow
kox
koy
koz
kua
kub
kuc
kud
kue
kuf
kug
kuh
kui
kuj
kuk
kul
kum
kun
kuo
kup
kuq
kur
kus
kut
kuu
kuv
kuw
kux
kuy
kuz
laa
lab
lac
lad
lae
laf
lag
lah
lai
laj
lak
lal
lam
lan
lao
lap
laq
lar
las
lat
lau
lav
law
lax
lay
laz
lea
leb
lec
led
lee
lef
leg
leh
lei
lej
lek
lel
lem
len
leo
lep
leq
ler
les
let
leu
lev
lew
lex
ley
lez
lia
lib
lic
lid
lie
lif
lig
lih
lii
lij
lik
lil
lim
lin
lio
lip
liq
lir
lis
lit
liu
liv
liw
lix
liy
liz
loa
lob
loc
lod
loe
lof
log
loh
loi
loj
lok
lol
lom
lon
loo
lop
loq
lor
los
lot
lou
lov
low
lox
loy
loz
lua
lub
luc
lud
lue
luf
lug
luh
lui
luj
luk
lul
lum
lun
luo
lup
luq
lur
lus
lut
luu
luv
luw
lux
luy
luz
maa
mab
mac
mad
mae
maf
mag
mah
mai
maj
mak
mal
mam
man
mao
map
maq
mar
mas
mat
mau
mav
maw
max
may
maz
mea
meb
mec
med
mee
mef
meg
meh
mei
mej
mek
mel
mem
men
meo
mep
meq
mer
mes
met
meu
mev
mew
mex
mey
mez
mia
mib
mic
mid
mie
mif
mig
mih
mii
mij
mik
mil
mim
min
mio
mip
miq
mir
mis
mit
miu
miv
miw
mix
miy
miz
moa
mob
moc
mod
moe
mof
mog
moh
moi
moj
mok
mol
mom
mon
moo
mop
moq
mor
mos
mot
mou
mov
mow
mox
moy
moz
mua
mub
muc
mud
mue
muf
mug
muh
mui
muj
muk
mul
mum
mun
muo
mup
muq
mur
mus
mut
muu
muv
muw
mux
muy
muz
naa
nab
nac
nad
nae
naf
nag
nah
nai
naj
nak
nal
nam
nan
nao
nap
naq
nar
nas
nat
nau
nav
naw
nax
nay
naz
nea
neb
nec
ned
nee
nef
neg
neh
nei
nej
nek
nel
nem
nen
neo
nep
neq
ner
nes
net
neu
nev
new
nex
ney
nez
nia
nib
nic
nid
nie
nif
nig
nih
nii
nij
nik
nil
nim
nin
nio
nip
niq
nir
nis
nit
niu
niv
niw
nix
niy
niz
noa
nob
noc
nod
noe
nof
nog
noh
noi
noj
nok
nol
nom
non
noo
nop
noq
nor
nos
not
nou
nov
now
nox
noy
noz
nua
nub
nuc
nud
nue
nuf
nug
nuh
nui
nuj
nuk
nul
num
nun
nuo
nup
nuq
nur
nus
nut
nuu
nuv
nuw
nux
nuy
nuz
oaa
oab
oac
oad
oae
oaf
oag
oah
oai
oaj
oak
oal
oam
oan
oao
oap
oaq
oar
oas
oat
oau
oav
oaw
oax
oay
oaz
oea
oeb
oec
oed
oee
oef
oeg
oeh
oei
oej
oek
oel
oem
oen
oeo
oep
oeq
oer
oes
oet
oeu
oev
oew
oex
oey
oez
oia
oib
oic
oid
oie
oif
oig
oih
oii
oij
oik
oil
oim
oin
oio
oip
oiq
oir
ois
oit
oiu
oiv
oiw
oix
oiy
oiz
ooa
oob
ooc
ood
ooe
oof
oog
ooh
ooi
ooj
ook
ool
oom
oon
ooo
oop
ooq
oor
oos
oot
oou
oov
oow
oox
ooy
ooz
oua
oub
ouc
oud
oue
ouf
oug
ouh
oui
ouj
ouk
oul
oum
oun
ouo
oup
ouq
our
ous
out
ouu
ouv
ouw
oux
ouy
ouz
paa
pab
pac
pad
pae
paf
pag
pah
pai
paj
pak
pal
pam
pan
pao
pap
paq
par
pas
pat
pau
pav
paw
pax
pay
paz
pea
peb
pec
ped
pee
pef
peg
peh
pei
pej
pek
pel
pem
pen
peo
pep
peq
per
pes
pet
peu
pev
pew
pex
pey
pez
pia
pib
pic
pid
pie
pif
pig
pih
pii
pij
pik
pil
pim
pin
pio
pip
piq
pir
pis
pit
piu
piv
piw
pix
piy
piz
poa
pob
poc
pod
poe
pof
pog
poh
poi
poj
pok
pol
pom
pon
poo
pop
poq
por
pos
pot
pou
pov
pow
pox
poy
poz
pua
pub
puc
pud
pue
puf
pug
puh
pui
puj
puk
pul
pum
pun
puo
pup
puq
pur
pus
put
puu
puv
puw
pux
puy
puz
qaa
qab
qac
qad
qae
qaf
qag
qah
qai
qaj
qak
qal
qam
qan
qao
qap
qaq
qar
qas
qat
qau
qav
qaw
qax
qay
qaz
qea
qeb
qec
qed
qee
qef
qeg
qeh
qei
qej
qek
qel
qem
qen
qeo
qep
qeq
qer
qes
qet
qeu
qev
qew
qex
qey
qez
qia
qib
qic
qid
qie
qif
qig
qih
qii
qij
qik
qil
qim
qin
qio
qip
qiq
qir
qis
qit
qiu
qiv
qiw
qix
qiy
qiz
qoa
qob
qoc
qod
qoe
qof
qog
qoh
qoi
qoj
qok
qol
qom
qon
qoo
qop
qoq
qor
qos
qot
qou
qov
qow
qox
qoy
qoz
qua
qub
quc
qud
que
quf
qug
quh
qui
quj
quk
qul
qum
qun
quo
qup
quq
qur
qus
qut
quu
quv
quw
qux
quy
quz
raa
rab
rac
rad
rae
raf
rag
rah
rai
raj
rak
ral
ram
ran
rao
rap
raq
rar
ras
rat
rau
rav
raw
rax
ray
raz
rea
reb
rec
red
ree
ref
reg
reh
rei
rej
rek
rel
rem
ren
reo
rep
req
rer
res
ret
reu
rev
rew
rex
rey
rez
ria
rib
ric
rid
rie
rif
rig
rih
rii
rij
rik
ril
rim
rin
rio
rip
riq
rir
ris
rit
riu
riv
riw
rix
riy
riz
roa
rob
roc
rod
roe
rof
rog
roh
roi
roj
rok
rol
rom
ron
roo
rop
roq
ror
ros
rot
rou
rov
row
rox
roy
roz
rua
rub
ruc
rud
rue
ruf
rug
ruh
rui
ruj
ruk
rul
rum
run
ruo
rup
ruq
rur
rus
rut
ruu
ruv
ruw
rux
ruy
ruz
saa
sab
sac
sad
sae
saf
sag
sah
sai
saj
sak
sal
sam
san
sao
sap
saq
sar
sas
sat
sau
sav
saw
sax
say
saz
sea
seb
sec
sed
see
sef
seg
seh
sei
sej
sek
sel
sem
sen
seo
sep
seq
ser
ses
set
seu
sev
sew
sex
sey
sez
sia
sib
sic
sid
sie
sif
sig
sih
sii
sij
sik
sil
sim
sin
sio
sip
siq
sir
sis
sit
siu
siv
siw
six
siy
siz
soa
sob
soc
sod
soe
sof
sog
soh
soi
soj
sok
sol
som
son
soo
sop
soq
sor
sos
sot
sou
sov
sow
sox
soy
soz
sua
sub
suc
sud
sue
suf
sug
suh
sui
suj
suk
sul
sum
sun
suo
sup
suq
sur
sus
sut
suu
suv
suw
sux
suy
suz
taa
tab
tac
tad
tae
taf
tag
tah
tai
taj
tak
tal
tam
tan
tao
tap
taq
tar
tas
tat
tau
tav
taw
tax
tay
taz
tea
teb
tec
ted
tee
tef
teg
teh
tei
tej
tek
tel
tem
ten
teo
tep
teq
ter
tes
tet
teu
tev
tew
tex
tey
tez
tia
tib
tic
tid
tie
tif
tig
tih
tii
tij
tik
til
tim
tin
tio
tip
tiq
tir
tis
tit
tiu
tiv
tiw
tix
tiy
tiz
toa
tob
toc
tod
toe
tof
tog
toh
toi
toj
tok
tol
tom
ton
too
top
toq
tor
tos
tot
tou
tov
tow
tox
toy
toz
tua
tub
tuc
tud
tue
tuf
tug
tuh
tui
tuj
tuk
tul
tum
tun
tuo
tup
tuq
tur
tus
tut
tuu
tuv
tuw
tux
tuy
tuz
uaa
uab
uac
uad
uae
uaf
uag
uah
uai
uaj
uak
ual
uam
uan
uao
uap
uaq
uar
uas
uat
uau
uav
uaw
uax
uay
uaz
uea
ueb
uec
ued
uee
uef
ueg
ueh
uei
uej
uek
uel
uem
uen
ueo
uep
ueq
uer
ues
uet
ueu
uev
uew
uex
uey
uez
uia
uib
uic
uid
uie
uif
uig
uih
uii
uij
uik
uil
uim
uin
uio
uip
uiq
uir
uis
uit
uiu
uiv
uiw
uix
uiy
uiz
uoa
uob
uoc
uod
uoe
uof
uog
uoh
uoi
uoj
uok
uol
uom
uon
uoo
uop
uoq
uor
uos
uot
uou
uov
uow
uox
uoy
uoz
uua
uub
uuc
uud
uue
uuf
uug
uuh
uui
uuj
uuk
uul
uum
uun
uuo
uup
uuq
uur
uus
uut
uuu
uuv
uuw
uux
uuy
uuz
vaa
vab
vac
vad
vae
vaf
vag
vah
vai
vaj
vak
val
vam
van
vao
vap
vaq
var
vas
vat
vau
vav
vaw
vax
vay
vaz
vea
veb
vec
ved
vee
vef
veg
veh
vei
vej
vek
vel
vem
ven
veo
vep
veq
ver
ves
vet
veu
vev
vew
vex
vey
vez
via
vib
vic
vid
vie
vif
vig
vih
vii
vij
vik
vil
vim
vin
vio
vip
viq
vir
vis
vit
viu
viv
viw
vix
viy
viz
voa
vob
voc
vod
voe
vof
vog
voh
voi
voj
vok
vol
vom
von
voo
vop
voq
vor
vos
vot
vou
vov
vow
vox
voy
voz
vua
vub
vuc
vud
vue
vuf
vug
vuh
vui
vuj
vuk
vul
vum
vun
vuo
vup
vuq
vur
vus
vut
vuu
vuv
vuw
vux
vuy
vuz
waa
wab
wac
wad
wae
waf
wag
wah
wai
waj
wak
wal
wam
wan
wao
wap
waq
war
was
wat
wau
wav
waw
wax
way
waz
wea
web
wec
wed
wee
wef
weg
weh
wei
wej
wek
wel
wem
wen
weo
wep
weq
wer
wes
wet
weu
wev
wew
wex
wey
wez
wia
wib
wic
wid
wie
wif
wig
wih
wii
wij
wik
wil
wim
win
wio
wip
wiq
wir
wis
wit
wiu
wiv
wiw
wix
wiy
wiz
woa
wob
woc
wod
woe
wof
wog
woh
woi
woj
wok
wol
wom
won
woo
wop
woq
wor
wos
wot
wou
wov
wow
wox
woy
woz
wua
wub
wuc
wud
wue
wuf
wug
wuh
wui
wuj
wuk
wul
wum
wun
wuo
wup
wuq
wur
wus
wut
wuu
wuv
wuw
wux
wuy
wuz
xaa
xab
xac
xad
xae
xaf
xag
xah
xai
xaj
xak
xal
xam
xan
xao
xap
xaq
xar
xas
xat
xau
xav
xaw
xax
xay
xaz
xea
xeb
xec
xed
xee
xef
xeg
xeh
xei
xej
xek
xel
xem
xen
xeo
xep
xeq
xer
xes
xet
xeu
xev
xew
xex
xey
xez
xia
xib
xic
xid
xie
xif
xig
xih
xii
xij
xik
xil
xim
xin
xio
xip
xiq
xir
xis
xit
xiu
xiv
xiw
xix
xiy
xiz
xoa
xob
xoc
xod
xoe
xof
xog
xoh
xoi
xoj
xok
xol
xom
xon
xoo
xop
xoq
xor
xos
xot
xou
xov
xow
xox
xoy
xoz
xua
xub
xuc
xud
xue
xuf
xug
xuh
xui
xuj
xuk
xul
xum
xun
xuo
xup
xuq
xur
xus
xut
xuu
xuv
xuw
xux
xuy
xuz
yaa
yab
yac
yad
yae
yaf
yag
yah
yai
yaj
yak
yal
yam
yan
yao
yap
yaq
yar
yas
yat
yau
yav
yaw
yax
yay
yaz
yea
yeb
yec
yed
yee
yef
yeg
yeh
yei
yej
yek
yel
yem
yen
yeo
yep
yeq
yer
yes
yet
yeu
yev
yew
yex
yey
yez
yia
yib
yic
yid
yie
yif
yig
yih
yii
yij
yik
yil
yim
yin
yio
yip
yiq
yir
yis
yit
yiu
yiv
yiw
yix
yiy
yiz
yoa
yob
yoc
yod
yoe
yof
yog
yoh
yoi
yoj
yok
yol
yom
yon
yoo
yop
yoq
yor
yos
yot
you
yov
yow
yox
yoy
yoz
yua
yub
yuc
yud
yue
yuf
yug
yuh
yui
yuj
yuk
yul
yum
yun
yuo
yup
yuq
yur
yus
yut
yuu
yuv
yuw
yux
yuy
yuz
zaa
zab
zac
zad
zae
zaf
zag
zah
zai
zaj
zak
zal
zam
zan
zao
zap
zaq
zar
zas
zat
zau
zav
zaw
zax
zay
zaz
zea
zeb
zec
zed
zee
zef
zeg
zeh
zei
zej
zek
zel
zem
zen
zeo
zep
zeq
zer
zes
zet
zeu
zev
zew
zex
zey
zez
zia
zib
zic
zid
zie
zif
zig
zih
zii
zij
zik
zil
zim
zin
zio
zip
ziq
zir
zis
zit
ziu
ziv
ziw
zix
ziy
ziz
zoa
zob
zoc
zod
zoe
zof
zog
zoh
zoi
zoj
zok
zol
zom
zon
zoo
zop
zoq
zor
zos
zot
zou
zov
zow
zox
zoy
zoz
zua
zub
zuc
zud
zue
zuf
zug
zuh
zui
zuj
zuk
zul
zum
zun
zuo
zup
zuq
zur
zus
zut
zuu
zuv
zuw
zux
zuy
zuz
aa
ab
ac
ad
ae
af
ag
ah
ai
aj
ak
al
am
an
ao
ap
aq
ar
as
at
au
av
aw
ax
ay
az
ea
eb
ec
ed
ee
ef
eg
eh
ei
ej
ek
el
em
en
eo
ep
eq
er
es
et
eu
ev
ew
ex
ey
ez
ia
ib
ic
id
ie
if
ig
ih
ii
ij
ik
il
im
in
io
ip
iq
ir
is
it
iu
iv
iw
ix
iy
iz
oa
ob
oc
od
oe
of
og
oh
oi
oj
ok
ol
om
on
oo
op
oq
or
os
ot
ou
ov
ow
ox
oy
oz
ua
ub
uc
ud
ue
uf
ug
uh
ui
uj
uk
ul
um
un
uo
up
uq
ur
us
ut
uu
uv
uw
ux
uy
uz
=========================================================

(Sorry for the enormously long post, couldnt help :o )
Any tweaking would certainly help.
Thanks in advance
Cheers
Chillster

CrAzY_J May 29th, 2005 11:50 PM

holy $h1t my hand hurts from the scroling >_>

you can upload the file to somewhere you know, makes it easier for all of us

chillster13 May 30th, 2005 12:45 AM

Sorry, Really.
I tried Uploading the files to freewebspace.com
but then it gave som error regarding admin privileges.
So i simply copied the thing to the forum. :o
Sorry again.

Please give me some tweaks please...

Nuticulus May 30th, 2005 6:15 AM

You need to get a clear map in your head of what a pronouncable word is, and what some rules for pronouncing words are. For example, you may not be able to have a syllable ending in z next to a syllable beginning with p, or you may have to have a certain number of vowels in a word. Making "pronouncable" words might be a little tougher than you think.

Alternatively, you could make a semi-intelligent algorithm to "learn" which words can be pronounced easily. By generating some statistics about words from the dictionary (or maybe just random nonsense words) such as vowel:consonant ratio, number of repeated letters/syllables, length, character counts etc, you could log some statistics about words. Then the computer could analyse this data in comparison with how easy you found it to pronounce the word (that information would have to be input manually) and generate a "formula" for pronouncable words, which it could later use to generate pronouncable nonsense words.

JeezO Jun 15th, 2005 10:14 AM

"Though this be madness, yet there's a method in it" ...or some such.

I think you need to look at Lexicography and Linguistics. You would, I will guess, get more pronouncable 'gobbledygook' words the less you chop them up. Or rather, the larger your real word fragments, the better. You could also adopt a system of beginning or ending your words with commonly used beginnings and endings. Also it could be useful to determine which phonemes "go together" and which do not.

DaWei Jun 15th, 2005 10:28 AM

I think you need to spend a quarter and buy about twice as much sense as you currently have. Did it not occur to you that you could post part of that like this?
:

aaa
aab
aac
aad
aae
aaf
... removed for posting purposes
uv
uw
ux
uy
uz


Berto Jun 15th, 2005 10:29 AM

when you post it sensibly i will give you an sensible answer, but for now you shalt get this

wibble mcdoodle.

Dizzutch Jun 15th, 2005 10:48 AM

alright, you now have a 'random string of letters' generator. You'd need to look into lexographical rules, and grammar, for whatever language you're writing a generator in. Also, don't use syllables that would never appear, such as 'zeq' or 'xeg' i can't think of any 'normal' sounding names with those syllables.

L7Sqr Jun 15th, 2005 12:49 PM

Think of creating some variation of a Markov program to generate words based on a collection of proper speech/words, say a dictionary or large literary work. It will improve your chances of producing workable results.

BTW, that was a quick google search result I provided, a search on 'Markov Chanining' should produce some decent references.

stevengs Jun 15th, 2005 3:45 PM

Quote:

Originally Posted by Berto
...wibble...

haha, isn't that a line from the 4th BlackAdder series?


All times are GMT -5. The time now is 12:55 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC