|
| 07 Aug 2013 01:20 AM |
vwl = {"a", "e", "i", "o", "u", "y"} csn = {"b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n", "p", "q", "r", "s", "t", "v", "w", "x", "y", "z"}
wrd = ""
for i = 1, 5 do if math.random() >= 0.5 then wrd = wrd .. csn[math.random(1, #csn)] end wrd = wrd .. vwl[math.random(1, #vwl)] wrd = wrd .. csn[math.random(1, #csn)] if math.random() >= 0.5 then wrd = wrd .. vwl[math.random(1, #vwl)] end print(wrd) wrd = "" end
I wrote this real quick to generate small simple pseudowords.
The first word it generated?
luve
The significance is astounding.
Full list of first run: luve uhi koyo dob uf
The Unwise Wizard of Scripters has spoken. |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 07 Aug 2013 02:00 AM |
| make real grammatical sentences |
|
|
| Report Abuse |
|
|
Nyxem
|
  |
| Joined: 05 Aug 2013 |
| Total Posts: 59 |
|
|
| 07 Aug 2013 03:38 AM |
Add numbers.
Everbody loves numbers. |
|
|
| Report Abuse |
|
|
mew903
|
  |
| Joined: 03 Aug 2008 |
| Total Posts: 22071 |
|
|
| 07 Aug 2013 03:46 AM |
^ > word generator > "numbers"
Take a good, long look at that. |
|
|
| Report Abuse |
|
|
Nyxem
|
  |
| Joined: 05 Aug 2013 |
| Total Posts: 59 |
|
| |
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 07 Aug 2013 07:50 AM |
ye numberz plez
13375p34k i5 4w3s0m3 |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2013 03:50 PM |
vwl = {"a", "e", "i", "o", "u", "y"} csn = {"b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n", "p", "q", "qu", "r", "s", "t", "v", "w", "x", "y", "z"}
wrd = ""
math.randomseed(os.time())
for i = 1, 5 do if math.random() >= 0.5 then wrd = wrd .. csn[math.random(1, #csn)] end wrd = wrd .. vwl[math.random(1, #vwl)] wrd = wrd .. csn[math.random(1, #csn)] if math.random() >= 0.5 then wrd = wrd .. vwl[math.random(1, #vwl)] end if math.random() >= 0.5 then if math.random() >= 0.5 then wrd = wrd .. csn[math.random(1, #csn)] end wrd = wrd .. vwl[math.random(1, #vwl)] wrd = wrd .. csn[math.random(1, #csn)] if math.random() >= 0.5 then wrd = wrd .. vwl[math.random(1, #vwl)] end end print(wrd) wrd = "" end
This updated version can make words up to 8 words long.
I did a run of it on codepad, and I got the following.
arcoqui dyze ituner ermyw quimi
"ituner"
it knows
The Unwise Wizard of Scripters has spoken. |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2013 03:53 PM |
Oh, here's the paste on codepad: 2bPqrrQF
The Unwise Wizard of Scripters has spoken. |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 07 Aug 2013 03:54 PM |
mh
i'm too lazy to check it. |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2013 03:56 PM |
Wait, technically, it could be up to 12 letters long because there's now a "qu".
The Unwise Wizard of Scripters has spoken. |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 07 Aug 2013 03:59 PM |
U is in the wrong place of the alphabet, it needs to be after 'q'; qu r s t v w x y z
heh |
|
|
| Report Abuse |
|
|
woot3
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 3599 |
|
|
| 07 Aug 2013 04:21 PM |
| Try and start with a consonant and end with a vowel, making sure vowels only take up roughly 1/3 of the entire word. That should work quite well. |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2013 10:24 PM |
Updated code, common letter combos added (i.e. ea, bl, gh):
codepad: grDiThpb
upl yxi jape eay flyplaflok
"jape"
Note: It very rarely generates real words.
Hmm...
The Unwise Wizard of Scripters has spoken. |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2013 10:28 PM |
| 500 words with the latest version: pastebincom/kCjs18wF |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2013 10:28 PM |
codepad: g3x5CMh5
Added "le" to vowel list.
I hope I'm not disrupting much on the forum.
waegeas eaqplitle finuceami check yla
"check"
whoa
The Unwise Wizard of Scripters has spoken. |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2013 10:36 PM |
Close to real things: "roblu" "itoogle" "dyde" "geat" "jaed" "kys" "iple" "maplae" Epic words: "oroto" "slex" "elfo" "maeghyplaelea" "iyy" "fiyfleap" Real thigns: "tux" "us" "iky" "eat" "oy" "eye" "use" "home":gsub('e', 'o') "uh" "om" "ip" |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2013 10:38 PM |
| 1000 pseudowords with le added to the vowels, pastebincom/25twXcEg |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2013 10:50 PM |
codepad.org: nuVR9ldF
Added "oo", "ee", and "tt".
500 pseudowords.
"chequoteach"
It's like "cheque", "quote", and "teach" were smashed together.
The Unwise Wizard of Scripters has spoken. |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2013 11:00 PM |
codepad: tJaBCalz
"tch", "nt" added
You know why I made this?
I was looking for a nonsense word I could use as a name for myself on the internet. Something memorable. Something narbacular.
However, these seem a little too nonsensical.
No matter, I shall continue to fine tune it.
Note: I have yet to notice it generate a curse word, though it is fully capable.
The Unwise Wizard of Scripters has spoken. |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2013 11:10 PM |
codepad: hwtcWHxo
500 pseudowords
Added a chance of "ular" or "inate" appearing in a word.
The words are just getting more alien.
I suppose it was to be suspected.
"lel"
shut up, pseudoword generator
I CREATED YOU
The Unwise Wizard of Scripters has spoken. |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2013 12:35 AM |
>whatever
Just wait for its teenage years... |
|
|
| Report Abuse |
|
|