Live data from Hacker News

Show HN: Rant, a procedural text generation language

github.com

11–20 of 37 posts

Re: Show HN: Rant, a procedural text generation language

#11
This reminds me of polygen[1,2] that I discovered among the many programs packaged for Debian... but looks at least in some ways friendlier. Is it very limited/tailored/specialized for English?

[1] https://github.com/Enucatl/polygen [2} https://www.polygen.org [Mostly in Italian. I seem to recall there was a section in English ... but if there is I can't find any more]

Re: Show HN: Rant, a procedural text generation language

#13

Very cool! I attempted a very primitive version of this for generating band names[1]. Now I'm tempted to port it to Rant :) One bit of advice though - the "getting started" section could be a bit more helpful for new users... it should at least mention the language it's written in (C#)! [1] https://github.com/dandelany/band-name/blob/master/templates...

You might also like this polygen grammar:

http://www.polygen.org/it/grammatiche/musica_cinema_e_spetta...

Re: Show HN: Rant, a procedural text generation language

#14
I've made a similar project about two years ago in Python, called Choice Words [1]. I've had some really interesting results by encoding the grammar of SVG, which generates procedural drawings (the GitHub project shows an example).

My project was based on the Kant Generator, an example project from Dive Into Python[2].

[1] https://github.com/fdb/choicewords

[2] http://www.diveintopython.net/

Re: Show HN: Rant, a procedural text generation language

#16
This is really cool, I had been working on something similar.

I do think it's a little 'pejorative' to try to computationally define creativity, though.

Creativity seems to involve so many levels of cognition, and it really seems like you can automate it, describe it, or define it.

But as soon as you seem to define it methodically, and think you've got it, it changes in a way you can't anticipate, but which draws you into it with this force you can't ignore or escape. It's incredibly frustrating, but it's also very human.

Re: Show HN: Rant, a procedural text generation language

#17
post #10

Maybe not bad, definitely has few very cool features (rhymes impressed me), but I'm struggling to imagine when I'd actually need to use it. Sometimes I do need some random natural language text for testing, but then I usually just copy something from wikipedia or some book and it's guaranteed to be more random and more natural than anything I'd generate myself. No, hardly I'll ever need to generate natural-language s…

Being someone who wants to build something like this: there are plenty of uses that can build on top of text that is readable or meaningful. If you can get a computer to have a random conversation with itself, then that is very interesting.

Re: Show HN: Rant, a procedural text generation language

#19
post #18

What are some real world applications which use this approach of text generation?

Well, they say that naming things is one of the hard problems in CS, right? Use this to generate names for all your functions/classes/variables. Just preprocess your source code before you compile!
Post reply on HN