Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Simple but thought-provoking programming tasks [OT]

by Moron (Curate)
on Apr 17, 2007 at 10:16 UTC ( [id://610491]=note: print w/replies, xml ) Need Help??


in reply to Re: Simple but thought-provoking programming tasks [OT]
in thread Simple but thought-provoking programming tasks [OT]

The missing subroutines all seem to want to pick random words from a dictionary file, as per Ode to a random number. The improvement I haven't yet figured out (without a lot of manual typing in) is to have a modified dictionary file with a part of speech field alongside the word. i.e. in your example you want your insult to call somone an adjective noun or an adverb adjective noun and the filtering should be data-driven rather than by using different subroutines.
__________________________________________________________________________________

^M Free your mind!

  • Comment on Re^2: Simple but thought-provoking programming tasks [OT]

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://610491]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-04-25 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found