From: dblack@... Date: 2006-04-22T11:00:32+09:00 Subject: Re: [QUIZ] Text Munger (#76) Hi -- On Sat, 22 Apr 2006, Adam Shelly wrote: > On 4/21/06, Ruby Quiz wrote: > >> Your task for this quiz, then, is to take a text as input and output the text in >> this fashion. Scramble each word's center (leaving the first and last letters of >> each word intact). Whitespace, punctuation, numbers -- anything that isn't a >> word -- should also remain unchanged. >> > > I know everyone here is Nice(tm), so I'm sure this is not the > intent... but between this quiz and the Markov chain one, it seems we > are building a set of utilities perfect for generating those 'Re: > PHARmudMACY' > spam emails selling 'vigara' and such that have been sneaking through > my spam filter at work recently... Maybe we can use the techniques to filter those messages out :-) David -- David A. Black (dblack@wobblini.net) Ruby Power and Light, LLC (http://www.rubypowerandlight.com) "Ruby for Rails" PDF now on sale! http://www.manning.com/black Paper version coming in early May!