34 comments

[ 3.2 ms ] story [ 81.1 ms ] thread
Really neat. This is something I wouldn’t even know to look for as a library.
This is the most hilarious package. Can't wait to try it out!
Nice! Let’s write some Twitter bots with that...
This looks great! Is there anything similar available in other languages?

BTW if the author is about, there's a broken link at the bottom of the homepage, to https://berkin.me/rantdocs

How I wish this was in C.
could ahead of time compile it to a native dll and pretend
Oh? Friend, may you link me to wherever I can learn more about this? I wanted this in C, so that I could bind it to Crystal [1].

[1]: https://crystal-lang.org

Fixed. Thanks for pointing it out.
I've looked for this and never found the right search term. Nice!

Likewise, I can't identify the search terms to find a library for extracting data from a text corpus - e.g. to identify addresses, dates, names, phone numbers. Does one exist?

I've smashed together a few regular expressions to brute-force it, but the accuracy is very low.

Loosely you're talking about named entity recognition/extraction (strictly you might not include addresses etc under this definition who but who cares). You might get some mileage out of tools like:

https://nlp.stanford.edu/software/CRF-NER.shtml

I'm reading the replies here trying to ID the one generated by Rant.
AAaaaaand it still looks like a machine code, not human readable code:

[rs:10;\s]{[rn]. - what is this?

::&a> ?? what is a? what is $?

(comment deleted)
Hi, most of this is shorthand for either several functions or functions with longer names. For example, [rs:10;\s] is the same as [rep:10][sep:\s].

The last example is used to synchronize results between dictionary queries. This particular one is short for "output the same word as any other query to this table with the match ID 'a'."

In retrospect it was a poor decision to use shorthand forms in prominent example snippets, and I'll consider revising them.

This would be a cool addon into a Unity C# game, easily spin up some procedural dialog by NPCs, have some rhyming characters, spit out some 'clues' in their rhymes then save those as text variables and store them in the environments puzzle as solution pieces. Kind of dehumanizing though for the game, like sucking out the soul.
That's the way the heart of games like Event[0] or Façade works.
I made a random sentence generator in Python about 10 years ago. It doesn't have any kind of pattern control (totally random), but it has different lists of nouns, verbs, adjectives, etc, and outputs grammatically correct sentences. I might steal some ideas from this, if I ever get around to working on it again.
this is a topic related to spintext, which is a technique for spam-filter avoidance.
Download link on website busted for me. Hugged to death? Getting BlobNotFound.
I used this a while back when I was researching a way to help people with macular degeneration. I'd created some visual distortions which could be applied to a VR headset (if you had eye-tracking information) which I hoped would improve reading ability in MD patients. I used Rant to generate some random text in Unity and then measured how reading speed varied.
Rant dev here-- Wow! This has to be the most interesting use case I've heard of in a while.
Funnily enough, there was a procedural text generation system in Cambridge (Phoenix) back in the day called... RANT.

There was also one called TOAD which was more venerable and popular. Anyone posting word salad was inevitably accused of using TOAD’s output.

It's just a rabbit!

> It has been refined to include a dizzying array of features...

RUN AWAY!

Sounds like a fun personal project, but looks like another esoteric language no one will use.