Of all the horrible things on the internet, this one only ever really rated as like 2.5/10. Sure, it's unpleasant, but it's no Goatse / Tub Girl / Mr. Hands.
<name> had that <adj-appearance> look on his face, a <face>, ready to start <verb.ing-violent> his <noun -long> <quality.more -physical> into my <noun -body>. I only felt <emo> as he was a <job> after all
check the dictionaries. The name at the top is what you use in the tag. the -long or -violent attributes refer to the classes of the words. The .more refers to the subs at the top of the dic
Good luck!
Eastwood had that beautiful look on his face, a pout lip, ready to start dominating his manhood wetter into my boner. I only felt remorse as he was a president after all
I'm having wayy to much fun with this. Thanks for the template! "Thimba had that short look on his face, a cheeky grin, ready to start strangling his screwdriver faster into my sphincter. I only felt torment as he was a rapper after all"
<name> had that <adj-appearance> look on his face, a <face>, ready to start <verb.ing-violent> his <noun -long> <quality.more -physical> into my <noun -body>. I only felt <emo> as he was a <job> after all
Foster had that smoggy look on his face, a blank face, ready to start snipping his manhood harder into my vagflap. I only felt lust as he was a guitarist after all
Haha thanks, it's always a nice suprise to meet someone who has heard of SoA. Anyways thanks I'll take a look at this! We are going to need a bit of procedural text in our game most likely.
I got 3 sexual nouns in a series of 4 runs (scrotum, dick, stinger, vagina). Does this favour explicit content? Is this a Cards Against Humanity generator? :p
I'm very curious to hear what the game development community thinks about my project
Every text generation library contains an informally-specified, bug-ridden implementation of Grammatical Framework.
Now, GF is rather intimidating, but then the general topic is and I'm quite sure that as soon as things get complicated enough, you'd wish you'd have used it instead of rolling your own.
I remember doing maintenance / new adventure releases on a text-based RPG engine for mobile devices. One carrier sent the whole thing back, saying that there's a distinct lack of gender agreement between things should one choose a female adventurer. It so happens that the inflection engine was written with German and English in mind, then someone wanted French adventures, and the translator did the best possible... which wasn't enough.
We just removed the option to choose a female player character. It would've been worth the bother if the engine supported it, but re-writing the whole thing was out of the question. Also because my French, where it exists, sucks. In the end, the French valued L'Académie more than equal gender opportunity.
Using GF, there'd be no problem in the first place because that thing a) speaks a ton of languages and b) if it doesn't, the grammars themselves are written in GF.
That said, GF definitely has problems with prose quality if you generate everything. But a hybrid approach between automated and manual translation is definitely viable, and what I'd recommend: Keep "The entry hall looks big and imposing" as plain text, intersperse with generated parts any- and everywhere where things are variable.
Now I only need the chance to actually use that thing.
That was my first thought as well. Unless this project can support the most commonly skipped languages it'll be useless to large projects, or will require separate coding for other languages.
That's a problem, im not on Unity 5 yet, and wont be till the free version comes out. If no one does port it by the time the the free version of unity 5 comes out, ill be sure to do it
I have seriously considering writing a little web chat app recently, I want to include this as a command. /rant I could really <verb> an <adj> <noun> right now. or something along those lines :P
I also took the liberty of switching <adj> out for {an <adj?//[aeiou]//i>|a <adj?!//[aeiou]//i>} -- this is sort of a stopgap fix, though. OP: does Rant have the ability to determine what sound a word begins with, so that it can correctly print (for example) "an honest" in this example?
So just the other day we were looking at a way to brute-force test our chat filter to try and find holes resulting from filter collisions before the users (children) do.
This seems like an interesting and profitable way to monetize your project here.
One way would be to get with filter providers and offer it as a service. You connect to their service, feed it a bunch of lines, and return the ones that weren't filtered. For example, you'd say, "I bet I can get the F-word into your community" and then prove it.
Another way would be to approach the clients of the filter technology and provide them with the service. "How well is your filter really working for you?"
I tried to get as close to the epic insult from Monty Python and the Holy Grail as possible, but a lack of certain key words made this the best approximation:
Your <rel> <verb.ed-intransitive> \a <noun-animal> <conj>
your <rel> <verb.s-intransitive> <adv> <with> \a <noun.singular>!
Which becomes stuff like:
Your daddy rolled a beetle and your girl rustles stubbornly with the help of a velociraptor!
Your aunt pulled an octopus and your boss bakes unnecessarily with a peninsula!
Your grandma sculpted a lizard nor your master fumes hungrily without a peanut!
Your buddy defecated a tyrannosaurus rex but your grandson breastfeeds magically without an epidermis!
Your child sprinkled a tuna so your godfather cuddles mildly inside of a soup!
Rant is very customizable, playing around with it for a few hours has given me some pretty solid results, I made a fetch quest generator with it :) The dictionary would have to be customized depending on the game setting, and of course removing all the inappropriate nouns and adjectives.
OK guys. Who's going to write the first "Alternative names for Benedict Cumberbatch" generator? I would, but I don't have time. Also I'm quite new to this programming language.
All I could come up with was "<adj><verb>" to find new names for Coldplay. Skepticalblast sounds good, but Guiltybreastfeed takes the cake!
This is so cool. In particular, the Queries are really blowing my mind. Liamdev's example of <noun -long -body> is very impressive.
Is there a place I can find a comprehensive list of supported queries? While his examples seem to demonstrate a pretty open-ended usage, I haven't had as much luck with my own random attempts.
It would be really cool if you or someone else made a Construct 2 plugin/behavior for this. Generate random text and store parts into variables. I'm not sure how hard it would be/ how much interest in doing it. Here is the API.
Oh wow, yea that is a huge undertaking. I'm going to post as request on the Construct 2 forums and see if anyone bites. Very cool project, it really <verb-transitive>s my <noun.plural>!
Procedural generation is pretty much just random content that is generated on the fly - the most obvious example is minecraft. So procedural text generation is the same, simply with text.
if playerLanguage == spanish{
dictionary.current = spanish
}
And since text is so insignificant, memory-wise, you can probably also throw all your languages into one dictionary so you can have certain characters speak a specific language or have a character say a word in another language, or something.
Which is all well and good as long as you restrict yourself to languages which have the order of the words in the same sequence; hence the localization of the rant patterns themselves, and selecting the correct rant pattern for each string based on the language.
At a point, your code is going to look similar to code which uses gettext. I don't think there's a way around it when doing i18n and l10n.
You could use this for offline content generation, for coming up with content while you're in development then translate. Beyond that I'm not sure how you'd want to use this at run-time without it seeming gimmicky.
The big problem seems to be meaning - what use is generating text that has no semantic link to the game? "Go <verb -get> me a <noun -item> and <verb -put> it in my <noun -hole>."
Edit: to be clear, that was supposed to be a randomly generated quest with dangerous possible results.
Well, it's open source, isn't it? It shouldn't be too hard to make a version for your language. For example, I already see what adjustments would I have to make for it to output Russian.
This story generater was also recenetly posted on this subreddit. I'm thinking combing that for the plot and characters then this for the dialogue would be an amazing combination. You could generate entire stories or quest lines!
Wouldn't it make sense for the front page to indicate how you actually integrate Rant into a project? Like if I had an Android game programmed in Java and Javascript...what do I do?
One thing I'm missing however is the ability to seed the randomizer. A "[seed:x]" function that makes it produce the same results for the same patterns would be really neat.
i thought this was a thesaurus word changer, so you could put in the red car and it'd put out stuff like the maroon car or the crimson car :D, if you add that functionality that'd be awesome :)
80
u/DubstepCoder Seed Of Andromeda (@ChillstepCoder) Nov 24 '14 edited Nov 25 '14
Would be neat to see some complex examples using Rant to show what it is capable of.
Edit: I feel violated now.
31
u/auxiliary-character Nov 24 '14
There is a lot of nsfw text in its dictionary.
23
u/eposnix Nov 24 '14 edited Nov 24 '14
I love <verb.ing> <adj> <noun.plural>
18
u/Scott_Monkey Nov 24 '14
I got 3 sexual nouns in a series of 4 runs (scrotum, dick, stinger, vagina). Does this favour explicit content? Is this a Cards Against Humanity generator? :p
32
u/barsoap Nov 24 '14
Every text generation library contains an informally-specified, bug-ridden implementation of Grammatical Framework.
Now, GF is rather intimidating, but then the general topic is and I'm quite sure that as soon as things get complicated enough, you'd wish you'd have used it instead of rolling your own.
I remember doing maintenance / new adventure releases on a text-based RPG engine for mobile devices. One carrier sent the whole thing back, saying that there's a distinct lack of gender agreement between things should one choose a female adventurer. It so happens that the inflection engine was written with German and English in mind, then someone wanted French adventures, and the translator did the best possible... which wasn't enough.
We just removed the option to choose a female player character. It would've been worth the bother if the engine supported it, but re-writing the whole thing was out of the question. Also because my French, where it exists, sucks. In the end, the French valued L'Académie more than equal gender opportunity.
Using GF, there'd be no problem in the first place because that thing a) speaks a ton of languages and b) if it doesn't, the grammars themselves are written in GF.
That said, GF definitely has problems with prose quality if you generate everything. But a hybrid approach between automated and manual translation is definitely viable, and what I'd recommend: Keep "The entry hall looks big and imposing" as plain text, intersperse with generated parts any- and everywhere where things are variable.
Now I only need the chance to actually use that thing.
15
u/naitsabes Nov 24 '14
Someone (I have neither time nor the know-how) should make this into a reddit bot...
11
u/FIleCorrupted @FileCorruptedGM Nov 24 '14
I might spend some time tonight building this into unity, perhaps release it as a free package, is that okay with you?
8
u/RememDBD Nov 24 '14
Leave me alone. I'm <verb.ing> the <noun.plural>.
10
u/[deleted] Nov 24 '14
I have seriously considering writing a little web chat app recently, I want to include this as a command. /rant I could really <verb> an <adj> <noun> right now. or something along those lines :P
5
u/DesolationRobot analytics Nov 24 '14
So just the other day we were looking at a way to brute-force test our chat filter to try and find holes resulting from filter collisions before the users (children) do.
This seems like an interesting and profitable way to monetize your project here.
You could be like the Sneakers of chat filtering.
5
u/FunExplosions Nov 25 '14 edited Nov 25 '14
Holy shit. Good dictionary.
8
u/kitsovereign Nov 24 '14
Is it possible for somebody making a Twine game to make use of this?
4
u/uffefl Nov 25 '14
I tried to get as close to the epic insult from Monty Python and the Holy Grail as possible, but a lack of certain key words made this the best approximation:
Which becomes stuff like:
Would you like to rant more?
8
u/ninjamuffin Nov 24 '14
got this on my first try
3
u/totes_meta_bot Nov 24 '14 edited Dec 19 '14
This thread has been linked to from elsewhere on reddit.
If you follow any of the above links, respect the rules of reddit and don't vote or comment. Questions? Abuse? Message me ^here.
3
u/floatvoid Nov 24 '14
I'm currently working on a game that has thousands of randomly generated NPCs. This could be very useful. Thanks!
3
u/oversloth Nov 25 '14
Oh man this is fun. Will surely waste a lot of time with this (and maybe use it to create something useful at some point, who knows..)
"nasty wall daintily titfucking the edgy yet somewhat envious organicly cuddling hemorroid"
Beautiful.
3
u/wolfx Nov 25 '14
I love this, would you mind cross posting this to /r/proceduralgeneration ?
3
u/trunksbomb Nov 25 '14
Give this one a try.
http://berkin.me/rantbox#B5133D15FA15A61CB01E5F98B31A514A3AB71EFF
3
u/[deleted] Nov 25 '14
If this was a game, I think I have won.
http://berkin.me/rantbox#414C995ED56ECD032C33DEA8B8495586B175A687
2
u/oversloth Nov 25 '14
OK guys. Who's going to write the first "Alternative names for Benedict Cumberbatch" generator? I would, but I don't have time. Also I'm quite new to this programming language.
All I could come up with was "<adj><verb>" to find new names for Coldplay. Skepticalblast sounds good, but Guiltybreastfeed takes the cake!
2
u/danfinlay Nov 25 '14
This is so cool. In particular, the Queries are really blowing my mind. Liamdev's example of <noun -long -body> is very impressive.
Is there a place I can find a comprehensive list of supported queries? While his examples seem to demonstrate a pretty open-ended usage, I haven't had as much luck with my own random attempts.
2
u/DaaOtt Nov 25 '14
Are there any patterns that sound like they were written by a human?
2
u/generic_ghost @_LCKY Nov 25 '14 edited Nov 25 '14
It would be really cool if you or someone else made a Construct 2 plugin/behavior for this. Generate random text and store parts into variables. I'm not sure how hard it would be/ how much interest in doing it. Here is the API.
2
u/LittleCodingFox @LittleCodingFox Nov 25 '14
Love this, it'll be greatly useful for a project I have in the backburner. Thank you kindly for both your work and for choosing a sensible license!
3
u/[deleted] Nov 24 '14
Can someone please explain to me what Procedural Text Generation is?
(Noob here, sorry.)
5
u/Cinskiy Nov 24 '14
There is one thing though, games that use this will become unlocalizable.
1
u/[deleted] Nov 24 '14
And it's written in c#, even better!
1
u/[deleted] Nov 24 '14
This is one of those ideas that seems so simple, once someone else has thought of it. Well done!
1
u/stopbeingsocow Nov 24 '14
is excite
1
u/SenorOcho Nov 25 '14
Man, I headbutt it when grabbing toothpastes mist all over the staple.
I have no clue what legitimate use I could find for this, but it is fun to play with.
1
u/CanICanTheCanCan Nov 25 '14
How modifiable is this? Lets say I want to add new words or new types of words could I do that?
1
u/Charlie2531games Nov 25 '14
Perhaps you could add some kind of filter to find relevant words. I entered one of the examples in the documentation.
Input: I could really use a <noun> right now.
Output: I could really use a anus right now.
1
u/william_moran Nov 25 '14
Wow ... this is useful and fun. You win at the Internet.
1
u/[deleted] Nov 25 '14
Really? You have 'butthair' in the noun list? Because that won't lead to awkwardly unanticipated phrases at all.
1
u/pekuja Nov 25 '14
Here's my "hello world":
1
u/[deleted] Nov 25 '14
This story generater was also recenetly posted on this subreddit. I'm thinking combing that for the plot and characters then this for the dialogue would be an amazing combination. You could generate entire stories or quest lines!
1
u/patchworkempire Nov 25 '14
You should post some sample snippets for #TextPieceTuesday :)
1
u/MrBiscuity Nov 25 '14
Oh god... I tried <noun> <verb.ing-violent> is my favorite! and got pussy impaling is my favorite!
1
u/Dykam Nov 25 '14
So a thing I haven't been able to figure out is how to limit carriers to a block. This:
Generates:
I rather have it generate something like
And not sure if it's a bug, but
[set: ]doesn't generate a space, and with a double space it does it inconsistently.1
u/[deleted] Nov 25 '14
I like this. I did something similar for a small procedural rogue-like. Nothing like a Short Longsword of Lengthening
1
u/[deleted] Nov 25 '14
Turbohump the thong! I'm decapitated. Impressive.
1
u/[deleted] Nov 25 '14
I urgently request the addition of a "spacker" and "yognaut"
1
u/Smallpaul Nov 25 '14
Wouldn't it make sense for the front page to indicate how you actually integrate Rant into a project? Like if I had an Android game programmed in Java and Javascript...what do I do?
1
u/voarix Nov 25 '14
Hey, i was wondering why you are targeting C# 6? Fairly annoying it wont even compile in visual studio.
1
u/TheSind Nov 26 '14
This looks quite cool.
One thing I'm missing however is the ability to seed the randomizer. A "[seed:x]" function that makes it produce the same results for the same patterns would be really neat.
1
u/Krohun Nov 26 '14
i thought this was a thesaurus word changer, so you could put in the red car and it'd put out stuff like the maroon car or the crimson car :D, if you add that functionality that'd be awesome :)
1
u/buhbuhcuh @buhbuhcuh Nov 24 '14
Very cool.
1
u/AlexJMisCool Nov 24 '14
What a time to be alive. Amazing!
1
u/Orvel Nov 24 '14
ಠ_ಠ
1
u/OctagonClock Nov 24 '14
Hi Berkin!
0
u/[deleted] Nov 24 '14
This is hot
0
u/[deleted] Nov 25 '14
[deleted] — view deleted comment
0
u/[deleted] Nov 25 '14
[deleted] — view deleted comment
0
u/[deleted] Nov 25 '14
[deleted] — view deleted comment
0
u/[deleted] Nov 24 '14
[deleted] — view deleted comment