Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
☁ word-vector-service [master] ⚡ ./test-search.sh car
{"message":"You searched for words similar to car.","result":[{"word":"vehicle","similarity":0.7821096736772518},{"word":"cars","similarity":0.7423831256488782},{"word":"suv","similarity":0.716096183913142},{"word":"minivan","similarity":0.6907036207365957},{"word":"truck","similarity":0.6735788941063529},{"word":"jeep","similarity":0.6511331376892135},{"word":"pickup_truck","similarity":0.6441437657521791},{"word":"scooter","similarity":0.6381531537921122},{"word":"sedan","similarity":0.6336699305265391},{"word":"motorcycle","similarity":0.6256056151438883},{"word":"van","similarity":0.6115673116061694},{"word":"mercedes","similarity":0.6063581532609913},{"word":"vehicles","similarity":0.5998871012894661},{"word":"motorbike","similarity":0.5921168453789547},{"word":"bike","similarity":0.5854155253215375},{"word":"automobile","similarity":0.5838368457239428},{"word":"bmw","similarity":0.5806985605377539},{"word":"driver","similarity":0.5779392938202413},{"word":"chevrolet","similarity":0.5706324208910439},{"word":"lexus","similarity":0.5684819889557208},{"word":"cruiser","similarity":0.5670293533591858},{"word":"mazda","similarity":0.5476574282522617},{"word":"subaru","similarity":0.5459360005485778},{"word":"mercedes_benz","similarity":0.5430942744202717},{"word":"chevy","similarity":0.5415674909268213},{"word":"tractor","similarity":0.5406333277096405},{"word":"sport_utility","similarity":0.5373421541769038},{"word":"peugeot","similarity":0.5369117589350557},{"word":"cab","similarity":0.5369109495327671},{"word":"bicycle","similarity":0.5364483442953459},{"word":"porsche","similarity":0.5281396540281572},{"word":"audi","similarity":0.5267982586986237},{"word":"land_rover","similarity":0.5243306862451114},{"word":"buick","similarity":0.5211032482144473},{"word":"garage","similarity":0.5149129920233708},{"word":"motorist","similarity":0.5133721554138976},{"word":"steering_wheel","similarity":0.5082312501368345},{"word":"motorcycles","similarity":0.4985398682987883},{"word":"tire","similarity":0.4941667987076974},{"word":"pickup","similarity":0.48767803671319093},{"word":"bikes","similarity":0.48691258997656595},{"word":"auto","similarity":0.48585599147388603},{"word":"motor","similarity":0.4810172881031109},{"word":"prius","similarity":0.4801695204128889},{"word":"volvo","similarity":0.47149855395611373},{"word":"passenger","similarity":0.4701550710365483},{"word":"cadillac","similarity":0.4694766664976237},{"word":"bus","similarity":0.4693370049446795},{"word":"tires","similarity":0.4687437095325978},{"word":"honda","similarity":0.468478599854719}]}
%
☁ word-vector-service [master] ⚡ ./test-search.sh walk
{"message":"You searched for words similar to walk.","result":[{"word":"walking","similarity":0.7361532410583377},{"word":"walks","similarity":0.7007260126982577},{"word":"walked","similarity":0.6831837175317577},{"word":"stroll","similarity":0.6208135605262757},{"word":"wander","similarity":0.5585980406422046},{"word":"go","similarity":0.5062534940489949},{"word":"walkers","similarity":0.4844909018270655},{"word":"sit","similarity":0.46054641662162543},{"word":"run","similarity":0.45697957695763036}]}
%
☁ word-vector-service [master] ⚡ ./test-search.sh diving
{"message":"You searched for words similar to diving.","result":[{"word":"dive","similarity":0.7088114976930521},{"word":"dives","similarity":0.6513546200974928},{"word":"dived","similarity":0.5853149676821231},{"word":"diver","similarity":0.5738024200555258},{"word":"dove","similarity":0.5354009978793349},{"word":"swimming","similarity":0.5320487839054358},{"word":"leaping","similarity":0.5170769834037585},{"word":"divers","similarity":0.5033493486106915},{"word":"sliding","similarity":0.4661639111761051},{"word":"swim","similarity":0.45993471959729265}]}
%
☁ word-vector-service [master] ⚡ ./test-search.sh boat
{"message":"You searched for words similar to boat.","result":[{"word":"boats","similarity":0.8379807830515867},{"word":"canoe","similarity":0.716394509399264},{"word":"yacht","similarity":0.715569901706355},{"word":"kayak","similarity":0.7091896806313565},{"word":"vessel","similarity":0.6984576956566678},{"word":"ship","similarity":0.6168913388174045},{"word":"barge","similarity":0.6091411369391526},{"word":"ferry","similarity":0.6005296016020928},{"word":"yachts","similarity":0.5816891687488831},{"word":"vessels","similarity":0.5800862788235995},{"word":"paddle","similarity":0.5551654796497225},{"word":"sailing","similarity":0.5468996449841458},{"word":"dock","similarity":0.544891564394217},{"word":"boaters","similarity":0.544341146186776},{"word":"cruise_ship","similarity":0.5423064459165606},{"word":"cargo_ship","similarity":0.5389420522226166},{"word":"ferries","similarity":0.5268259983673637},{"word":"docks","similarity":0.5230771603030617},{"word":"fisherman","similarity":0.5222745194276982},{"word":"boating","similarity":0.5211779234502494},{"word":"warship","similarity":0.518843921849581},{"word":"sail","similarity":0.5175202238405532},{"word":"cruiser","similarity":0.5129373290441274},{"word":"ships","similarity":0.5072107348377857},{"word":"plane","similarity":0.5003870335331911},{"word":"fishing","similarity":0.49868640309235585},{"word":"submarine","similarity":0.49314532045376597},{"word":"barges","similarity":0.48701726029084075},{"word":"sails","similarity":0.4839254547879641},{"word":"fishermen","similarity":0.48003840915771007},{"word":"harbor","similarity":0.47609439310012713},{"word":"regatta","similarity":0.4747954945159974},{"word":"overboard","similarity":0.47167865161022493},{"word":"coast_guard","similarity":0.46794549757698073},{"word":"towed","similarity":0.46598103426296184},{"word":"ashore","similarity":0.46158947218254137},{"word":"sailors","similarity":0.45876436594184133},{"word":"raft","similarity":0.45619928366223766},{"word":"truck","similarity":0.45417796612897054},{"word":"divers","similarity":0.4510953994158587}]}
%
☁ word-vector-service [master] ⚡ -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.