From owner-freebsd-ruby@FreeBSD.ORG Sat Aug 30 20:15:28 2008 Return-Path: Delivered-To: freebsd-ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3509B1065672 for ; Sat, 30 Aug 2008 20:15:28 +0000 (UTC) (envelope-from uzimonkey@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id DE3E58FC15 for ; Sat, 30 Aug 2008 20:15:27 +0000 (UTC) (envelope-from uzimonkey@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so760966yxb.13 for ; Sat, 30 Aug 2008 13:15:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding:from; bh=qiIQ3GAVa03hOOwitCEWRwFg0nkYWMiVBLuEXAW37KI=; b=CEpTeD5t0lapkkSRqVt5faBuu1l8bSgg9BWWfVrWq0GDp0H0tRMpfbe6W9IiQiNu/z EQNju8cG0dBRKG1DdN+NXJaFBbyIjZ4+WG4dBhOgAjvoFlvCo26SIUV9w88In9eguwJd cxbZxns+yjs0rfS3QGja6mpcHT4S+Yp+RL0W4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding:from; b=P3z5H+CfFtSfX0bsXybufsY0wquZwyQISMSYcX1OezwVgnUzD916R+ZGFo/dtqjsMo 1ADxxnqiyvuNqJHJKi4KeN7RzQ1NaGvfcCLmJRTheXhXk6MVXF/n2N/Y73//r5d0xTCS H6zjIKN1wDHSX/Rd5AMHYDV38nP3HN7jsO9ak= Received: by 10.150.217.14 with SMTP id p14mr6281743ybg.56.1220125538381; Sat, 30 Aug 2008 12:45:38 -0700 (PDT) Received: from ?192.168.1.101? ( [76.179.9.15]) by mx.google.com with ESMTPS id 5sm4831550ywd.8.2008.08.30.12.45.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 30 Aug 2008 12:45:37 -0700 (PDT) Message-ID: <48B9A384.8050305@gmail.com> Date: Sat, 30 Aug 2008 15:46:12 -0400 User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: ruby-talk@ruby-lang.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Michael Morin Cc: freebsd-ruby@freebsd.org Subject: Re: How to match words that rhyme? X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Aug 2008 20:15:28 -0000 Redd Vinylene wrote: > Hello hello! > > How do I match words that rhyme, like end rhymes, last syllable > rhymes, double rhymes, beginning rhymes and first syllable rhymes? > > Like rhymer.com. I'm looking to improve my freestyle skills :) > > http://www.youtube.com/watch?v=SmqXKbxDoJ0 > > Much obliged, and thanks! English is extremely inconsistent. Good doesn't rhyme with food which doesn't rhyme with flood. You're going to need something that describes the phonetics of each word, like an open dictionary. With that, you should be able to identify which words rhyme. Rhyme is a subjective term as well. Some words "rhyme" even though they don't meet any formal definition of "rhyme," they just sound right together. But this is a lesser concern. -- Michael Morin Guide to Ruby http://ruby.about.com/ Become an About.com Guide: beaguide.about.com About.com is part of the New York Times Company