Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Can You Create An Intelligent Haiku Generator?

Posted by timothy on Wed Jun 14, 2000 02:17 AM
from the must-refer-to-season dept.
BlueCalx- writes: "dotcomma has created a new programming contest: this time, to determine whether or not someone can create a program that can automatically parse an RDF file and generate a haiku based on its headlines or stories. Slashdot users such as 575 have essentially been doing the same thing for months: now, it's time to see if a computer program can do the same thing *g*. After witnessing the success of the AI Bots challenge a few months ago, it'll be interesting to see if a program like this is possible." Anyone who can generate intelligible, germane haiku from headlines without human intervention has my respect -- it's a lot thornier than it sounds.
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(1) | 2 | 3
  • Re:Difficult by Anonymous Coward (Score:1) Tuesday June 13 2000, @11:34PM
  • umm...that was 5-5-5 by Anonymous Coward (Score:1) Wednesday June 14 2000, @12:48AM
  • Would basho appreciate the effort? by Anonymous Coward (Score:1) Wednesday June 14 2000, @03:10AM
  • Haiku by lars (Score:1) Wednesday June 14 2000, @03:33AM
  • Perl by whoop (Score:1) Wednesday June 14 2000, @03:05AM
  • Re:It's like this by emerson (Score:1) Tuesday June 13 2000, @09:53PM
  • Re:Haiku by emerson (Score:1) Tuesday June 13 2000, @10:08PM
  • hmmm? by MassacrE (Score:1) Wednesday June 14 2000, @02:09AM
  • I'm working on it by crayz (Score:1) Wednesday June 14 2000, @08:25AM
  • Re:Intelligent filters - agents? by wampus (Score:1) Wednesday June 14 2000, @06:54AM
  • Teach me to post too quickly... by thomasd (Score:1) Wednesday June 14 2000, @02:04AM
  • Re:New form by LetterJ (Score:1) Wednesday June 14 2000, @10:39AM
  • Re:Perl Haiku Contest by Ed Avis (Score:1) Wednesday June 14 2000, @07:47AM
  • Re:Perl Haiku Contest by Ed Avis (Score:1) Tuesday June 20 2000, @12:25AM
  • Re:Computer-Related Haiku by Firefalcon (Score:1) Tuesday June 20 2000, @11:00AM
  • Haiku? by stirge (Score:1) Wednesday June 14 2000, @03:32AM
  • Yay by Paradox (Score:1) Wednesday June 14 2000, @03:51AM
  • Re:Hmm by mutende (Score:1) Wednesday June 14 2000, @07:44AM
  • Re:Computer-Related Haiku by curveclimber (Score:1) Wednesday June 14 2000, @03:41AM
  • Re:Perl Haiku Contest by Kimble (Score:1) Thursday June 15 2000, @09:10AM
  • Re:Perl Haiku Contest by Kimble (Score:1) Friday June 16 2000, @07:24PM
  • Re:Perl Haiku Contest by Kimble (Score:1) Wednesday June 14 2000, @08:37AM
  • This might compile... by wirefarm (Score:1) Tuesday June 13 2000, @11:49PM
  • Re:Perl Haiku Contest by yzorderex (Score:1) Wednesday June 14 2000, @06:27PM
  • Re:Perl Haiku Contest by yzorderex (Score:1) Wednesday June 14 2000, @06:37PM
  • Snot's not American! by Chuck Chunder (Score:1) Tuesday June 13 2000, @11:27PM
  • AI Bots contest a success? Hardly! by Greyjack (Score:1) Wednesday June 14 2000, @04:25AM
  • I'm out... by Denis Lemire (Score:1) Tuesday June 13 2000, @09:23PM
  • Re:I'm out... by Denis Lemire (Score:1) Tuesday June 13 2000, @09:27PM
  • Re:Computer-Related Haiku by Dr. Manhattan (Score:1) Wednesday June 14 2000, @02:46AM
  • What else would the subject be? by uncleFester (Score:1) Wednesday June 14 2000, @02:03AM
  • Coy.pm by beppu (Score:1) Tuesday June 13 2000, @09:24PM
  • Re:Computer-Related Haiku by thrig (Score:1) Wednesday June 14 2000, @06:14AM
  • Re:Great idea by bob_jordan (Score:1) Wednesday June 14 2000, @12:06AM
  • Re:Something more usefull by bob_jordan (Score:1) Wednesday June 14 2000, @02:00AM
  • Re:Something more usefull by bob_jordan (Score:1) Wednesday June 14 2000, @02:07AM
  • Re:Something more usefull by bob_jordan (Score:1) Wednesday June 14 2000, @04:09AM
  • Alas, the poor Haiku by Reziac (Score:1) Wednesday June 14 2000, @10:32AM
  • Re:Perl Haiku Contest by Anders Höckersten (Score:1) Wednesday June 14 2000, @07:30AM
  • The AI bots challenge by ViGe (Score:1) Tuesday June 13 2000, @10:47PM
  • Re:New form by theaphila (Score:1) Wednesday June 14 2000, @04:59AM
  • RDF ? by Old Wolf (Score:1) Wednesday June 14 2000, @01:35AM
  • Re:AI Bots contest a success? Hardly! by at0m (Score:1) Wednesday June 14 2000, @06:04AM
  • Starcraft Haikus a-go-go by damaged (Score:1) Wednesday June 14 2000, @04:44AM
  • Re:Rorshack Text != Intelligent by theonetruekeebler (Score:1) Wednesday June 14 2000, @04:00AM
  • Re:Something more usefull by flounder99 (Score:1) Wednesday June 14 2000, @06:18AM
  • Re:Something more usefull by flounder99 (Score:1) Wednesday June 14 2000, @01:48AM
  • Re:Rorshack Text != Intelligent by DrMaurer (Score:1) Wednesday June 14 2000, @03:49AM
  • Re:Post-modernism generator by DrMaurer (Score:1) Wednesday June 14 2000, @04:01AM
  • Haiku Lover's Web Page by Ribo99 (Score:1) Wednesday June 14 2000, @07:32AM
  • Oh my.... by kuroineko (Score:1) Wednesday June 14 2000, @07:59AM
  • Lessee... by anatoli (Score:1) Tuesday June 13 2000, @10:22PM
  • Re:Nah - Haiku Program is too difficult by greyrat (Score:1) Wednesday June 14 2000, @02:45AM
  • Re:Rorshack Text != Intelligent by cheese_wallet (Score:1) Wednesday June 14 2000, @06:33AM
  • Not DOS, but... by Lemm (Score:1) Wednesday June 14 2000, @12:51PM
  • C0un7 7h3 5y114b135. d00d. by Lemm (Score:1) Wednesday June 14 2000, @12:54PM
  • Re:Haiku Code by Lemm (Score:1) Wednesday June 14 2000, @10:42PM
  • Haikludge by Lemm (Score:1) Wednesday June 14 2000, @10:55PM
  • Re:Great idea by owenb (Score:1) Wednesday June 14 2000, @12:00PM
  • what about macros by crovax (Score:1) Wednesday June 14 2000, @02:32AM
  • Computer Haiku: Bow to me, puny humans! by Nova Express (Score:1) Wednesday June 14 2000, @12:39PM
  • Re:Haiku Code by Winged Cat (Score:1) Wednesday June 14 2000, @01:29PM
  • Re:Haiku Code by Winged Cat (Score:1) Friday June 16 2000, @08:52AM
  • Re:Haiku Code by Winged Cat (Score:1) Friday June 16 2000, @08:54AM
  • Syllable Dictionary by Tom7 (Score:1) Wednesday June 14 2000, @04:30AM
  • Re:Haiku by rodentia (Score:1) Thursday June 15 2000, @12:07PM
  • Re:Most of these aren't haikus. by dgph (Score:1) Tuesday June 13 2000, @10:56PM
  • Re:Rorshack Text != Intelligent by webrunner (Score:1) Wednesday June 14 2000, @03:10AM
  • Re:It's like this by webrunner (Score:1) Wednesday June 14 2000, @03:12AM
  • Nah - Haiku Program is too difficult by (void*) (Score:1) Wednesday June 14 2000, @02:27AM
  • What about queue? by neildogg (Score:1) Wednesday June 14 2000, @06:21AM
  • Confusing a computer by neildogg (Score:1) Wednesday June 14 2000, @06:26AM
  • "intelligent" by evil_deceiver (Score:1) Wednesday June 14 2000, @11:02AM
  • haiku generator by kpeerless (Score:1) Wednesday June 14 2000, @09:25AM
  • Re:The Real Challenge by kkeller (Score:1) Wednesday June 14 2000, @05:59AM
  • How will a machine cope with art? by Digitalia (Score:1) Tuesday June 13 2000, @09:47PM
  • Re:Rorshack Text != Intelligent by Digitalia (Score:1) Tuesday June 13 2000, @10:01PM
  • Re:Addidtional requirement?? by Kristopher Johnson (Score:1) Wednesday June 14 2000, @02:44AM
  • Re:AI Syllables? by Kristopher Johnson (Score:1) Wednesday June 14 2000, @03:01AM
  • Re:It's like this by porky_pig_jr (Score:1) Wednesday June 14 2000, @11:37AM
  • Re:/. them, for old times' sake! by gwalla (Score:1) Wednesday June 14 2000, @09:40AM
  • Re:Addidtional requirement?? by gwalla (Score:1) Wednesday June 14 2000, @09:55AM
  • Re:C0un7 7h3 5y114b135. d00d. by gwalla (Score:1) Wednesday June 14 2000, @01:50PM
  • Re:haiku haiku by gwalla (Score:1) Wednesday June 14 2000, @02:54PM
  • Re:Cultural insensitivity by gwalla (Score:1) Wednesday June 14 2000, @03:29PM
  • Re:Yay by gwalla (Score:1) Wednesday June 14 2000, @03:38PM
  • Re:Haiku Lover's Web Page by gwalla (Score:1) Wednesday June 14 2000, @03:58PM
  • Correcting my own haiku... by gwalla (Score:1) Thursday June 15 2000, @08:33AM
  • Re:Haiku by gwalla (Score:1) Wednesday June 14 2000, @08:34AM
  • Re:Haiku by gwalla (Score:1) Wednesday June 14 2000, @08:40AM
  • Re:This might compile... by gwalla (Score:1) Wednesday June 14 2000, @09:04AM
  • Re:Computer-Related Haiku by gwalla (Score:1) Wednesday June 14 2000, @09:19AM
  • Re:Haiku by aozilla (Score:1) Wednesday June 14 2000, @02:19PM
  • Re:Haiku by aozilla (Score:1) Wednesday June 14 2000, @02:21PM
  • Re:Haiku by luckykaa (Score:1) Tuesday June 13 2000, @10:33PM
  • Re:Most of these aren't haikus. by luckykaa (Score:1) Tuesday June 13 2000, @11:38PM
  • Re:Lucky Kaa? by luckykaa (Score:1) Wednesday June 14 2000, @08:59PM
  • Re:Computer-Related Haiku by Malk-a-mite (Score:1) Wednesday June 14 2000, @03:20AM
  • Congratulations! by ca1v1n (Score:1) Tuesday June 13 2000, @09:42PM
  • Re:Addidtional requirement?? by Tassach (Score:1) Wednesday June 14 2000, @05:27AM
  • Re:what about macros by Tassach (Score:1) Wednesday June 14 2000, @05:49AM
  • Great idea by Goldberg's Pants (Score:1) Tuesday June 13 2000, @09:45PM
  • Haiku's never make sense anyway... by Snaller (Score:1) Wednesday June 14 2000, @04:43AM
  • Has anyone seen... ? by PHoliday (Score:1) Wednesday June 14 2000, @05:35AM
  • don't complain by cacheMan (Score:1) Wednesday June 14 2000, @04:09AM
  • Re:Haiku by Fishstick (Score:1) Wednesday June 14 2000, @04:34AM
  • Re:Haiku by Ashé Pattern (Score:1) Wednesday June 14 2000, @03:58AM
  • Re:Here's how to do it by SandsOfTime (Score:1) Wednesday June 14 2000, @10:56AM
  • Here's how to do it by SandsOfTime (Score:1) Wednesday June 14 2000, @05:07AM
  • Did it for English class by Eric Fikus (Score:1) Wednesday June 14 2000, @01:25AM
  • beavis & butthead by eufaula (Score:1) Thursday June 15 2000, @06:27AM
  • Re:Computer-Related Haiku by omoikane (Score:1) Wednesday June 14 2000, @04:41AM
  • sure by oog_rocks (Score:1) Wednesday June 14 2000, @12:11AM
  • Tux Haiku by 2Bits (Score:1) Wednesday June 14 2000, @08:23AM
  • This one's easy by fishexe (Score:1) Wednesday June 14 2000, @02:46AM
  • New form by fishexe (Score:1) Wednesday June 14 2000, @02:54AM
  • They can't argue it's not intelleigent by fishexe (Score:1) Wednesday June 14 2000, @03:12AM
  • They can't argue that I can spell intelligent (nt) by fishexe (Score:1) Wednesday June 14 2000, @03:24AM
  • Re:Cultural *over*sensitivity by streetlawyer (Score:1) Wednesday June 14 2000, @02:26AM
  • Cultural insensitivity by streetlawyer (Score:1) Tuesday June 13 2000, @10:19PM
  • Two Haiku by eTarzan (Score:1) Wednesday June 14 2000, @03:38PM
  • Re:Cultural insensitivity by Chiasmus_ (Score:1) Tuesday June 13 2000, @10:57PM
  • Re:New form by ocelotbob (Score:1) Wednesday June 14 2000, @04:13AM
  • intelligent haiku? by White Shadow (Score:1) Wednesday June 14 2000, @11:23AM
  • Re:Rorshack Text != Intelligent by Mr_Machine_Code (Score:1) Monday June 26 2000, @02:31PM
  • /. them, for old times' sake! by CardiacArrest (Score:1) Wednesday June 14 2000, @12:17AM
  • Haiku purity! by wsdorsey (Score:1) Wednesday June 14 2000, @05:22AM
  • Re:Cultural insensitivity by Ølli (Score:1) Tuesday June 13 2000, @10:43PM
  • Re:Cultural *over*sensitivity by FooRat (Score:1) Friday June 16 2000, @09:36AM
  • Cultural *over*sensitivity by FooRat (Score:1) Wednesday June 14 2000, @02:01AM
  • Re:Cultural insensitivity by SubtleNuance (Score:1) Wednesday June 14 2000, @03:19AM
  • Re:AI Syllables? by SubtleNuance (Score:1) Wednesday June 14 2000, @03:49AM
  • Post-modernism generator by KjetilK (Score:1) Tuesday June 13 2000, @10:30PM
  • Re:Rorshack Text != Intelligent by Karmageddon (Score:1) Wednesday June 14 2000, @02:33AM
  • Re:Cultural insensitivity by Protocull (Score:1) Wednesday June 14 2000, @01:33AM
  • Re:Third post Haiku by Protocull (Score:1) Wednesday June 14 2000, @01:36AM
  • Re:Computer-Related Haiku by Protocull (Score:1) Wednesday June 14 2000, @01:52AM
  • Re:Most of these aren't haikus. by Sodium Attack (Score:1) Wednesday June 14 2000, @08:07AM
  • Purists... by Sodium Attack (Score:1) Wednesday June 14 2000, @08:56AM
  • Haiku-rama. by antidigerati (Score:1) Wednesday June 14 2000, @04:26AM
  • Re:Great idea by antidigerati (Score:1) Wednesday June 14 2000, @04:10AM
  • Re:Congratulations! by 575 (Score:1) Tuesday June 13 2000, @09:52PM
  • Re:It's like this by 575 (Score:1) Tuesday June 13 2000, @09:59PM
  • Re:I'm out... by Hakakahn (Score:1) Wednesday June 14 2000, @12:34AM
  • Re:Coy.pm by Hakakahn (Score:1) Wednesday June 14 2000, @01:58AM
  • Whoops by YASD (Score:1) Wednesday June 14 2000, @06:43AM
  • Re:Cultural insensitivity by QuarterSauce (Score:1) Wednesday June 14 2000, @03:52AM
  • AI Syllables? by Ka0s64 (Score:1) Wednesday June 14 2000, @01:24AM
  • Hasn't Kurzweil done something like this? by Xiathome (Score:1) Wednesday June 14 2000, @02:53PM
  • Re:Cultural insensitivity by Dedman (Score:1) Thursday June 15 2000, @12:49AM
  • 575 had better watch out... by Anonymous Coward (Score:2) Wednesday June 14 2000, @01:32AM
  • Re:Haiku by emerson (Score:2) Tuesday June 13 2000, @10:05PM
  • Lucky Kaa? by thomasd (Score:2) Wednesday June 14 2000, @01:57AM
  • Re:Perl Haiku Contest by Bazman (Score:2) Wednesday June 14 2000, @12:31AM
  • Re:Perl Haiku Contest by Ed Avis (Score:2) Wednesday June 14 2000, @11:17PM
  • Re:Perl Haiku Contest by Ed Avis (Score:2) Thursday June 15 2000, @11:51PM
  • Re:Perl Haiku Contest by Ed Avis (Score:2) Wednesday June 14 2000, @02:07AM
  • An IRC bot... by pen (Score:2) Tuesday June 13 2000, @09:49PM
  • Re:Great idea by K. (Score:2) Tuesday June 13 2000, @11:57PM
  • Re:This might compile... by King Babar (Score:2) Wednesday June 14 2000, @11:33AM
  • Re:This might compile... by King Babar (Score:2) Wednesday June 14 2000, @06:15AM
  • Re:Addidtional requirement?? by dublin (Score:2) Wednesday June 14 2000, @10:16AM
  • Re:Rorshack Text != Intelligent by dublin (Score:2) Wednesday June 14 2000, @10:58AM
  • Re:Addidtional requirement?? by dublin (Score:2) Wednesday June 14 2000, @11:27AM
  • Why not Renga? by hey! (Score:2) Wednesday June 14 2000, @05:40AM
  • ... by w3woody (Score:2) Tuesday June 13 2000, @10:00PM
  • haiku haiku by Hard_Code (Score:2) Wednesday June 14 2000, @03:40AM
  • Re:AI Bots contest a success? Hardly! by at0m (Score:2) Wednesday June 14 2000, @03:31PM
  • One Haiku, every situation. by RimRod (Score:2) Wednesday June 14 2000, @02:47AM
  • Yes, you did see this coming by babbage (Score:2) Wednesday June 14 2000, @12:35PM
  • One of my favorites by babbage (Score:2) Wednesday June 14 2000, @12:46PM
  • Re:Rorshack Text != Intelligent by Spasemunki (Score:2) Wednesday June 14 2000, @02:33AM
  • the word is "senryu" by anonymous cowerd (Score:2) Wednesday June 14 2000, @09:16AM
  • Re:Difficult by anatoli (Score:2) Wednesday June 14 2000, @12:13AM
  • Most of these aren't haikus. by D. Mann (Score:2) Tuesday June 13 2000, @10:28PM
  • Third post Haiku by Ukab the Great (Score:2) Tuesday June 13 2000, @09:25PM
  • Re:Edited Kaa Tribute by CaseyG (Score:2) Wednesday June 14 2000, @11:53AM
  • Your BASIC Haiku by Sundiata (Score:2) Wednesday June 14 2000, @04:20AM
  • Here's my first attempt... by Animol (Score:2) Wednesday June 14 2000, @01:50AM
  • You can't really do that.. by fluxrad (Score:2) Wednesday June 14 2000, @12:44AM
  • Re:Haiku by hypergeek (Score:2) Wednesday June 14 2000, @05:05AM
  • Re:Difficult by hypergeek (Score:2) Wednesday June 14 2000, @05:21AM
  • Re:This might compile... by hypergeek (Score:2) Wednesday June 14 2000, @05:25AM
  • Re:Your BASIC Haiku by hypergeek (Score:2) Wednesday June 14 2000, @05:37AM
  • Jargon by yerricde (Score:2) Wednesday June 14 2000, @06:12AM
  • Re:Difficult by yerricde (Score:2) Wednesday June 14 2000, @06:19AM
  • Re:what about macros by Tassach (Score:2) Wednesday June 14 2000, @05:43AM
  • Observations by Tassach (Score:2) Wednesday June 14 2000, @06:38AM
  • Re:Cultural insensitivity by Tassach (Score:2) Wednesday June 14 2000, @07:47AM
  • Cool by Goldberg's Pants (Score:2) Tuesday June 13 2000, @09:31PM
  • Yet another (yet another haiku) by YASD (Score:2) Wednesday June 14 2000, @01:42AM
  • Perl does haiku... (Score:3)

    by ggoebel (1760) on Wednesday June 14 2000, @02:41AM (#1003884) Homepage

    There is a Perl module written by Damian Conway called Coy which performs error handling in haiku. It has an extensible grammer...

    • The presentation [monash.edu.au] on Coy from The Perl Conferenct (TPC) 1999
    • It covered extensively in the Winter 99 Perl Journal [itknowledge.com].
    • You can pick up a copy from your local CPAN [cpan.org].
  • by Improv (2467) <pgunn@dachte.org> on Tuesday June 13 2000, @10:06PM (#1003885) Homepage Journal
    The problem with coy is that it often does
    not consider the line as a barrier between
    parts of the haiku that mean something. That is,
    each line in a good haiku should ideally be a
    valid sentence, or failing that, each line in an
    ok haiku should at least be a seperate clause.
  • Perl Haiku Contest (Score:3)

    by Yenya (12004) on Tuesday June 13 2000, @09:42PM (#1003886) Homepage Journal
    There has been a Perl Haiku contest in The Perl Journal [tpj.com]. The Contest page [itknowledge.com] is here (it seems to be unreachable for me now, so here is the Google's cached version [google.com] of this page.)

    -Yenya


    --

  • by The Iconoclast (24795) on Wednesday June 14 2000, @01:08AM (#1003887)

    Now for tiebreakers, they should have the additional requirement that your coding statements are in Haiku form.

    Embeded Haiku,
    Hidden within the sourcecode.
    It should break the tie.

    And now for a Meta-Haiku:

    Multisyllabic,
    Using five, seven, and five
    A haiku is formed.


    A wealthy eccentric who marches to the beat of a different drum. But you may call me "Noodle Noggin."

  • Difficult (Score:3)

    by dgph (107434) on Tuesday June 13 2000, @10:36PM (#1003888)
    It is hard to count
    Syllables of English words
    Algorithmically

    It's even harder
    To get correct grammar, from
    Arbitrary words

  • by dgph (107434) on Tuesday June 13 2000, @11:52PM (#1003889)

    Children studying
    The forums are congested
    With cries of "Me Too"

  • The Real Challenge (Score:3)

    by gradji (188612) on Tuesday June 13 2000, @10:52PM (#1003890)

    A forgotten rule for classic Japanese Haiku, in addition to the usual 5-7-5 syllable rule, is that the Haiku must contain at least one reference to a season.

    For example:

    Under the blue sky

    I take a dip in the pool

    To wash off my sweat

    Hopefully, my reference to summer is obvious enough ... I admit freely, I'm no Basho

    I challenge any of the serious contenders for this Haiku contest to write their code taking into consideration this 'seasonal reference' rule.

    I would be interested in seeing the Haiku generated by such a code ... especially since Cyberspace is rather devoid of seasons ... much like most of California (hmmm, coincidence?)

  • Re:Haiku (Score:3)

    by 575 (195442) on Wednesday June 14 2000, @08:42AM (#1003891) Homepage Journal
    No way to be sure
    He is quaint but cumbersome...
    DOS batch file perhaps?
  • I'd love to see if some people find algorithms to create something really intelligent.
    You could just use a random generator that matches the words, but that program doesn't have a clue about the content, what it's saying.

    When you want to know what's some text about, you have to feed it all words of the dictionary and give extra information for each word. Creating sentences is even more difficult as there are linguistic rules, and they must sound normal to a native speaker (although haikus may be more simple).

    The company I work for (DMP - http://www.dmpartners.be [dmpartners.be]) is busy in this field.

    One of our applications is able to create a summary of a text.
    The sentences of the summary aren't created, but are those sentences that represent the content of the text most. Feed it a txt/doc file, say how many lines/words you want and you'll have your summary instantly. Sounds simple but it is impressive when you use it.

    What's behind it is even more impressive. Every word and sentence is analysed (what is subject, verb, adjective, ...) and using a dictionary of weighted words we know what word is more important and what not.

    There's a lot of manual work involved, feeding the databases. One of the databases consists of words with the relations to other words. So if a words has synonyms, homonyms, is stronger, is the contrary, ... all these relations are marked in it. Without this you can't start to analyse the content of a text. When a word has more than one meaning/usage you also have to look at the context of the sentence and figure out the correct meaning.

    It's a very interesting technology. The strenght is when you combine applications. Throw a multilingual search engine in it. So you type your question, it gets analysed (what exactly do you want, not just a keyword search), looks into the files in multiple languages, returns you the hits, and translates and summarised the results you want to see. Nice.

  • Haiku (Score:4)

    by emerson (419) on Tuesday June 13 2000, @09:47PM (#1003893) Homepage

    The art of haiku
    Rests not in strict meter, but
    In the final line.


    ...the above being a perfect example of a VERY bad haiku.

    Making an observation in a 575 triplet is simple. What makes a haiku stand out is the twist given to the final line. Consider it an Eastern version of the hoary joke format:

    Three people are in a situation. The first one does something interesting. The second one does essentially the same thing. The third one says or does something surprising enough to qualify as funny.

    The haiku works the same way: setup, setup, punchline. Not necessarily in the comic sense -- some good haiku are funny, but others are sharp, witty, insightful, probing, and so forth.

    But no really excellent haiku is just taking input information and spitting out a formatted version of same. What makes a quality haiku is the same quality of thought that makes a good joke, the sideways-thinking free-association that no algorithm can even approach.


    --
  • Seasonal Reference (Score:4)

    by dylan_- (1661) on Wednesday June 14 2000, @01:09AM (#1003894) Homepage

    "Me too"s and much spam
    Dominate mighty Usenet
    It must be Autumn...

    dylan_-


    --

  • Re: "Eliza Effect" (Score:4)

    by kevin805 (84623) on Tuesday June 13 2000, @10:14PM (#1003895)
    I'm not sure how common a term this is, but I've seen it in multiple places. Based on the fact that people who chatted with Eliza were frequently taken in, the Eliza Effect is our tendency to read meaning into something where there is no meaning.

    It's not as damaging to the Turing test as one would think. Turing unknowingly rules out the Eliza Effect when he specified that the test should be done as a comparison, not just asking someone "do you think you're talking to a human or a computer", which people would answer "human" very easily.

    It might also have something to do with the predictability of people. Eliza only reacts appropriately when you play her game. Ask about something not related to your psychological problems, and it collapses.

    Example:


    I'm tired.

    Why do you say you are tired?

    I haven't been getting much sleep lately.

    Is it because of your plans that you say you have not been getting much sleep lately?

    No, I've just been staying up late on the internet.

    Maybe your life have something to do with this.

    I don't have a life. That's the problem.

    What makes you believe that?

    I'm talking to a computer program. Pretty convincing evidence.

    You have your mind on computers, it seems.

    Yeah. Hey, can you tell me a five letter word for 'timekeeper' that starts with a 'c'?

    Is it because starts with a 'c' that you came to me?

    I just can't think of anything that fits.

    Can you elaborate on that?

    I tried 'watch', but it doesn't start with a c. I tried 'chronometer', but it's too long.

    Does it bother you that it does not start with a c you tried 'chronometer' but it's too long?
  • It's like this (Score:4)

    by Anonymous Squonk (128339) on Tuesday June 13 2000, @09:27PM (#1003896) Homepage
    The random haiku:
    Poem rhythm is down pat,
    But it lacks a soul.

    (not to mention that true haiku requires a seasonal reference, but I doubt that's a condition of this contest...)

  • Haiku Code (in C) (Score:4)

    by David Raine (158522) on Wednesday June 14 2000, @03:26AM (#1003897)

    int haiku(char x)
    { x = x + 16;
    if(1) return x; }

    Not very useful, but... Oh, you mean they wanted a compter program that generates haiku! Darn.

  • Haiku (Score:4)

    by 575 (195442) on Tuesday June 13 2000, @09:37PM (#1003898) Homepage Journal
    Finally, a post
    There can be no contesting...
    Haikus on-topic!
    Five Seven Five grins
    His knuckles crack, his eyes gleam
    Code to be written
  • Re:Haiku (Score:4)

    by 575 (195442) on Tuesday June 13 2000, @09:41PM (#1003899) Homepage Journal
    The poet, eager
    Posting two haiku at once
    Forgets to split them
  • Genhaiku. (Score:5)

    by Anonymous Coward on Tuesday June 13 2000, @11:09PM (#1003900)
    There once was a hacker from Haifa
    Who wrote generator of haiku.
    But an error he made,
    And the program instead
    Generates bad limericks. Gosh, how come?
  • As we know, humans have a remarkable ability to determine meaning and pattern where there is mere randmoness and co-incidence. Hence the shapes in clouds, and the pictures in ink blots.

    The Haiku, being a very minimalist form, allows the brain of the reader to fill in so many gaps in the sense of the language that there is room to create entire meaning where none is intended.

    Thus, as with Elisa, the cleverness of haiku generators lies less in the programming, and more in the linguistic observation regarding the nature of the text produced.

    Not, of course, to say that writing haiku generators isn't fun and worthwhile. But's let's not call them intelligent, because firstly they aren't, and secondly we should marvel more at humans' ability to synthesise meaning and pattern and less at computers' ability to imitate it.

  • by mutende (13564) <klaus@seistrup.dk> on Tuesday June 13 2000, @10:25PM (#1003902) Homepage Journal
    Perhaps the following could serve as inspiration:

    #!/usr/bin/rexx
    /****** Haiku.rexx *************************************************
    *
    * $VER: Haiku 2.0 (6.5.95) -- Generates pseudo-random Haiku poems
    *
    ************************************************** ******************/

    dummy = InitVocab()
    dummy = time('l')
    rseed = right(dummy,length(dummy)-lastpos('.',dummy))
    dummy = random(,,rseed)
    say '0A'x || GenHaiku()
    exit 0

    GenHaiku:
    t = random(1,num_templates)
    parse var tem.t line.1 '+' line.2 '+' line.3
    out. = ''
    do i = 1 to 3
    do while length(line.i)>0
    parse var line.i cmd 3 qual 4 line.i
    c = left(cmd,1)
    ucmd = translate(cmd)
    if v.ucmd "" then
    do
    w = word(v.ucmd,random(1,words(v.ucmd)))
    if datatype(c,'u') then
    w = translate(left(w,1)) || substr(w,2)
    c = translate(c)
    if c = 'V' & qual = '@' then
    w = add_ing(w)
    else if c = 'N' & qual = 's' then
    w = pluralize(w)
    else
    line.i = qual || line.i
    end
    else if c = '#' then
    do
    parse value cmd || qual || line.i with '#' list '#' line.i
    say list
    wordslist = words(list)
    say wordslist
    rand_word = random(1,wordslist)
    say rand_word
    w = word(list,rand_word)
    say w
    /*w = word(list,random(1,words(list)))*/
    end
    else
    parse value cmd || qual || line.i with w 2 line.i
    out.i = out.i || w
    end
    end
    return translate(out.1 || '0a'x || out.2 || '0a'x || out.3 || '0a'x, ' ', '_')

    index: procedure
    haystk = arg(1)
    needle = arg(2)
    do idx = 1 to length(haystk)
    if substr(haystk,idx,1) = needle then do
    return idx
    end
    end
    return 0

    add_ing: procedure
    exc. = 0
    exc.whisper = 1
    exc.wander = 1
    exc.flutter = 1
    exc.wither = 1
    exc.wonder = 1
    exv = translate(arg(1))
    parse value arg(1) with 100-3 l3+1 l2+1 l1
    if index("mbgprndlt",l1) > 0 & index("aeiou",l2) > 0 & index("aeiou",l3) = 0 then
    do
    if exc.exv 0 then
    w = arg(1) || l1
    else
    w = arg(1)
    end
    else if l1 = 'e' then
    w = left(arg(1),length(arg(1))-1)
    else
    w = arg(1)
    return w || 'ing'

    pluralize: procedure expose v.
    exc. = 0
    exc.rose = 1
    exc.breeze = 1
    exc.branch = 1
    exc.beach = 1
    exc.glance = 1
    exc.thrush = 1
    exc.child = 1
    exc.fox = 1
    exc.moss = 1
    exc.sunrise = 2
    exc.lotus = 2
    exc.gecko = 10
    exc.cry = 11
    w = arg(1)
    uw = translate(w)
    do while exc.uw > 0 & exc.uw list = value('v.n'exc.uw)
    w = word(list,random(1,words(list)))
    uw = translate(w)
    end
    if datatype(left(arg(1),1),'u') then
    w = translate(left(w,1))substr(w,2)
    select
    when exc.uw = 0 then w = w || 's'
    when exc.uw = 10 then w = w || 'es'
    when exc.uw = 11 then w = left(w,2) || 'es'
    otherwise
    inform("Invalid pluralize exception" exc.uw)
    exit
    end
    return w

    InitVocab:
    v. = ""
    v.a1 = "quick wild small hot white green blue pink thin old light dark"
    v.a1 = v.a1 "sad deep lost free far slow sharp blunt hard soft damp dry"
    v.a1 = v.a1 "bare tight loose low cold clean proud swift gnarled flat"
    v.a1 = v.a1 "strong weak young dull ill"
    v.a2 = "open lofty empty eager even weary leaden fallen dismal serene"
    v.a2 = v.a2 "languid potent silver awkward shallow pliant simple wrinkled"
    v.a2 = v.a2 "falling waiting sighing smiling dreaming sleeping dying"
    v.a2 = v.a2 "almond jasmine mournful leaping supple"
    v.n1 = "oak tree grove stream brook hill branch rose leaf breeze pool"
    v.n1 = v.n1 "root thrush song moon cry glance flame child fox lamb shell"
    v.n1 = v.n1 "moss cave cliff rock beach shore wave sea hand path bark fern"
    v.n2 = "shadow forest clearing hunter sparrow mountain cavern shelter"
    v.n2 = v.n2 "seagull lantern sunrise gecko welcome egret doorway water"
    v.n2 = v.n2 "prison temple valley spirit soldier blossom lotus maple"
    v.v1 = "walk write sing play look fail stray climb grow speak flow live"
    v.v1 = v.v1 "soar crawl creep stand wake sink swim turn sit jump stink"
    v.v1 = v.v1 "dive strive shine glow fade move crave spin hide writhe"
    v.v2 = "wander desire return whisper decline accept withdraw contend"
    v.v2 = v.v2 "rebel retire despair arise wither wonder bubble flutter grumble"
    v.v2 = v.v2 "enchant descend ascend command"
    v.p1 = "in near past through from"
    v.p2 = "under over behind beyond above below around"
    v.r1 = "where when while as"
    v.l1 = "the this my your his her the the the"
    v.h2 = "Gichin Koshi Raiko the_man a_maid Tanto the_queen Moki R.J. Gorby"
    v.h2 = v.h2 "Sanka the_monk Glad_Child Yoko"
    tem. = ""
    tem.1 = "A1 n1, a2 n1.+L1 a1, a2 n2 v1s.+A1 n1, a1 n2."
    tem.2 = "P2 the a1 n1,+R1 the a2 n2 v1s,+I v1; the n1 v1s."
    tem.3 = "The a1 n1 v1@;+It is the a2 n2.+V2@, I v1."
    tem.4 = "The a2 n1 v1s+R1 a2 n2s v2.+Does the a1 n1 v1?"
    tem.5 = "Not a1, not a2,+H2 comes to the n2.+L1 a1 n2 v1s."
    tem.6 = "A1, a2, a2,+H2 v1s. H2 v2s,+V2@, v1@."
    /*tem.7 = "#Never Always# a1, but a1,+H2 knows #no all# a1 n2s.+#Angry Gladdened#, #he she# v1s."*/
    do i = 1 while tem.i ""
    end
    num_templates = i-1
    return 0

    /*
    ** EOF
    */

    It will generate haikus along the line of:

    Swift lamb, shallow rock.
    This hard, waiting prison hides.
    Low moss, damp mountain.

    Enjoy!


    --

  • by curveclimber (17352) on Tuesday June 13 2000, @11:06PM (#1003903)
    You step in the stream,
    but the water has moved on.
    This page is not here.

    -- Cass Whittington

    First snow, then silence.
    This thousand dollar screen dies
    so beautifully.

    -- Simon Firth

    The ten thousand things
    How long do any persist?
    Netscape, too, has gone.

    -- Jason Willoughby

    I know this is all in fun so I'm posting these three that I found at some online contest (posted without permission, sorry).

    The idea, however, that what you are all making are actually haiku is just silly. Yes, there is generally a turn at the end (more of a spinning outward), and yes, there is traditionally a word indicating a season (kigo), but not just the words fall or spring, there were whole catalogs of words with their traditional seasonal indication. Cats, for instance, indicate a haiku about Spring.

    Also, remember the whole 5-7-5 thing comes from Japanese, a language very different from our own. You would be better off trying to write three lines that you could say smoothly in one breath (in other words, not 7 one syllable words). There is so much more involved, though, like alliteration and literary allusions.

    I highly recommend you all go read some *real* haiku by the masters: Basho, Issan, Buson, and Shiki, they will explain what haiku is all about far better than I can.
(1) | 2 | 3