News: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. October 26, 2014, 10:26:28 AM


Login with username, password and session length



Pages: 1 [2]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Fractal poetry  (Read 12873 times)
0 Members and 1 Guest are viewing this topic.
kram1032
Fractal Senior
******
Posts: 1588


« Reply #15 on: April 14, 2012, 09:00:01 PM »

how hard would it be to extend this to arbitrary word length and number?
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 1666


The spaghetti formula coder


« Reply #16 on: April 15, 2012, 05:26:56 PM »

Well, I would need to use dynamical pointers and allocation... This involves in potential mem errors and some complications sad ... C does not support very easily this stuff. I made it sometimes but in this case is it worth it? cheesy

EDIT; Updated the program and the dics bubble gum dancing banana

Sample poetical output grin

Code:
no bucket everytime cold from
what fractal to count yet
bottom fear black complex do
long sin yet sleep thousand
chaos fear himself suck !
how head late can
the monk who get further
on key themselves raw thing
light waveform secret bold mind
step god infinite rebuild i
behind destruction nothing count me
once leaf during simple on poisoned where happy everyone
reality sun alien count what
behind iteration cannot hang everything groove never cut broken
« Last Edit: April 15, 2012, 05:29:09 PM by DarkBeam » Logged

Formulas are never too much (?)

DarkBeam
Global Moderator
Fractal Senior
******
Posts: 1666


The spaghetti formula coder


« Reply #17 on: April 16, 2012, 07:05:07 PM »

I have decided to release the source code too, and updated the lists & the program. It's so crappy but usable wink

Enjoy cheesy

* poe.zip (19.77 KB - downloaded 50 times.)
« Last Edit: April 17, 2012, 07:08:56 PM by DarkBeam » Logged

Formulas are never too much (?)

kram1032
Fractal Senior
******
Posts: 1588


« Reply #18 on: April 17, 2012, 12:25:07 AM »

My first try with that:
Code:
impress thing smoke quare
fail night death no
jump meaningless wallet first
low joker at computer night
match and
between happy part street day
while curl else top
you urban power done
noble counter if help endless
make peace poisoned the
in noble meaning farm yourself
zero blur myself sex universe
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 1666


The spaghetti formula coder


« Reply #19 on: April 17, 2012, 07:11:16 PM »

Nice, program updated cheesy

Code:
hanging heart free dirt then
new floating weak car than
stay catoblepas without knowledge after
mechanic really heretic step
curl fear program phone real
full entire dream children beginning
give triton fear asleep
to poison step girlfriend where
hybrid catoblepas without life free
blend bucket really host weak
word then girlfriend myself
alien forbid already counter new

I tuned it so now it tends to repeat some words (without repeating entire phrases hopefully) and verses are more regular - it's still possible to use it like before. Tune the preferences to do so Azn
Logged

Formulas are never too much (?)

kram1032
Fractal Senior
******
Posts: 1588


« Reply #20 on: April 18, 2012, 09:26:43 PM »

Huh, now this is weird...
Your program might have a viral bug. I really wonder how that could have happened though.
It randomly renames things?


The Folder, called "poemify (1)" - originally called "poemify" by me, the (1) got added later - is the one with the program in it. It contains the following files, as hopefully expected:


All the other poemifys I did NOT call like that. They renamed themselves.
I've never seen such a thing happen. O.o

I moved all the "infected" files to an own folder now... Previously, they were on the Desktop.
I hope, it wont rename anything that isn't on the same file-level.
« Last Edit: April 18, 2012, 09:32:47 PM by kram1032 » Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 5663


formerly known as 'Trifox'


WWW
« Reply #21 on: April 19, 2012, 01:18:21 AM »

ehrm people, i am not a professional poet, but shouldnt it at least rhyme !?!?!?!
or does it ? i dunno!
Logged

---

divide and conquer - iterate and rule - chaos is No random!
kram1032
Fractal Senior
******
Posts: 1588


« Reply #22 on: April 19, 2012, 08:51:48 AM »

modern poetry doesn't NEED the rhyme. Many poets deliberately break that rule.
Though it would indeed be nice if it rhymed or if that at least was an option.
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 1666


The spaghetti formula coder


« Reply #23 on: April 19, 2012, 10:49:15 AM »

Yes but some words do not rhyme... or it would require a huge dict.
Rhyme with "of"? ... cheesy
Logged

Formulas are never too much (?)

DarkBeam
Global Moderator
Fractal Senior
******
Posts: 1666


The spaghetti formula coder


« Reply #24 on: April 19, 2012, 11:03:11 AM »

Huh, now this is weird...
Your program might have a viral bug. I really wonder how that could have happened though.
It randomly renames things?

Really do not know how this can happen at all. Tell me when it happened and the settings you used :smiley
Logged

Formulas are never too much (?)

DarkBeam
Global Moderator
Fractal Senior
******
Posts: 1666


The spaghetti formula coder


« Reply #25 on: April 19, 2012, 11:05:41 AM »

modern poetry doesn't NEED the rhyme. Many poets deliberately break that rule.
Though it would indeed be nice if it rhymed or if that at least was an option.

Two words rhyme when the two last chars are equal? (This is a simplified rule).
My program can not understand phonetical stuff wink

What can happen when the last word is "I", "a", or a sign like "..."  shocked
Logged

Formulas are never too much (?)

kram1032
Fractal Senior
******
Posts: 1588


« Reply #26 on: April 19, 2012, 12:39:52 PM »

well, I only used the program once so far, with the result of the poem I posted above.
I'm not really sure what values I used but maaaaybe it was
63, 42
At least that comes to my mind if I think back to that situation.

It's really the weirdest kind of bug I've ever seen.

Also, I didn't notice this right away. I'm not even sure if your program is the source for that. But since all kinds of files and folders got renamed into that, it's at least what I assume.

imperfect Rhymes on of:
Cough.
tough.
rough.
off.

Tell me about the switch of
rough coughs which's turn'd off.
Logged
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 1666


The spaghetti formula coder


« Reply #27 on: April 19, 2012, 04:06:17 PM »

Ok, but... A simple algorithm that finds if two words "rhyme"? Language independent? If it does not exist I can't do it tongue stuck out

Let's say that the last word used in the previous verse is in a temp buffer t[15], a null terminated C string wink

It can be a null string in some cases of course, in this case we exit immediately.

All other words are in a big array (let's call it words[0 to 2][0 to 499] - but not all filled with words, limits are stored in another index ... )

Excluding rhyme of two identical words of course cheesy

And... We should need to enum all possible rhymes then choose the word with a criteria... That's not so hard.
« Last Edit: April 19, 2012, 04:08:28 PM by DarkBeam » Logged

Formulas are never too much (?)

kram1032
Fractal Senior
******
Posts: 1588


« Reply #28 on: April 19, 2012, 06:04:22 PM »

Maybe you can invent some sort of phonetical coding (it probably isn't even that difficult, just ennumerate the phonetic table from  to whatever) and save the words in that form (a bunch of integers).
That's how they are compared.
Written, however, they are how they should be.

The problem with that is, that it takes a lot of time to build such a phonetic dictionary, unless you actually find one on teh webz.
(Mary TTS might have some of those somewhere... not sure though)
Logged
Pages: 1 [2]   Go Down
  Print  
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
Fractal Video, Fractal Applet Web Site Meet & Greet ianc10 1 2196 Last post October 02, 2006, 09:19:59 PM
by heneganj
Fractal Explorer - fast fractal generator for Android Smartphones / Mobile Devices Black 6 2743 Last post November 29, 2010, 10:18:20 AM
by Cyclops
Fractal Lab - WebGL fractal renderer 3D Fractal Generation « 1 2 » subblue 16 6001 Last post March 09, 2011, 11:46:38 PM
by paolo
Where do the Fractal Science Kit users congregate for fractal posting. Fractal Science Kit wmauzey 4 911 Last post February 27, 2012, 12:39:58 AM
by wmauzey

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.261 seconds with 29 queries. (Pretty URLs adds 0.014s, 2q)