[{"data":1,"prerenderedAt":744},["ShallowReactive",2],{"project-43988533":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":27,"sentiment":28,"stance_mix":29,"scored_comments":34,"aspects":35,"strip":47,"post_text":50,"what":51,"said":76,"maker_in_thread":176,"shape":186,"grid":189,"attempts":707,"same_week":708,"maker_shows":42,"maker_hidden":736,"reader_version":737,"card":738},"43988533","Semantic Calculator","Semantic Calculator (king-man+woman=?)","title","Show HN: Semantic Calculator (king-man+woman=?)","https:\u002F\u002Fcalc.datova.ai","calc.datova.ai","nxa",1747252471,2025,176,172,386,3837,11,"notable","ai","word embeddings","web_app",[21,24,25,26],"semantic arithmetic","king man woman","cosine similarity","curious",-0.086,{"positive":30,"neutral":31,"mixed":32,"critical":33},16,69,4,28,117,{"idea":36,"execution":39,"design":41,"performance":44,"docs":46},{"positive":37,"critical":38},7,9,{"positive":40,"critical":30},6,{"positive":42,"critical":43},1,0,{"positive":43,"critical":45},2,{"positive":43,"critical":43},[42,43,43,48,42,42,45,45,49,32,49,49,43,32,49,49,32,45,32,32,48,49,42,45,45,43,42,49,48,49,45,42,48,45,42,45,45,49,45,45],5,3,"I've been playing with embeddings and wanted to try out what results the embedding layer will produce based on just word-by-word input and addition \u002F subtraction, beyond what many videos \u002F papers mention (like the obvious king-man+woman=queen). So I built something that doesn't just give the first answer, but ranks the matches based on distance \u002F cosine symmetry. I polished it a bit so that others can try it out, too.\n\nFor now, I only have nouns (and some proper nouns) in the dataset, and pick the most common interpretation among the homographs. Also, it's case sensitive.",{"problem":52,"audience":58,"pricing":58,"motivation":59,"time_to_build":58,"stack":63,"openness":74,"stage":75,"team_size":74},{"value":53,"source":54,"evidence":55},"Explores what embedding arithmetic produces beyond the king-man+woman example","maker",[56],{"id":57},"post",null,{"value":60,"source":54,"evidence":61},"Playing with embeddings to see what results arithmetic produces",[62],{"id":57},[64,70],{"value":65,"source":54,"evidence":66},"mxbai-embed-large embeddings",[67],{"id":68,"by":11,"text":69},"43989121","Thank you! I actually had a hard time finding prior work on this, so I appreciate the references. The dictionary is based on https:\u002F\u002Fwordnet.princeton.edu\u002F, no word2vec. It's…",{"value":71,"source":54,"evidence":72},"WordNet dictionary",[73],{"id":68,"by":11,"text":69},"unknown","launched",{"praise":77,"objections":101,"requests":127,"questions":134,"alternatives":146},[78,94],{"value":79,"source":80,"evidence":81},"Fun and engaging ranked results","commenter",[82,86,90],{"id":83,"by":84,"text":85},"43989048","skeptrune","This is super fun. Offering the ranked matches makes it significantly more engaging than just showing the final result.",{"id":87,"by":88,"text":89},"43988842","adzm","noodle+tomato=pasta this is pretty fun",{"id":91,"by":92,"text":93},"43993740","clbrmbr","A few favorites: wine - beer = grape juice beer - wine = bowling astrology - astronomy + mathematics = arithmancy",{"value":95,"source":80,"evidence":96},"Nice interface",[97],{"id":98,"by":99,"text":100},"43989060","spindump8930","First off, this interface is very nice and a pleasure to use, congrats! Are you using word2vec for these, or embeddings from another model? I also wanted to add some flavor since…",[102,121],{"value":103,"source":80,"evidence":104},"Many results are nonsensical or biased",[105,109,113,117],{"id":106,"by":107,"text":108},"43991058","e____g","man - intelligence = woman (36%) woman + intelligence = man (77%) Oof.",{"id":110,"by":111,"text":112},"43991710","doubtfuluser","doctor - man + woman = medical practitioner Good to understand this bias before blindly applying these models (Yes- doctor is gender neutral - even women can be doctors!!)",{"id":114,"by":115,"text":116},"43990052","yigitkonur35","shows how bad embeddings are in a practical way",{"id":118,"by":119,"text":120},"43993647","ignat_244639","Huh, that's strange, I wanted to check whether your embeddings have biases, but I cannot use \"white\" word at all. So I cannot get answer to \"man - white + black = ?\". But if I…",{"value":122,"source":54,"evidence":123},"Only nouns work; plurals and non-nouns fail",[124],{"id":125,"by":11,"text":126},"43988929","Yes, word in red = word not found mostly the case when you try plurals or non-nouns (for now)",[128],{"value":129,"source":80,"evidence":130},"Show word definitions in the UI",[131],{"id":132,"by":11,"text":133},"43989378","This might be helpful: I haven't implemented it in the UI, but from the API response you can see what the word definitions are, both for the input and the output. If the output…",[135],{"value":136,"source":80,"evidence":137},"Why do some inputs return red circles or no answer",[138,142],{"id":139,"by":140,"text":141},"43988904","cabalamat","What does it mean when it surrounds a word in red? Is this signalling an error?",{"id":143,"by":144,"text":145},"43989348","TZubiri","I'm getting Navralitova instead of queen. And can't get other words to work, I get red circles or no answer at all.",[147,158,169],{"value":148,"source":80,"evidence":149},"ChatGPT or LLMs",[150,154],{"id":151,"by":152,"text":153},"43989843","n2d4","For fun, I pasted these into ChatGPT o4-mini-high and asked it for an opinion: ``` data + plural = datasets data - plural = datum king - crown = ruler king - princess = man king…",{"id":155,"by":156,"text":157},"43991160","maxcomperatore","Just use a LLM api to generate results, it will be far better and more accurate than a weird home cooked algorithm",{"value":159,"source":80,"evidence":160},"Infinite Craft",[161,165],{"id":162,"by":163,"text":164},"43988592","antidnan","Neat! Reminds me of infinite craft https:\u002F\u002Fneal.fun\u002Finfinite-craft\u002F",{"id":166,"by":167,"text":168},"43989543","jumploops","This is super neat. I built a game[0] along similar lines, inspired by infinite craft[1]. The idea is that you combine (or subtract) “elements” until you find the goal element.…",{"value":170,"source":80,"evidence":171},"Contexto",[172],{"id":173,"by":174,"text":175},"43993481","anonu","Reminds me of the very annoying word game https:\u002F\u002Fcontexto.me\u002Fen\u002F",{"comments":177,"answered":32,"key":178},8,[179,182,183],{"id":180,"text":181},"43997888","My interpretation of negative numbers is that no \"synonym\" was found (no vector pointing in the same direction), and that the closest expression on record is something with an…",{"id":68,"text":69},{"id":184,"text":185},"43989502","Yes, that's pretty much what it is. Watch out for homographs.",{"commenters":187,"max_depth":40,"maker_replies":177,"first_comment_mins":40,"lifespan_hours":188},132,29,[190,194,198,200,204,206,209,212,216,218,221,223,225,227,231,233,236,240,243,246,250,252,255,257,261,264,267,270,273,276,279,283,286,288,291,294,297,300,303,306,310,313,316,318,321,324,326,327,330,332,333,337,339,341,343,346,349,353,356,359,362,364,367,370,372,375,378,381,385,387,390,392,395,398,401,404,406,408,412,414,418,420,422,426,428,431,434,436,438,442,445,448,452,455,457,461,464,466,468,470,473,477,480,484,485,488,492,495,497,500,503,506,509,512,514,517,520,522,523,526,529,531,535,538,541,544,548,552,555,557,561,565,568,572,574,576,579,583,587,591,594,596,599,603,605,609,613,617,621,624,626,629,633,637,640,644,648,652,655,659,663,665,668,673,677,681,685,689,691,695,700,703],[191,43,49,192,193,43],"43989245","project\u002Fneutral\u002Fidea","godelski",[195,43,42,196,197,43],"43989480","project\u002Fcritical\u002Fexecution","Affric",[151,43,43,199,152,43],"other\u002Fneutral\u002Fnone",[201,43,43,202,203,43],"43989988","commenter\u002Fneutral\u002Fnone","nbardy",[205,43,43,202,152,43],"43991466",[207,43,43,202,208,43],"43993755","coolcase",[210,43,43,199,211,43],"43990061","franga2000",[213,43,43,214,215,43],"43990301","other\u002Fneutral\u002Fidea","CamperBob2",[217,43,43,199,193,43],"43991277",[219,43,43,199,220,43],"43990761","refulgentis",[222,43,43,202,193,43],"43991235",[224,43,43,202,152,43],"43991448",[226,43,43,202,193,43],"43991689",[228,43,48,229,230,43],"43992037","project\u002Fpositive\u002Fexecution","Sharlin",[232,43,43,202,193,43],"43992614",[234,43,48,229,235,43],"43996501","FabHK",[237,43,49,238,239,43],"43995084","project\u002Fmixed\u002Fexecution","drabbiticus",[241,43,49,192,242,43],"43998165","amdivia",[244,43,42,196,245,43],"43989994","gweinberg",[247,43,43,248,249,43],"43990000","commenter\u002Fneutral\u002Fidea","thatguysaguy",[251,43,43,248,193,43],"44000107",[253,43,43,202,254,43],"43990270","mathgradthrow",[256,43,43,202,193,43],"43991575",[258,43,42,259,260,43],"43992122","project\u002Fcritical\u002Fidea","sdeframond",[262,43,42,196,263,43],"43994931","virgilp",[265,43,43,199,266,43],"43996398","pjc50",[268,43,49,192,269,43],"44000804","charlieyu1",[271,42,49,192,272,43],"43989512","montebicyclelo",[274,42,42,259,275,43],"43989576","raddan",[277,42,49,192,278,43],"43989687","gregschlom",[280,42,49,281,282,43],"43990990","project\u002Fneutral\u002Fexecution","charcircuit",[284,42,49,281,285,43],"43991033","mcswell",[287,42,49,281,282,43],"43991529",[289,42,42,196,290,43],"43992891","KeplerBoy",[292,42,42,196,293,43],"43992920","Narew",[295,42,43,202,296,43],"43992066","chis",[298,42,48,229,299,43],"43989933","Retr0id",[301,42,49,192,302,43],"43989963","groby_b",[304,42,48,229,305,43],"43990416","jbjbjbjb",[307,42,49,308,309,43],"43991280","project\u002Fneutral\u002Fnone","trhway",[311,42,49,308,312,43],"43992018","blipvert",[314,42,49,281,315,43],"43993483","kgeist",[180,42,43,317,11,42],"maker\u002Fneutral\u002Fnone",[319,42,49,308,320,43],"43990646","bee_rider",[322,42,42,259,323,43],"43995277","loganmhb",[98,45,48,325,99,43],"project\u002Fpositive\u002Fdesign",[68,45,43,317,11,42],[328,45,49,192,329,43],"43989426","kaycebasques",[184,45,43,331,11,42],"maker\u002Fneutral\u002Fexecution",[162,49,43,199,163,43],[334,49,43,335,336,43],"43989904","other\u002Fcritical\u002Fnone","thaumasiotes",[338,49,43,199,152,43],"43989914",[340,49,43,199,336,43],"43989925",[342,49,43,199,152,43],"43989944",[344,49,43,199,345,43],"43993230","mkl",[347,49,43,199,348,43],"43993307","gaoryrt",[350,32,48,351,352,43],"43989603","project\u002Fpositive\u002Fnone","lcnPylGDnU4H9OF",[354,32,49,308,355,43],"43992397","C-x_C-f",[357,32,43,202,358,43],"43992724","ccppurcell",[360,32,49,308,361,43],"43995321","ActionHank",[166,48,48,363,167,43],"project\u002Fpositive\u002Fidea",[365,40,49,192,366,43],"43989014","lightyrs",[368,40,42,196,369,43],"43989096","grey-area",[371,40,49,192,320,43],"43989577",[373,37,49,308,374,43],"43989961","__MatrixMan__",[376,37,49,281,377,43],"43990011","neom",[379,37,49,308,380,43],"43990015","tough",[382,37,43,383,384,43],"43990410","commenter\u002Fneutral\u002Fexecution","rdlw",[386,37,49,308,299,43],"43990016",[388,37,48,363,389,43],"43990019","mrastro",[391,37,43,202,374,43],"43991561",[393,37,49,308,394,43],"43990027","downboots",[396,37,49,308,397,43],"43990335","aniviacat",[399,37,49,308,400,43],"43990495","soxfox42",[402,37,49,308,403,43],"43995910","ttctciyf",[405,177,42,196,369,43],"43989077",[132,38,43,407,11,42],"maker\u002Fneutral\u002Fdocs",[409,410,48,229,411,43],"43990625",10,"GrantMoyer",[413,18,43,214,384,43],"43990084",[415,416,49,281,417,43],"43994225",12,"ale42",[173,419,49,192,174,43],13,[83,421,48,363,84,43],14,[423,424,49,281,425,43],"43989254",15,"ericdiao",[427,424,49,192,425,43],"43989271",[429,30,43,199,430,43],"43989509","afandian",[432,30,43,199,433,43],"43989697","halter73",[435,30,43,202,430,43],"43992996",[91,437,48,363,92,43],17,[439,440,49,192,441,43],"43990566",18,"galaxyLogic",[443,444,43,308,11,42],"43990517",19,[446,444,43,199,447,43],"43990545","behnamoh",[449,450,49,308,451,43],"43993288",20,"tiborsaas",[453,450,49,308,454,43],"43996633","mynameajeff",[456,450,49,308,451,43],"44000933",[458,459,49,308,460,43],"43989084",21,"fallinghawks",[462,463,49,238,377,43],"43989967",22,[114,465,42,259,115,43],23,[118,467,42,259,119,43],24,[143,469,42,196,144,43],25,[471,469,43,202,472,43],"43989566","gus_massa",[474,475,49,281,476,43],"43990190",26,"Jimmc414",[478,475,49,192,479,43],"43999589","Glyptodon",[481,482,49,308,483,43],"43995853",27,"andrelaszlo",[106,33,42,259,107,43],[486,188,49,308,487,43],"43994524","wdutch",[489,490,49,308,491,43],"43988786",30,"nikolay",[493,490,49,308,494,43],"43988818","2muchcoffeeman",[496,490,43,202,491,43],"43988825",[498,490,43,202,499,43],"43988974","Alifatisk",[501,490,43,202,502,43],"43989004","bfLives",[504,490,43,202,505,43],"43989028","G1N",[507,490,49,308,508,43],"43988887","karel-3d",[510,490,42,259,511,43],"43988910","sapphicsnail",[513,490,43,317,11,42],"43988964",[515,490,43,202,516,43],"43989943","dmonitor",[518,490,42,196,519,43],"43988972","dalmo3",[139,521,49,281,140,43],31,[125,521,43,331,11,42],[524,521,49,281,525,43],"43989067","rpastuszak",[527,521,49,281,528,43],"43988992","iambateman",[530,521,49,281,460,43],"43989055",[532,533,49,308,534,43],"43992670",32,"dtj1123",[536,537,48,229,425,43],"43989486",33,[539,540,48,351,208,43],"43993734",34,[542,543,49,281,394,43],"43990304",35,[545,546,43,199,547,43],"43993885",36,"krishna-vakx",[549,550,49,238,551,43],"43989584",37,"matallo",[553,550,43,202,554,43],"43989784","HWR_14",[556,550,43,383,551,43],"43989911",[558,559,49,281,560,43],"43991944",38,"havkom",[562,563,49,238,564,43],"43991701",39,"hagen_dogs",[566,563,42,196,567,43],"43992563","moefh",[569,570,49,308,571,43],"43989205",40,"MYEUHD",[573,570,43,202,320,43],"43989604",[575,570,43,202,377,43],"43992811",[577,578,49,281,479,43],"43996421",41,[580,581,42,196,582,43],"43993571",42,"hello_computer",[584,585,49,308,586,43],"43992422",43,"Finbel",[588,589,48,363,590,43],"43988601",44,"firejake308",[592,589,43,202,593,43],"43988861","fph",[595,589,43,281,11,42],"43988944",[597,589,49,308,598,43],"43989099","BeetleB",[600,601,49,308,602,43],"43995511",45,"cosmicgadget",[155,604,42,259,156,43],46,[606,607,49,308,608,43],"43992555",47,"darepublic",[610,611,49,308,612,43],"43989647",48,"kylecazar",[614,615,49,308,616,43],"43988948",49,"zerof1l",[618,619,42,196,620,43],"43995568",50,"jryb",[622,619,49,308,623,43],"43995946","x3y1",[110,625,42,259,111,43],51,[627,625,43,202,628,43],"43991724","heyitsguay",[630,631,49,308,632,43],"43989216",52,"blobbers",[634,635,42,196,636,43],"43989070",53,"7373737373",[638,639,49,281,505,43],"43988999",54,[641,642,49,308,643,43],"43993284",55,"bluelightning2k",[645,646,49,308,647,43],"43989897",56,"tlhunter",[649,650,42,651,394,43],"43989996",57,"project\u002Fcritical\u002Fperformance",[653,650,42,651,654,43],"43990026","LadyCailin",[656,657,49,308,658,43],"43991921",58,"erulabs",[660,661,49,308,662,43],"43992518",59,"atum47",[87,664,48,363,88,43],60,[666,664,49,308,667,43],"43988909","growlNark",[669,670,42,671,672,43],"43992710",61,"project\u002Fcritical\u002Fnone","ainiriand",[674,675,48,363,676,43],"43995170",62,"mannykannot",[678,679,42,196,680,43],"43990384",63,"quantum_state",[682,683,49,308,684,43],"43989162",64,"kataqatsi",[686,687,42,196,688,43],"43989021",65,"woodruffw",[690,687,43,202,516,43],"43989949",[692,693,42,196,694,43],"43996877",66,"insane_dreamer",[696,697,49,698,699,43],"43989569",67,"project\u002Fneutral\u002Fdocs","ezbie",[701,697,49,698,702,43],"43989917","mhitza",[704,705,49,308,706,43],"43996210",68,"spinarrets",[],[709,714,719,724,728,733],{"id":710,"name":711,"points":712,"category":713},"43935394","Hyvector",331,"dev_tools",{"id":715,"name":716,"points":717,"category":718},"43928118","qtap",259,"infrastructure",{"id":720,"name":721,"points":722,"category":723},"43975423","HelixDB",237,"data",{"id":725,"name":726,"points":727,"category":20},"43988381","Muscle-Mem",226,{"id":729,"name":730,"points":731,"category":732},"43936097","Aberdeen",224,"languages",{"id":734,"name":735,"points":14,"category":20},"43964201","Airweave",false,"v2",{"id":739,"name":5,"line":6,"ai":736,"cat":20,"year":13,"points":14,"comments":15,"rec":27,"s":740,"top":18,"kw":741,"maker":11,"domain":10,"tier":19,"attempts":43,"strip":742,"url":9,"mix":743,"praise":79,"objection":103,"sub":21},43988533,-0.09,[21,24,25,26],"1005112234330433424453122013532152122322",[30,31,32,33],1794036674830]