{"action":"created","comment":{"url":"https://api.github.com/repos/piskvorky/gensim/pulls/comments/55135344","id":55135344,"diff_hunk":"@@ -369,6 +369,33 @@ def test_sentences_should_not_be_a_generator(self):\n         gen = (s for s in sentences)\n         self.assertRaises(TypeError, word2vec.Word2Vec, (gen,))\n \n+class TestWMD(unittest.TestCase):","path":"gensim/test/test_word2vec.py","position":4,"original_position":4,"commit_id":"b914f3bd2278402c6480ad710419f33a5081c5f3","original_commit_id":"b914f3bd2278402c6480ad710419f33a5081c5f3","user":{"login":"tmylk","id":1261528,"avatar_url":"https://avatars.githubusercontent.com/u/1261528?v=3","gravatar_id":"","url":"https://api.github.com/users/tmylk","html_url":"https://github.com/tmylk","followers_url":"https://api.github.com/users/tmylk/followers","following_url":"https://api.github.com/users/tmylk/following{/other_user}","gists_url":"https://api.github.com/users/tmylk/gists{/gist_id}","starred_url":"https://api.github.com/users/tmylk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmylk/subscriptions","organizations_url":"https://api.github.com/users/tmylk/orgs","repos_url":"https://api.github.com/users/tmylk/repos","events_url":"https://api.github.com/users/tmylk/events{/privacy}","received_events_url":"https://api.github.com/users/tmylk/received_events","type":"User","site_admin":false},"body":"only test if pyemd is imported","created_at":"2016-03-06T08:49:28Z","updated_at":"2016-03-06T08:49:28Z","html_url":"https://github.com/piskvorky/gensim/pull/619#discussion_r55135344","pull_request_url":"https://api.github.com/repos/piskvorky/gensim/pulls/619","_links":{"self":{"href":"https://api.github.com/repos/piskvorky/gensim/pulls/comments/55135344"},"html":{"href":"https://github.com/piskvorky/gensim/pull/619#discussion_r55135344"},"pull_request":{"href":"https://api.github.com/repos/piskvorky/gensim/pulls/619"}}},"pull_request":{"url":"https://api.github.com/repos/piskvorky/gensim/pulls/619","id":60993138,"html_url":"https://github.com/piskvorky/gensim/pull/619","diff_url":"https://github.com/piskvorky/gensim/pull/619.diff","patch_url":"https://github.com/piskvorky/gensim/pull/619.patch","issue_url":"https://api.github.com/repos/piskvorky/gensim/issues/619","number":619,"state":"open","locked":false,"title":"Initial wmd release","user":{"login":"olavurmortensen","id":2675757,"avatar_url":"https://avatars.githubusercontent.com/u/2675757?v=3","gravatar_id":"","url":"https://api.github.com/users/olavurmortensen","html_url":"https://github.com/olavurmortensen","followers_url":"https://api.github.com/users/olavurmortensen/followers","following_url":"https://api.github.com/users/olavurmortensen/following{/other_user}","gists_url":"https://api.github.com/users/olavurmortensen/gists{/gist_id}","starred_url":"https://api.github.com/users/olavurmortensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olavurmortensen/subscriptions","organizations_url":"https://api.github.com/users/olavurmortensen/orgs","repos_url":"https://api.github.com/users/olavurmortensen/repos","events_url":"https://api.github.com/users/olavurmortensen/events{/privacy}","received_events_url":"https://api.github.com/users/olavurmortensen/received_events","type":"User","site_admin":false},"body":"This code is in progress on PR #521. This PR is to be merged in to gensim/develop.\r\n\r\nAt this point this PR is identical to #521. I will remove some functionality that is not ready to make this PR ready for an initial release of WMD. To be removed:\r\n\r\n* From `gensim.models.word2vec`:\r\n    * RWMD option in `wmdistance`.\r\n    * WCD option in `wmdistance`.\r\n    * `init_distances`.\r\n* From `gensim.similarities.docsim.WmdSimilarity`:\r\n    * `pp` (prefetch and prune) option.\r\n    * `init_distances` option.\r\n* docs.notebooks.WMD_tutorial.ipynb`:\r\n    * Make ready for initial release.\r\n\r\nThis PR will then contain the `wmdistance` method, and the `WmdSimilarity` class with full WMD computation.\r\n\r\n@tmylk @piskvorky","created_at":"2016-02-28T14:28:41Z","updated_at":"2016-03-06T08:49:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"531d97148ecb539425268e29a82d915d353c9012","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/piskvorky/gensim/pulls/619/commits","review_comments_url":"https://api.github.com/repos/piskvorky/gensim/pulls/619/comments","review_comment_url":"https://api.github.com/repos/piskvorky/gensim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/piskvorky/gensim/issues/619/comments","statuses_url":"https://api.github.com/repos/piskvorky/gensim/statuses/b914f3bd2278402c6480ad710419f33a5081c5f3","head":{"label":"olavurmortensen:initial_wmd_release","ref":"initial_wmd_release","sha":"b914f3bd2278402c6480ad710419f33a5081c5f3","user":{"login":"olavurmortensen","id":2675757,"avatar_url":"https://avatars.githubusercontent.com/u/2675757?v=3","gravatar_id":"","url":"https://api.github.com/users/olavurmortensen","html_url":"https://github.com/olavurmortensen","followers_url":"https://api.github.com/users/olavurmortensen/followers","following_url":"https://api.github.com/users/olavurmortensen/following{/other_user}","gists_url":"https://api.github.com/users/olavurmortensen/gists{/gist_id}","starred_url":"https://api.github.com/users/olavurmortensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olavurmortensen/subscriptions","organizations_url":"https://api.github.com/users/olavurmortensen/orgs","repos_url":"https://api.github.com/users/olavurmortensen/repos","events_url":"https://api.github.com/users/olavurmortensen/events{/privacy}","received_events_url":"https://api.github.com/users/olavurmortensen/received_events","type":"User","site_admin":false},"repo":{"id":40701336,"name":"gensim","full_name":"olavurmortensen/gensim","owner":{"login":"olavurmortensen","id":2675757,"avatar_url":"https://avatars.githubusercontent.com/u/2675757?v=3","gravatar_id":"","url":"https://api.github.com/users/olavurmortensen","html_url":"https://github.com/olavurmortensen","followers_url":"https://api.github.com/users/olavurmortensen/followers","following_url":"https://api.github.com/users/olavurmortensen/following{/other_user}","gists_url":"https://api.github.com/users/olavurmortensen/gists{/gist_id}","starred_url":"https://api.github.com/users/olavurmortensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olavurmortensen/subscriptions","organizations_url":"https://api.github.com/users/olavurmortensen/orgs","repos_url":"https://api.github.com/users/olavurmortensen/repos","events_url":"https://api.github.com/users/olavurmortensen/events{/privacy}","received_events_url":"https://api.github.com/users/olavurmortensen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/olavurmortensen/gensim","description":"Topic Modelling for Humans","fork":true,"url":"https://api.github.com/repos/olavurmortensen/gensim","forks_url":"https://api.github.com/repos/olavurmortensen/gensim/forks","keys_url":"https://api.github.com/repos/olavurmortensen/gensim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/olavurmortensen/gensim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/olavurmortensen/gensim/teams","hooks_url":"https://api.github.com/repos/olavurmortensen/gensim/hooks","issue_events_url":"https://api.github.com/repos/olavurmortensen/gensim/issues/events{/number}","events_url":"https://api.github.com/repos/olavurmortensen/gensim/events","assignees_url":"https://api.github.com/repos/olavurmortensen/gensim/assignees{/user}","branches_url":"https://api.github.com/repos/olavurmortensen/gensim/branches{/branch}","tags_url":"https://api.github.com/repos/olavurmortensen/gensim/tags","blobs_url":"https://api.github.com/repos/olavurmortensen/gensim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/olavurmortensen/gensim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/olavurmortensen/gensim/git/refs{/sha}","trees_url":"https://api.github.com/repos/olavurmortensen/gensim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/olavurmortensen/gensim/statuses/{sha}","languages_url":"https://api.github.com/repos/olavurmortensen/gensim/languages","stargazers_url":"https://api.github.com/repos/olavurmortensen/gensim/stargazers","contributors_url":"https://api.github.com/repos/olavurmortensen/gensim/contributors","subscribers_url":"https://api.github.com/repos/olavurmortensen/gensim/subscribers","subscription_url":"https://api.github.com/repos/olavurmortensen/gensim/subscription","commits_url":"https://api.github.com/repos/olavurmortensen/gensim/commits{/sha}","git_commits_url":"https://api.github.com/repos/olavurmortensen/gensim/git/commits{/sha}","comments_url":"https://api.github.com/repos/olavurmortensen/gensim/comments{/number}","issue_comment_url":"https://api.github.com/repos/olavurmortensen/gensim/issues/comments{/number}","contents_url":"https://api.github.com/repos/olavurmortensen/gensim/contents/{+path}","compare_url":"https://api.github.com/repos/olavurmortensen/gensim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/olavurmortensen/gensim/merges","archive_url":"https://api.github.com/repos/olavurmortensen/gensim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/olavurmortensen/gensim/downloads","issues_url":"https://api.github.com/repos/olavurmortensen/gensim/issues{/number}","pulls_url":"https://api.github.com/repos/olavurmortensen/gensim/pulls{/number}","milestones_url":"https://api.github.com/repos/olavurmortensen/gensim/milestones{/number}","notifications_url":"https://api.github.com/repos/olavurmortensen/gensim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/olavurmortensen/gensim/labels{/name}","releases_url":"https://api.github.com/repos/olavurmortensen/gensim/releases{/id}","deployments_url":"https://api.github.com/repos/olavurmortensen/gensim/deployments","created_at":"2015-08-14T07:15:46Z","updated_at":"2016-02-28T11:40:26Z","pushed_at":"2016-03-03T13:43:57Z","git_url":"git://github.com/olavurmortensen/gensim.git","ssh_url":"git@github.com:olavurmortensen/gensim.git","clone_url":"https://github.com/olavurmortensen/gensim.git","svn_url":"https://github.com/olavurmortensen/gensim","homepage":"http://radimrehurek.com/gensim/","size":14626,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"piskvorky:develop","ref":"develop","sha":"5cd434bcc321be0a93bd52714ac93c93470c8bbe","user":{"login":"piskvorky","id":610412,"avatar_url":"https://avatars.githubusercontent.com/u/610412?v=3","gravatar_id":"","url":"https://api.github.com/users/piskvorky","html_url":"https://github.com/piskvorky","followers_url":"https://api.github.com/users/piskvorky/followers","following_url":"https://api.github.com/users/piskvorky/following{/other_user}","gists_url":"https://api.github.com/users/piskvorky/gists{/gist_id}","starred_url":"https://api.github.com/users/piskvorky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piskvorky/subscriptions","organizations_url":"https://api.github.com/users/piskvorky/orgs","repos_url":"https://api.github.com/users/piskvorky/repos","events_url":"https://api.github.com/users/piskvorky/events{/privacy}","received_events_url":"https://api.github.com/users/piskvorky/received_events","type":"User","site_admin":false},"repo":{"id":1349775,"name":"gensim","full_name":"piskvorky/gensim","owner":{"login":"piskvorky","id":610412,"avatar_url":"https://avatars.githubusercontent.com/u/610412?v=3","gravatar_id":"","url":"https://api.github.com/users/piskvorky","html_url":"https://github.com/piskvorky","followers_url":"https://api.github.com/users/piskvorky/followers","following_url":"https://api.github.com/users/piskvorky/following{/other_user}","gists_url":"https://api.github.com/users/piskvorky/gists{/gist_id}","starred_url":"https://api.github.com/users/piskvorky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piskvorky/subscriptions","organizations_url":"https://api.github.com/users/piskvorky/orgs","repos_url":"https://api.github.com/users/piskvorky/repos","events_url":"https://api.github.com/users/piskvorky/events{/privacy}","received_events_url":"https://api.github.com/users/piskvorky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/piskvorky/gensim","description":"Topic Modelling for Humans","fork":false,"url":"https://api.github.com/repos/piskvorky/gensim","forks_url":"https://api.github.com/repos/piskvorky/gensim/forks","keys_url":"https://api.github.com/repos/piskvorky/gensim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/piskvorky/gensim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/piskvorky/gensim/teams","hooks_url":"https://api.github.com/repos/piskvorky/gensim/hooks","issue_events_url":"https://api.github.com/repos/piskvorky/gensim/issues/events{/number}","events_url":"https://api.github.com/repos/piskvorky/gensim/events","assignees_url":"https://api.github.com/repos/piskvorky/gensim/assignees{/user}","branches_url":"https://api.github.com/repos/piskvorky/gensim/branches{/branch}","tags_url":"https://api.github.com/repos/piskvorky/gensim/tags","blobs_url":"https://api.github.com/repos/piskvorky/gensim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/piskvorky/gensim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/piskvorky/gensim/git/refs{/sha}","trees_url":"https://api.github.com/repos/piskvorky/gensim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/piskvorky/gensim/statuses/{sha}","languages_url":"https://api.github.com/repos/piskvorky/gensim/languages","stargazers_url":"https://api.github.com/repos/piskvorky/gensim/stargazers","contributors_url":"https://api.github.com/repos/piskvorky/gensim/contributors","subscribers_url":"https://api.github.com/repos/piskvorky/gensim/subscribers","subscription_url":"https://api.github.com/repos/piskvorky/gensim/subscription","commits_url":"https://api.github.com/repos/piskvorky/gensim/commits{/sha}","git_commits_url":"https://api.github.com/repos/piskvorky/gensim/git/commits{/sha}","comments_url":"https://api.github.com/repos/piskvorky/gensim/comments{/number}","issue_comment_url":"https://api.github.com/repos/piskvorky/gensim/issues/comments{/number}","contents_url":"https://api.github.com/repos/piskvorky/gensim/contents/{+path}","compare_url":"https://api.github.com/repos/piskvorky/gensim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/piskvorky/gensim/merges","archive_url":"https://api.github.com/repos/piskvorky/gensim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/piskvorky/gensim/downloads","issues_url":"https://api.github.com/repos/piskvorky/gensim/issues{/number}","pulls_url":"https://api.github.com/repos/piskvorky/gensim/pulls{/number}","milestones_url":"https://api.github.com/repos/piskvorky/gensim/milestones{/number}","notifications_url":"https://api.github.com/repos/piskvorky/gensim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/piskvorky/gensim/labels{/name}","releases_url":"https://api.github.com/repos/piskvorky/gensim/releases{/id}","deployments_url":"https://api.github.com/repos/piskvorky/gensim/deployments","created_at":"2011-02-10T07:43:04Z","updated_at":"2016-03-06T05:24:04Z","pushed_at":"2016-03-06T05:13:32Z","git_url":"git://github.com/piskvorky/gensim.git","ssh_url":"git@github.com:piskvorky/gensim.git","clone_url":"https://github.com/piskvorky/gensim.git","svn_url":"https://github.com/piskvorky/gensim","homepage":"http://radimrehurek.com/gensim/","size":18560,"stargazers_count":2293,"watchers_count":2293,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":810,"mirror_url":null,"open_issues_count":104,"forks":810,"open_issues":104,"watchers":2293,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/piskvorky/gensim/pulls/619"},"html":{"href":"https://github.com/piskvorky/gensim/pull/619"},"issue":{"href":"https://api.github.com/repos/piskvorky/gensim/issues/619"},"comments":{"href":"https://api.github.com/repos/piskvorky/gensim/issues/619/comments"},"review_comments":{"href":"https://api.github.com/repos/piskvorky/gensim/pulls/619/comments"},"review_comment":{"href":"https://api.github.com/repos/piskvorky/gensim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/piskvorky/gensim/pulls/619/commits"},"statuses":{"href":"https://api.github.com/repos/piskvorky/gensim/statuses/b914f3bd2278402c6480ad710419f33a5081c5f3"}}}}