{"action":"created","issue":{"url":"https://api.github.com/repos/byzhang/word2vec/issues/10","labels_url":"https://api.github.com/repos/byzhang/word2vec/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/byzhang/word2vec/issues/10/comments","events_url":"https://api.github.com/repos/byzhang/word2vec/issues/10/events","html_url":"https://github.com/byzhang/word2vec/issues/10","id":59727860,"number":10,"title":"word2vec Binary Index & Locally-Sensitive Hashing Module","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/byzhang/word2vec/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/byzhang/word2vec/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/byzhang/word2vec/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-03T23:58:30Z","updated_at":"2015-03-03T23:58:31Z","closed_at":null,"body":"```\nJust released a Ruby module that builds an index of a binary word2vec vector \nfile, so your code can seek directly to the right position in the file for a \ngiven word or term. For example, the word \"/en/italy\" in the English \n\"freebase-vectors-skipgram1000-en.bin\" file is at byte position 116414 position.\n\nThe module also computes a locally-sensitive hash for each vector in a binary \nword2vec file, so you can do a nearest neighbor search (i.e. cosine distance) \nmuch faster. I get a couple orders of magnitude better performance on my \nmachine, with a 10 bit random projection LSH.\n\nhttps://github.com/someben/treebank/blob/master/src/build_word2vec_index.rb\n\nThanks for the project, Tomas.\n\nBest,\nBen\n\n```\n\nOriginal issue reported on code.google.com by `bgimp...@googlemail.com` on 23 Sep 2013 at 3:48"},"comment":{"url":"https://api.github.com/repos/byzhang/word2vec/issues/comments/77066363","html_url":"https://github.com/byzhang/word2vec/issues/10#issuecomment-77066363","issue_url":"https://api.github.com/repos/byzhang/word2vec/issues/10","id":77066363,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T23:58:31Z","updated_at":"2015-03-03T23:58:31Z","body":"```\nSounds cool, thanks for sharing your code! By the way, there is a discussion \nforum related to word2vec that might be more suitable for this type of post:\n\nhttps://groups.google.com/forum/#!forum/word2vec-toolkit\n\nIt might be easier for the others to find your post there.\n\nBest,\nTomas\n\n```\n\nOriginal comment by `tmiko...@google.com` on 23 Sep 2013 at 5:01"}}