93 comments

[ 3.3 ms ] story [ 163 ms ] thread
Amusing, although you should remove examples where Y is just the plural of X. I got "You put the rooftop in rooftops."
Even worse, "you put the climatologists in climatologist".

Still, I love when small people silly personal projects get promoted in HN. We should have more of these.

Good start--now if you can only make them funny.
Add a thumbs-up/down button, train a neural net. Easy peasy.
As a compulsive punner I object to the expectation they're supposed to be funny.

I pun for mental stimulation, and to make everyone around me cringe.

Some of these are a bit suspect...

> YOU PUT THE OOOHS IN DEPOSE

Just encountered > YOU PUT THE )PARENS IN (BEGIN-PARENS. Although arguably more of a feature than a bug
Yeah, it doesn't look like it's just string matching.

    YOU PUT THE MINNER IN PETROMINERALS. 
    YOU PUT THE GUINN IN GINSU. 
    YOU PUT THE READER IN TREDER. 
Seems like doing it "wrong" like this would actually be harder? I'm a bit confused.
Did you include:

"You put the foo in bar?"

Fun lark, I laughed at some. Wondered at some others.

> YOU PUT THE EXACT IN INEXACT.
This reminds me of precision vs accuracy.
Oh lordy, I've got a thing to say about your Javascript.

You could keep the word pairs server side and retrieve them as the page is accessed... or at the very least if you're going to store all your data in a static file you could store them in an array to save space, instead of the whole links. You could get real fancy and make some kind of soundex map thing.

Question: did you just break each word into syllables, and find soundex matches?

No worries, though, I like the compulsive punning. I just like talking about things on the internet.

I just did string matching (on about 7.6 billion items 133000^2) and matched the pronunciation portion. It’s a fun lark.
What the...

Is that a function with a 560000+ lines long comment inside of it, that gets turned into a string, then sliced, and split on newlines, then assigned to a global variable that gets used in another global function?

It took a minute just to open the source code in my browser. Chrome used 5.2GB of RAM while viewing the source code, just for that tab.

Yeah! Just goes to show you can make a cool thing that is really quick and dirty under the hood.

You could make this page load instantly by making the random selection happen in the backend instead of in the browser, but then I guess it would no longer just be a static file.

You could also just have a compact array of pairs and then generate the sentences in the browser instead of having half a million pre-generated strings.

(comment deleted)
This is one of those things I would have just assumed was impossible, so never would have tried. Not that I should try something like this, mind, but it is a good reminder not to underestimate these machines we have.
(comment deleted)
This reminds me of the time I needed to generate some names for testing, and I simply combined the Social Security list of most common first and last names at random. It turns out that the vast majority of possible name combinations are terrible. Not quite "Sleve McDichael" from the notorious Super Famicon game, but close.

Like this, I could read through a whole page of names before finding one that scans. Bennett Takeshita, e.g., is effectively unpronounceable.

https://www.avclub.com/check-out-these-wonderful-american-na...

I noticed there's a few cases where a th sound puns with a t sound. For example, you put the OUGHT in ROTHMEYER. Intentional due to loose matching? Uncertainty in pronunciations? Or is this a bug where the θ phoneme is represented as the digraph th?
I just did an index of match, so the t from th could have matched. It was quick and dirty, but it’s just for fun, so please forgive those
I like it! I started making a similar kind of page before as a brainstorming challenge: "noun is like a noun".

2 people could sit in front of the screen, and the first person to guess how the nouns are similar would win the point.

http://peterburk.github.io/programs/nounIsLikeANoun/index.ht...

I'd also like to make a pun dictionary of similar-sounding words in English & Chinese, using the data I already gathered for Pingtype.

It would be neat to let people vote up and down to give some social value component.
I had calculated the square of the number of words in the dictionary and was disappointed to see that some were missing on the site.
Just used CMUDICT 0.7 which had 133000 or so entries, so there could be others if you used the OED. I did learn a lot of words from this though
What pronunciation dictionary did you use?

I've been looking for a good one that 1. includes variant pronunciations, and 2. distinguishes all phonemes, e.g. considers Rosa's and roses distinct. So far I haven't found any that fulfill these criteria.

Saw one that makes sense "You put the insel in tinseltown".
Is there a way to search in the list? I want to see if it has caught "put chalk in chocolate" (typically used regarding to Hershey's).
View source and you can see all of them
Thanks. I see that it does include it.
I'm going to stick with my favorites.

Put the romance in necromancer and

Put the fun in dysfunctional.

“Gee, boss, you really know how to put the fun in funeral.”—Harley Quinn
Got "man in romance" and thinking about chaining a few of these together now.
Would be good to prioritize popular words, if that data is out there.
"You put the Dinosaur in Dinosaurs"

Get outta here!

"YOU PUT THE RHEAULT IN CROSSNO"

"YOU PUT THE OUGHT IN REAUTHORIZE"

I'm not positive what's going on here, but it seems like it's incorrectly detecting syllable divisions? If it thinks that the division is between "o" and "s" in the first and between "t" and "h" in the second, those results would make sense. I don't think anyone actually pronounces "reauthorize" like "warthog", though...

Third result:

> YOU PUT THE WHICHEVER IN WHICHEVER.

Technically correct, which is the best kind of correct.
(comment deleted)
6 winners among a sea of .. not .. winners.

You put the SCENES in Francine's.

You put the DORIS in Maquiladoras.

You put the UNDER in underwriting.

You put the SOMETHING in Twentysomethings.

And the two actual puns:

You put the RACY in Gracie.

You put the BROAD in Broadway.

You put the KILLED in unskilled
Wow, some of these are really unique and would be EASILY missed by simpler string matching. I had to read some out-loud to understand

Faves:

> YOU PUT THE OUGHT IN WATERCOLORS.

> YOU PUT THE REITAN IN FRIGHTENED.

> YOU PUT THE EFFICIENTLY IN INEFFICIENTLY . > YOU PUT THE BORED IN DEBORD.

> YOU PUT THE FARAH IN PHEROMONES. (!!?)

> YOU PUT THE DICKS IN DICTIONARIES

This is great! Just wish it was possible to filter out uncommon words. I have no idea what half of them means or how they're supposed to be pronounced (non-native).

> > YOU PUT THE FARAH IN PHEROMONES. (!!?)

"Farah" and "phero-" are both pronounced ˈfɛrə ("fair-ruh").

> YOU PUT THE SPORT IN TRANSPORTING.

This is a nice one.

My favorite lexical pun, but not auditory, is "You put the laughter into slaughter".