Date: Wed, 08 Feb 2006 22:10:47 +0100 From: Urs Schroffenegger <urs-on-debian-list@lampshade.ch> To: questions@freebsd.org Subject: Re: A script for poets Message-ID: <43EA5E57.3050905@lampshade.ch> In-Reply-To: <7.0.1.0.2.20060208202634.0211cea8@broadpark.no> References: <7.0.1.0.2.20060208202634.0211cea8@broadpark.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Kristian Vaaf wrote: > > Hello! > > 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. > > http://www.rhymer.com is a great place, but unfortunately it requires > a browser. > > Or maybe this is a feature that extends beyond the purpose of shell > scripting, > and that maybe for such I should start looking into languages like Ruby? > > Hoping for generous expert advise. > > Thank you, peasants and poets :) > > Vaaf (wuff) Hello, writing sentences isn't an easy task for a program, because you need some understanding of the meaning of the sentence and some times a good grab of the peculiar grammar quirks of a language. Have a look at google translate to have an example of the results :-D A rhyming dictionnary should be possible to do, with a database of syllabes and pronunciation, but you need to fill the database first... For writing funny sentences, have a look at the "polygen" program: it writes sentences according to a defined grammar: http://freshmeat.net/projects/polygen/ I know it has a debian package and works under macosx and windows, so I don't think there should be problems compiling it under freebsd. The main site is in italian, though, I haven't found an english version. urs
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43EA5E57.3050905>