Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Find words “halfway” between two others (halfwaywords.com)
36 points by skndr on March 20, 2023 | hide | past | favorite | 23 comments



This uses GPT-3 to find a word "halfway" between two others and it's built with Elixir, Phoenix, and Ash (https://ash-hq.org/) and is deployed on Fly.io.

Some fun ones:

- imagination and vacation -> fantasize

- enthusiasm and zeal -> fervor

- angry and hungry -> famished

- spoon and fork -> spork


The pre-computer version of this is H. G. Burger's Wordtree [1]. It is an absolutely fascinating one-man project to "binomialize" the entire English vocabulary. It is worth owning just to read the bizarre and fascinating series of prefaces, in several of which Mr. Burger details his strongly held beliefs of a strong copyright system.

[1] https://www.amazon.com/Wordtree-Transitive-Cladistic-Physica...


>- spoon and fork -> spork

but also:

test and spoon -> spork

fork and knife -> spoon

fork and sword -> spoon

knife and sword -> dagger <- a good one

test and knife -> jest

test and sword -> quill


Are you using embeddings, or a prompt where you ask GPT-3 to find a word between other words?


I tried averaging embeddings at first but a GPT-3 prompt gave more interesting results!


I'm curious about the prompt you used, if you're willing to share (I'm interested in blend words, which this is somewhat related, but not quite - these are blended in a semantic sense, not textual)


Halfway between 'golfing' and 'drinking' is 'bowling'. Genius!


cowboy and paint -> draw

Well I laughed.


sock -> hat = hock I can see that logic


one and infinity -> half infinity

Well, sure

Edit:

sex and pooping -> ejaculation

I know I went too far… But what a response


Very fun project that I'll probably use. However i can't get the website to connect on mobile.


Minor hiccup, sorry! Should be back up.


Still down. “Can’t find the internet” error.


This would make a good game. Predict the halfway word!


pool and ocean

"Swimming hole"

much less than 1/2. It's a fun toy. One more:

bread and cake

"Braike"

Oh dear, you're hallucinating again.


>One and one... One and a half

I have my doubts.


great and best => excellent

excellent and best => great


Must have come from the Möbius strip dimension.


Hey there! Creator of Ash here. Mind if I tweet about this?


What does Ash do? The main page is full of buzzwords and I have no idea what it provides over Phoenix or if it is something that runs on top of it.


We really need to redo that front page . Ash can be used with or without Phoenix. Ash is an "application framework", and is designed to help you structure your application, something you do by creating resources using `Ash.Resource`. A resource typically refers to some domain object/action. In this resource you declare the "actions" that operate on your resource. There is a lot more to it like GraphQL & JSON:API extensions, all kinds of additional tools and utilities.

In a lot of ways, it tries to cut a good balance between a lot of concepts. The examples at the bottom of the front page show some examples of the way you use it. There are example apps linked from the Media page as well that can illustrate how it works.

I know the front page is missing a lot of key information, but I promise there is tons of useful stuff in Ash, not just buzzwords


Go for it! Really enjoying it :)


I tried "Trump" and "Biden" out came the answer = "indifference" :)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: