Live data from Hacker News

Show HN: Semantic Calculator (king-man+woman=?)

calc.datova.ai

161–170 of 179 posts

Re: Show HN: Semantic Calculator (king-man+woman=?)

#161

> king-man+woman=queen Is the famous example everyone uses when talking about word vectors, but is it actually just very cherry picked? I.e. are there a great number of other "meaningful" examples like this, or actually the majority of the time you end up with some kind of vaguely tangentially related word when adding and subtracting word vectors. (Which seems to be what this tool is helping to illustrate, having bri…

I once saw an explanation which I can no longer find that what's really happening here is also partly "man" and "woman" are very similar vectors which nearly cancel each other out, and "king" is excluded from the result set to avoid returning identities, leaving "queen" as the closest next result. That's why you have to subtract and then add, and just doing single operations doesn't work very well. There's some semantic information preserved that might nudge it in the right direction but not as much as the naive algebra suggests, and you can't really add up a bunch of these high-dimensional vectors in a sensible way.

E.g. in this calculator "man - king + princess = woman", which doesn't make much sense. "airplane - engine", which has a potential sensible answer of "glider", instead "= Czechoslovakia". Go figure.

Re: Show HN: Semantic Calculator (king-man+woman=?)

#162

Some of these make more sense than others (and bookshop is hilarious even if it's only the best answer by a small margin; no shade to bookshop owners). map - legend = Mercator projection noodle - wheat = egg noodle noodle - gluten = tagliatelle architecture - calculus = architectural style answer - question = comment shop - income = bookshop curry - curry powder = cuisine rice - grain = chicken and rice rice + chicke…

dog - fur = Aegean civilization

Re: Show HN: Semantic Calculator (king-man+woman=?)

#166

Here's a challenge: find something to subtract from "hammer" which does not result in a word that has "gun" as a substring. I've been unsuccessful so far.

hammer - keyboard = hammerhead

Makes no sense, admittedly!

- dulcimer and - zither are both in firmly in .*gun.* territory it seems..

Re: Show HN: Semantic Calculator (king-man+woman=?)

#169

data + plural = number data - plural = research king - crown = (didn't work... crown gets circled in red) king - princess = emperor king - queen = kingdom queen - king = worker king + queen = queen + king = kingdom boy + age = (didn't work... boy gets circled in red) man - age = woman woman - age = newswoman woman + age = adult female body (tied with man) girl + age = female child girl + old = female child The other…

Ah yes, 女 + 子 = girl but if combined in a kanji you get 好 = like.
Post reply on HN