Something I'm working on ...
#3
The thought struck me ... an OS called Haiku should be able to ... write a haiku.

So I slapped together a CLI utility along the lines of fortune. No deep semantic analysis involved, I'm afraid, just a rearrangement of words in the required 5 - 7 - 5 syllable patterns. Occasionally it sounds as if there is a poet inside the computer trying to break out. Far more often, it looks like the computer is populated by Vogons. But, it is a haiku. In compiled form, you can pipe the output like any self-respecting *NIX utility.

That was easy enough. What is taking up time is adding sufficient words to its database to prevent the haikus becoming repetitious. When that is done, I'll put up a link.

I haven't tried it yet, but the code should work in yabasic for windows or Linux.
Reply


Messages In This Thread
Something I'm working on ... - by clasqm - 07-05-2015, 10:14 AM
RE: DSomething I'm working on ... - by bbjimmy - 07-05-2015, 10:18 PM
RE: DSomething I'm working on ... - by clasqm - 07-13-2015, 02:51 AM
RE: DSomething I'm working on ... - by clasqm - 07-08-2016, 11:07 AM
RE: DSomething I'm working on ... - by bbjimmy - 06-14-2016, 07:59 AM
RE: DSomething I'm working on ... - by bbjimmy - 06-17-2016, 03:22 PM
RE: DSomething I'm working on ... - by bbjimmy - 06-23-2016, 05:03 PM
RE: DSomething I'm working on ... - by clasqm - 07-06-2016, 01:43 PM
RE: DSomething I'm working on ... - by clasqm - 07-08-2016, 08:24 AM
RE: DSomething I'm working on ... - by clasqm - 07-11-2016, 05:12 AM
RE: DSomething I'm working on ... - by bbjimmy - 07-31-2016, 10:25 PM
RE: DSomething I'm working on ... - by clasqm - 08-07-2016, 04:26 PM
RE: DSomething I'm working on ... - by bbjimmy - 03-16-2017, 10:08 AM
RE: DSomething I'm working on ... - by bbjimmy - 03-17-2017, 03:12 PM
RE: DSomething I'm working on ... - by bbjimmy - 03-21-2017, 10:32 PM
RE: Something I'm working on ... - by clasqm - 04-14-2017, 05:02 PM
RE: Something I'm working on ... - by clasqm - 04-15-2017, 09:16 AM
RE: Something I'm working on ... - by clasqm - 04-24-2017, 09:34 AM
RE: Something I'm working on ... - by bbjimmy - 04-25-2017, 08:59 AM
RE: Something I'm working on ... - by clasqm - 04-27-2017, 02:10 AM
RE: Something I'm working on ... - by bbjimmy - 05-07-2017, 12:16 PM
RE: Something I'm working on ... - by clasqm - 05-08-2017, 01:25 AM
RE: Something I'm working on ... - by bbjimmy - 04-24-2017, 10:22 AM
RE: Something I'm working on ... - by clasqm - 05-02-2017, 03:24 AM
RE: Something I'm working on ... - by bbjimmy - 05-02-2017, 07:34 AM
RE: Something I'm working on ... - by lelldorin - 05-02-2017, 11:32 AM
RE: Something I'm working on ... - by clasqm - 05-02-2017, 11:43 AM
RE: Something I'm working on ... - by lelldorin - 05-03-2017, 01:40 PM
RE: Something I'm working on ... - by lelldorin - 05-06-2017, 03:50 PM
RE: Something I'm working on ... - by clasqm - 05-06-2017, 03:59 PM
RE: Something I'm working on ... - by bbjimmy - 05-13-2017, 09:12 PM
RE: Something I'm working on ... - by lelldorin - 05-14-2017, 02:32 AM
RE: Something I'm working on ... - by bbjimmy - 05-14-2017, 08:12 AM
RE: Something I'm working on ... - by lelldorin - 05-14-2017, 10:10 AM
RE: Something I'm working on ... - by clasqm - 05-17-2017, 02:32 AM
RE: Something I'm working on ... - by lelldorin - 06-03-2017, 04:34 PM
RE: Something I'm working on ... - by bbjimmy - 06-05-2017, 10:25 AM
RE: Something I'm working on ... - by bbjimmy - 06-14-2017, 10:42 AM
RE: Something I'm working on ... - by clasqm - 06-15-2017, 11:08 AM
RE: Something I'm working on ... - by bbjimmy - 06-18-2017, 10:51 AM
RE: Something I'm working on ... - by clasqm - 06-18-2017, 11:29 AM
RE: Something I'm working on ... - by bbjimmy - 06-25-2017, 10:09 AM

Forum Jump:


Users browsing this thread: 11 Guest(s)
Free Web Hosting