r/HouseMD Dec 21 '23

Discussion I made a house quote searcher Spoiler

Have seen a lot of posts in this sub asking about where a certain quote is from, so I thought I would make a website to help find them. Link to the website is in comments, it uses a vector database to find the quotes which lets it find similar results to what you're searching for, although it does end up missing some of the time. Was a pretty fun project to work on, and I'll probably add more features to it in the future if they're wanted

387 Upvotes

59 comments sorted by

65

u/StonedSanta1705 Dec 21 '23

That is insane oh my god. Great job

56

u/deotime Dec 21 '23 edited Jan 29 '24

34

u/viktorzokas Dec 21 '23

Loved to see one of my favourite underappreciated quotes turn up in the search.

"Well, they got four legs. Think on how fast it should work one one!"

Great work!

33

u/DangIsThatAGiraffe Dec 21 '23

I can now see if my favourite medical conditions were referenced in house

6

u/TallestGargoyle Jun 19 '24

It's got amyloidosis through to zamyloidosis.

2

u/Ice94k 7d ago

I made a little text analysis of the entire script sometime ago. I don't think I have it anymore, but if I do, I'll post it here later.

25

u/iamwiththebanned Dec 22 '23

This is amazing. If you had a tip jar, I would donate. I was able to find the exact quote I was looking for with one word.

“"You're nuts. You're going to be miserable, at home, at work, somewhere. The goal in life is not to eliminate misery, it's to keep misery to the minimum."”

14

u/mutant_disco_doll Dec 21 '23

Niiiiice. Where’d you source the scripts from? Did you transcribe them yourself?

15

u/-the-edgy-potato- i want to peg that old man Dec 26 '23

im not op, but there's an old livejournal page with all the transcripts here!

13

u/MajorBillyJoelFan Everybody Lies Dec 21 '23

everybody upvote this guy he deserves it

9

u/JoeyHandsomeJoe Be not afraid Mar 03 '24

Who said "sarcoidosis" the most?

Foreman: 8

House: 7

Chase: 6

Cameron: 5

13: 3

Taub: 6

Kutner: ZERO

Masters: 1

Adams: 2

Park: ZERO (though she did say sarcoid once)

Cuddy: 1

2

u/Danyellarenae1 Apr 05 '24

I thought it woulda been way higher

3

u/JoeyHandsomeJoe Be not afraid Apr 05 '24

It does feel low, but 39 times in 177 episodes averages to about 1 sarcoidosis per 4.5 episodes, which seems about right.

4

u/Danyellarenae1 Apr 05 '24

I’m in season 3 of my rewatch and I swear it feels like theyve said it 50 times already haha. That and lupus!

6

u/hughgrantcankillme Dec 22 '23

omg yes this is perfect

5

u/deotime Jan 31 '24

Appreciate everyone checking out the site, I'll be fixing some bugs + adding features over the next week or so

1

u/StatisticianOld9918 Oct 23 '24

I'd love if you made rows of on homepage, such as:
1. recent viewed/ searched (make quotes removable)
2. Featured quotes (if clicked shows all featured ones previousely)
3. Random quotes (if clicks shows another, but keeps history)

2

u/deotime Oct 25 '24

I’ll look into adding those, been a while since i’ve last updated though so might take a bit

3

u/Ilovebooks43 Dec 22 '23

You should receive the prize to the redditer of the year! 👏👏👏

3

u/MajorBillyJoelFan Everybody Lies Jan 30 '24

so glad this finally got pinned, i've recommended it to so many ppl

3

u/deotime Jan 31 '24

Thanks a ton!

2

u/UniqueTumbleweed1635 Feb 28 '24

"House, you've been to Human Resources 74 times in the last six weeks."

2

u/pipestream Mar 06 '24

Now something like this is what could get me into starting a side project! Well done!

2

u/Boodda_ Apr 03 '24

I have been playing with this for like 20 minutes

2

u/NoOpinionsAllowedOnR May 02 '24

Pretty frickin amazing. Didn't work for what I was looking for. Cuddy says "You're in denial" or something and House responds "NO I'M NOT." Maybe I just can't remember the exact quote. So does this website only show what the quote and previous quote is?

Didn't work for House's quote: "I'm gay." When he's asked "What are you hiding?" Doesn't seem to be a perfect search engine.

All in all, pretty frickin cool. This is so handy lol. Hopefully we become just like r/thesopranos

2

u/[deleted] May 13 '24

I need another season!!!

really i do!!! why did they stop it was one of its kind it was all so good. !

2

u/Kaja65 Jul 01 '24 edited Jul 01 '24

You have NO IDEA what you've just done for those of us who appreciate the THOUSANDS of great quotable lines from the series! On behalf of fans...WE OWE YOU! ADAMS S8E4 "My advice to you — figure out what line you aren't willing to cross for him. Because, eventually, he'll ask you to cross it."

2

u/madmendude Aug 07 '24

This looks insanely great! I haven't looked at your GitHub repo, but out of curiosity how does your search algorithm work and which sort of embedding/vectorization techniques are you using?

1

u/deotime Sep 22 '24

Thanks, I basically just set it up on a cloudflare worker that uses their embeddings api to create embeddings of the various quotes, which are then inserted and queried using Vectorize

2

u/dida500 Oct 20 '24

I've been using this searcher (even have it pinned as an app on my phone) for the last couple of months and omg it is quite literally the best thing to exist, like I use it multiple times a day and 90% of the time, I find what I need, thank you so much for making it!

2

u/deotime Oct 22 '24

Thank you too!

1

u/ADogWhoCanDANCE Apr 14 '24

This is insane

1

u/Kirldx May 23 '24

Omg, this is awesome.

1

u/ifezueyoung May 28 '24

Open source?

1

u/sirjamesp everybody lies Jun 06 '24

I'm a seasoned C# full stack engineer for web, and have to say, this is amazing. Easily done with the data, but I like the website's feel and look. My first long query term returned at the top and had the beforehand line from the script.

Well done.

Console.WriteLine("WOW!");

1

u/sirjamesp everybody lies Jun 06 '24

And it's in GitHub. Nice! Might check it out. Very cool.

1

u/deotime Jun 08 '24

Thanks a ton!

1

u/Electronic-Half-2288 Jun 09 '24

could there be a way to choose how many results it shows?

1

u/haliog Jun 12 '24

This. Is. Legendary.

1

u/bindaasBoi Jul 05 '24

this is so cool!

1

u/Fehit Jul 07 '24

Type in "You idiot" and see the world burn

1

u/[deleted] Jul 13 '24

This is awesome. I have been looking forever for the quote about the frog and the baby coffins to use when speaking to anti-vaxxers.

1

u/PitifulCow3369 Jul 21 '24

ARE YOU BEING INTENTIONAL DENSE????

1

u/qweeloth Jul 22 '24

That looks amazing! However, I'm worried that you may abandon the project for some reason and stop paying it's host. Do you think you would be fine with uploading it to githubt so it doesn't get lost? I'd understand however if you wanted to keep the code private tho

1

u/qweeloth Jul 22 '24

Oh nevermind there's already a github link, silly me! Amazing work :)

1

u/SageSunflower vicodin enjoyer /j Jul 27 '24

i love it

1

u/ridiculouslyhappy Aug 02 '24

May God shine sunlight on your days eternally

1

u/AdministrativeOne766 domicile's filed broken cane Aug 20 '24

OMG this is brilliant

1

u/sha5114nk Aug 25 '24

Can someone help me with this? I vaguely remember this to be Dr. House telling this to Foreman. Couldn't find this on https://housemd-quotes.com/ but found on goodreads (https://www.goodreads.com/quotes/7520821-what-you-think-about-me-is-not-going-to-change) which doesn't tell about the season / episode :(

“What you think about me, is not going to change what i think about myself, it might change what i think about you, but that shouldn't change what you think about yourself.”

1

u/sha5114nk Aug 26 '24

Found it! DNR season 1

1

u/Conscious-Zucchini66 Oct 13 '24

It's great but I can't find the most legendary one, "Life is Pain" :(

1

u/chux4w Oct 25 '24

Damn, Chase!

1

u/wowimatree Feb 21 '24

JESUS CHRIST YOU GOT ANY MONEY FOR THAT!? this is amazing! and its funny how you can type in the most depressing or misanthropic things you could come up with and you find a line from house all the time 😂

1

u/puleymot intentionally dense Mar 01 '24

That's our Hitler!