Every possible pun of the form ‘You put the X in Y’
locserendipity.com
locserendipity.com
Welp, I have to say it's a resounding success.
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.
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.
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.
Examples:
YOU PUT THE REFINE IN REFINERY.
YOU PUT THE DETECT IN DETECTS.
YOU PUT THE POLYTECHNOLOGY IN POLYTECHNOLOGIES.
But words with no commonality at all and a good rhyme are brilliant.
YOU PUT THE RUDENESS IN SHREWDNESS.
Put the romance in necromancer and
Put the fun in dysfunctional.
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. (!!?)
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).
"Farah" and "phero-" are both pronounced ˈfɛrə ("fair-ruh").
--Walter Bagehot, "The First Edinburgh Reviewers", an essay of 1855. You can find the essay at https://babel.hathitrust.org/cgi/pt?id=njp.32101068581279&vi... .
[Edit: removed stray colon.]
This also ties in to the other thing locserendipity.com does. It is a corpus of all pre-1918 books. Just use site:locserendipity.com in Google.
Ooooh. Topical.
Edit: also YOU PUT THE ERICA IN AMERICA. That's adorable.
Detractors of the popular genre of music often trot out the old adage "you can't spell crap without rap", but what most people fail to realize is that you can't spell fish and chip shop without hip hop.
If the opposite of pro is con then the opposite is progress is...
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...
"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...
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.
Get outta here!
There really needs to be a filter to block these kinds of results.
I wish the word links would let me navigate the set of puns rather than going to google. X links should let me see all the combos that have the same word in the X position. Y links should do the same thing, mutatis mutandis.
> YOU PUT THE OOOHS IN DEPOSE
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.You put the 'b' in subtle.
I don't know if there is something similar to the NLTK library with the mappings but for IPA
[1] https://medium.com/@the_ajohnston/how-many-rhymes-are-there-...
> YOU PUT THE WHICHEVER IN WHICHEVER.
You put the PYHRRIC in EMPIRICALLY.
You put the ALLAH in CLIMATOLOGIST.
You put the ICING in ENTICING.
You put the SCENT in DISINCENTIVE.
It includes names though, which are almost never interesting:
You put the REECE in RECENTLY.
nice
Also,
YOU PUT THE NATION IN EXTERMINATION.
YOU PUT THE SEWER IN PURSUER.
YOU PUT THE SIGH IN UNDECIDED.
YOU PUT THE ARREST IN OVERESTIMATE.
YOU PUT THE TROLL IN UNCONTROLLED.
YOU PUT THE GODLESS IN IRREGARDLESS. (Kinda need a Boston accent for this one)
I pun for mental stimulation, and to make everyone around me cringe.
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.
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.
If the author is reading I think a nice small improvement would be to prefix the Google search with "define" (as in: "define ${word}") to invoke Google's dictionary function.
Still, I love when small people silly personal projects get promoted in HN. We should have more of these.
YOU PUT THE DICK IN DIXIELAND
"You put the foo in bar?"
Fun lark, I laughed at some. Wondered at some others.
Please tell me this one is in there...
I probably screwed that up. Oops, I just made that up.
(mutters to self) another project I did not complete.
This is a nice one.
Might want to exclude this kind of trivial case.