From: Paul Smith Date: 2009-11-16T23:15:30+09:00 Subject: Re: [QUIZ] Found Senryu (#224) On Sun, Nov 15, 2009 at 7:43 PM, wkm wrote: > My solution is enclosed. > > It uses the Lingua::EN package from http://www.pressure.to/ruby/ to count syllables. According to it there are 4729 Senryu's in the US Constitution (with amendments). :) > > As an aside, do people actually do these quizzes any more? There seems to have been no discussion about this one at all.... I would have loved to have done this quiz but: 1) I had no idea where to start with a 'syllable-counting' algorithm 2) I had so much to do that when I thought about looking for some, you'd already posted a solution. > >>---- Original Message ---- >>From: Daniel Moore >>To: ruby-talk@ruby-lang.org (ruby-talk ML) >>Sent: Fri, Nov 13, 2009, 13:16 PM >>Subject: [QUIZ] Found Senryu (#224) >> >>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- >> >>The three rules of Ruby Quiz: >> >>1.  Please do not post any solutions or spoiler discussion for this >>quiz until 48 hours have elapsed from the time this message was >>sent. >> >>2.  Support Ruby Quiz by submitting ideas and responses >>as often as you can. >> >>3.  Enjoy! >> >>Suggestion:  A [QUIZ] in the subject of emails about the problem >>helps everyone on Ruby Talk follow the discussion.  Please reply to >>the original quiz message, if you can. >> >>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >> >>RSS Feed: http://rubyquiz.strd6.com/quizzes.rss >> >>Suggestions?: http://rubyquiz.strd6.com/suggestions >> >>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- >> >>## Found Senryu (#224) >> >>Ya'atay Rubyists, >> >>This week's quiz comes from Martin DeMello: >> >>Scan a text for runs >>of seventeen syllables >>formed from complete words >> >>Have Fun! >> >>-- >>-Daniel >>http://rubyquiz.strd6.com > -- Paul Smith http://www.nomadicfun.co.uk paul@pollyandpaul.co.uk