From owner-freebsd-questions@FreeBSD.ORG Thu Feb 9 12:51:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47F4F16A420 for ; Thu, 9 Feb 2006 12:51:33 +0000 (GMT) (envelope-from johnpollock@bellsouth.net) Received: from imf20aec.mail.bellsouth.net (imf20aec.mail.bellsouth.net [205.152.59.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id A451E43D45 for ; Thu, 9 Feb 2006 12:51:32 +0000 (GMT) (envelope-from johnpollock@bellsouth.net) Received: from ibm62aec.bellsouth.net ([65.13.22.129]) by imf20aec.mail.bellsouth.net with ESMTP id <20060209125131.WGYA23900.imf20aec.mail.bellsouth.net@ibm62aec.bellsouth.net> for ; Thu, 9 Feb 2006 07:51:31 -0500 Received: from [192.168.0.100] (really [65.13.22.129]) by ibm62aec.bellsouth.net with ESMTP id <20060209125130.PJHP2966.ibm62aec.bellsouth.net@[192.168.0.100]>; Thu, 9 Feb 2006 07:51:30 -0500 From: JP To: freebsd-questions@freebsd.org Date: Thu, 9 Feb 2006 07:53:10 -0500 User-Agent: KMail/1.8.2 References: <7.0.1.0.2.20060208202634.0211cea8@broadpark.no> <20060208204359.GA19830@thought.org> <20060209102747.GA15632@epia2.farid-hajji.net> In-Reply-To: <20060209102747.GA15632@epia2.farid-hajji.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602090753.11303.johnpollock@bellsouth.net> Cc: Gary Kline , cpghost Subject: Re: A script for poets X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2006 12:51:33 -0000 Kind of reminds me of the time I took an eggdrop bot for IRC, added a HAL "AI" script to it, then fed it a bunch of lines of poetry by various artists, and got amazed at its output when various users joined the channel and began chatting. At one point a new user joined the channel, said his gratuatous hello's and the like and began chatting with the bot never realizing it was a bot.. I had that bot for a few years before I lost it. And had the log file for good measure and humour. I always wished to try and recreate that bot, sure was entertaining, and for a while was quite adept at creating/hashing together some interesting lines of poetry mixed in from the AI HAL bot had learned from others conversations.. Enjoy the day! Unix forever.. JSP On Thursday 09 February 2006 05:27 am, cpghost wrote: > On Wed, Feb 08, 2006 at 12:44:00PM -0800, Gary Kline wrote: > > On Wed, Feb 08, 2006 at 08:29:21PM +0100, Kristian Vaaf wrote: > >> Again with my script requests, this time I'm wondering if anybody > >> has ever felt like writing a shell script that makes it easy to write > >> rhymes, > >> poems or just make up funny lines. > > You mean something like this to group words by endings? > > % rev /usr/share/dict/words | sort | rev > > > This may dovetail into something I was actively working on > > several years ago: a C/C++ program that took unmetered text > > as input and output N-syllabic lines as output. > > Interesting. > > > I created a dictionary of thousands of words with one, two, > > three, or more syllabes in my database. I played around > > with this idea until I realized that "real" poetry demands > > imagery (metaphor, simile), and not simply meter or rhyme. > > After 7 years of my writing group I've learned how DIFFICULT > > it is to write a good poem. Or prose. > > Absolutely! > > > Gary Kline kline@thought.org www.thought.org Public service > > Unix > > Regards, > -cpghost.