{"action":"opened","number":479,"pull_request":{"url":"https://api.github.com/repos/datamade/dedupe/pulls/479","id":81589464,"html_url":"https://github.com/datamade/dedupe/pull/479","diff_url":"https://github.com/datamade/dedupe/pull/479.diff","patch_url":"https://github.com/datamade/dedupe/pull/479.patch","issue_url":"https://api.github.com/repos/datamade/dedupe/issues/479","number":479,"state":"open","locked":false,"title":"load data into defaultdict","user":{"login":"jbrissier","id":833541,"avatar_url":"https://avatars.githubusercontent.com/u/833541?v=3","gravatar_id":"","url":"https://api.github.com/users/jbrissier","html_url":"https://github.com/jbrissier","followers_url":"https://api.github.com/users/jbrissier/followers","following_url":"https://api.github.com/users/jbrissier/following{/other_user}","gists_url":"https://api.github.com/users/jbrissier/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrissier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrissier/subscriptions","organizations_url":"https://api.github.com/users/jbrissier/orgs","repos_url":"https://api.github.com/users/jbrissier/repos","events_url":"https://api.github.com/users/jbrissier/events{/privacy}","received_events_url":"https://api.github.com/users/jbrissier/received_events","type":"User","site_admin":false},"body":"I had an issue if i'am using the StaticGazetteer. When i save the index to a file and load it later, i was not able to index new data. (Get a KeyError). The pickle library loads the do_to_id as python dict instant of a defaultdict. I use the factory from the TfIdfIndex, but i am not 100% sure if this is the right place to this. ","created_at":"2016-08-17T06:18:08Z","updated_at":"2016-08-17T06:18:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/datamade/dedupe/pulls/479/commits","review_comments_url":"https://api.github.com/repos/datamade/dedupe/pulls/479/comments","review_comment_url":"https://api.github.com/repos/datamade/dedupe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/datamade/dedupe/issues/479/comments","statuses_url":"https://api.github.com/repos/datamade/dedupe/statuses/c8bbe08b30a78f7e439fe88fd2c3b83a20233496","head":{"label":"jbrissier:master","ref":"master","sha":"c8bbe08b30a78f7e439fe88fd2c3b83a20233496","user":{"login":"jbrissier","id":833541,"avatar_url":"https://avatars.githubusercontent.com/u/833541?v=3","gravatar_id":"","url":"https://api.github.com/users/jbrissier","html_url":"https://github.com/jbrissier","followers_url":"https://api.github.com/users/jbrissier/followers","following_url":"https://api.github.com/users/jbrissier/following{/other_user}","gists_url":"https://api.github.com/users/jbrissier/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrissier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrissier/subscriptions","organizations_url":"https://api.github.com/users/jbrissier/orgs","repos_url":"https://api.github.com/users/jbrissier/repos","events_url":"https://api.github.com/users/jbrissier/events{/privacy}","received_events_url":"https://api.github.com/users/jbrissier/received_events","type":"User","site_admin":false},"repo":{"id":65879065,"name":"dedupe","full_name":"jbrissier/dedupe","owner":{"login":"jbrissier","id":833541,"avatar_url":"https://avatars.githubusercontent.com/u/833541?v=3","gravatar_id":"","url":"https://api.github.com/users/jbrissier","html_url":"https://github.com/jbrissier","followers_url":"https://api.github.com/users/jbrissier/followers","following_url":"https://api.github.com/users/jbrissier/following{/other_user}","gists_url":"https://api.github.com/users/jbrissier/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrissier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrissier/subscriptions","organizations_url":"https://api.github.com/users/jbrissier/orgs","repos_url":"https://api.github.com/users/jbrissier/repos","events_url":"https://api.github.com/users/jbrissier/events{/privacy}","received_events_url":"https://api.github.com/users/jbrissier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jbrissier/dedupe","description":":id: A python library for accurate and scaleable data deduplication and entity-resolution.","fork":true,"url":"https://api.github.com/repos/jbrissier/dedupe","forks_url":"https://api.github.com/repos/jbrissier/dedupe/forks","keys_url":"https://api.github.com/repos/jbrissier/dedupe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbrissier/dedupe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbrissier/dedupe/teams","hooks_url":"https://api.github.com/repos/jbrissier/dedupe/hooks","issue_events_url":"https://api.github.com/repos/jbrissier/dedupe/issues/events{/number}","events_url":"https://api.github.com/repos/jbrissier/dedupe/events","assignees_url":"https://api.github.com/repos/jbrissier/dedupe/assignees{/user}","branches_url":"https://api.github.com/repos/jbrissier/dedupe/branches{/branch}","tags_url":"https://api.github.com/repos/jbrissier/dedupe/tags","blobs_url":"https://api.github.com/repos/jbrissier/dedupe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbrissier/dedupe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbrissier/dedupe/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbrissier/dedupe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbrissier/dedupe/statuses/{sha}","languages_url":"https://api.github.com/repos/jbrissier/dedupe/languages","stargazers_url":"https://api.github.com/repos/jbrissier/dedupe/stargazers","contributors_url":"https://api.github.com/repos/jbrissier/dedupe/contributors","subscribers_url":"https://api.github.com/repos/jbrissier/dedupe/subscribers","subscription_url":"https://api.github.com/repos/jbrissier/dedupe/subscription","commits_url":"https://api.github.com/repos/jbrissier/dedupe/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbrissier/dedupe/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbrissier/dedupe/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbrissier/dedupe/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbrissier/dedupe/contents/{+path}","compare_url":"https://api.github.com/repos/jbrissier/dedupe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbrissier/dedupe/merges","archive_url":"https://api.github.com/repos/jbrissier/dedupe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbrissier/dedupe/downloads","issues_url":"https://api.github.com/repos/jbrissier/dedupe/issues{/number}","pulls_url":"https://api.github.com/repos/jbrissier/dedupe/pulls{/number}","milestones_url":"https://api.github.com/repos/jbrissier/dedupe/milestones{/number}","notifications_url":"https://api.github.com/repos/jbrissier/dedupe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbrissier/dedupe/labels{/name}","releases_url":"https://api.github.com/repos/jbrissier/dedupe/releases{/id}","deployments_url":"https://api.github.com/repos/jbrissier/dedupe/deployments","created_at":"2016-08-17T05:41:03Z","updated_at":"2016-08-17T05:41:04Z","pushed_at":"2016-08-17T06:04:34Z","git_url":"git://github.com/jbrissier/dedupe.git","ssh_url":"git@github.com:jbrissier/dedupe.git","clone_url":"https://github.com/jbrissier/dedupe.git","svn_url":"https://github.com/jbrissier/dedupe","homepage":"https://github.com/datamade/dedupe","size":5920,"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":"master"}},"base":{"label":"datamade:master","ref":"master","sha":"ba695140f62358c6cd448a8a99539b268740b3f9","user":{"login":"datamade","id":3723931,"avatar_url":"https://avatars.githubusercontent.com/u/3723931?v=3","gravatar_id":"","url":"https://api.github.com/users/datamade","html_url":"https://github.com/datamade","followers_url":"https://api.github.com/users/datamade/followers","following_url":"https://api.github.com/users/datamade/following{/other_user}","gists_url":"https://api.github.com/users/datamade/gists{/gist_id}","starred_url":"https://api.github.com/users/datamade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datamade/subscriptions","organizations_url":"https://api.github.com/users/datamade/orgs","repos_url":"https://api.github.com/users/datamade/repos","events_url":"https://api.github.com/users/datamade/events{/privacy}","received_events_url":"https://api.github.com/users/datamade/received_events","type":"Organization","site_admin":false},"repo":{"id":4087724,"name":"dedupe","full_name":"datamade/dedupe","owner":{"login":"datamade","id":3723931,"avatar_url":"https://avatars.githubusercontent.com/u/3723931?v=3","gravatar_id":"","url":"https://api.github.com/users/datamade","html_url":"https://github.com/datamade","followers_url":"https://api.github.com/users/datamade/followers","following_url":"https://api.github.com/users/datamade/following{/other_user}","gists_url":"https://api.github.com/users/datamade/gists{/gist_id}","starred_url":"https://api.github.com/users/datamade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datamade/subscriptions","organizations_url":"https://api.github.com/users/datamade/orgs","repos_url":"https://api.github.com/users/datamade/repos","events_url":"https://api.github.com/users/datamade/events{/privacy}","received_events_url":"https://api.github.com/users/datamade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datamade/dedupe","description":":id: A python library for accurate and scaleable data deduplication and entity-resolution.","fork":false,"url":"https://api.github.com/repos/datamade/dedupe","forks_url":"https://api.github.com/repos/datamade/dedupe/forks","keys_url":"https://api.github.com/repos/datamade/dedupe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datamade/dedupe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datamade/dedupe/teams","hooks_url":"https://api.github.com/repos/datamade/dedupe/hooks","issue_events_url":"https://api.github.com/repos/datamade/dedupe/issues/events{/number}","events_url":"https://api.github.com/repos/datamade/dedupe/events","assignees_url":"https://api.github.com/repos/datamade/dedupe/assignees{/user}","branches_url":"https://api.github.com/repos/datamade/dedupe/branches{/branch}","tags_url":"https://api.github.com/repos/datamade/dedupe/tags","blobs_url":"https://api.github.com/repos/datamade/dedupe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datamade/dedupe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datamade/dedupe/git/refs{/sha}","trees_url":"https://api.github.com/repos/datamade/dedupe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datamade/dedupe/statuses/{sha}","languages_url":"https://api.github.com/repos/datamade/dedupe/languages","stargazers_url":"https://api.github.com/repos/datamade/dedupe/stargazers","contributors_url":"https://api.github.com/repos/datamade/dedupe/contributors","subscribers_url":"https://api.github.com/repos/datamade/dedupe/subscribers","subscription_url":"https://api.github.com/repos/datamade/dedupe/subscription","commits_url":"https://api.github.com/repos/datamade/dedupe/commits{/sha}","git_commits_url":"https://api.github.com/repos/datamade/dedupe/git/commits{/sha}","comments_url":"https://api.github.com/repos/datamade/dedupe/comments{/number}","issue_comment_url":"https://api.github.com/repos/datamade/dedupe/issues/comments{/number}","contents_url":"https://api.github.com/repos/datamade/dedupe/contents/{+path}","compare_url":"https://api.github.com/repos/datamade/dedupe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datamade/dedupe/merges","archive_url":"https://api.github.com/repos/datamade/dedupe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datamade/dedupe/downloads","issues_url":"https://api.github.com/repos/datamade/dedupe/issues{/number}","pulls_url":"https://api.github.com/repos/datamade/dedupe/pulls{/number}","milestones_url":"https://api.github.com/repos/datamade/dedupe/milestones{/number}","notifications_url":"https://api.github.com/repos/datamade/dedupe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datamade/dedupe/labels{/name}","releases_url":"https://api.github.com/repos/datamade/dedupe/releases{/id}","deployments_url":"https://api.github.com/repos/datamade/dedupe/deployments","created_at":"2012-04-20T14:57:36Z","updated_at":"2016-08-16T22:50:26Z","pushed_at":"2016-08-16T21:58:19Z","git_url":"git://github.com/datamade/dedupe.git","ssh_url":"git@github.com:datamade/dedupe.git","clone_url":"https://github.com/datamade/dedupe.git","svn_url":"https://github.com/datamade/dedupe","homepage":"https://github.com/datamade/dedupe","size":5920,"stargazers_count":923,"watchers_count":923,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":138,"mirror_url":null,"open_issues_count":8,"forks":138,"open_issues":8,"watchers":923,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/datamade/dedupe/pulls/479"},"html":{"href":"https://github.com/datamade/dedupe/pull/479"},"issue":{"href":"https://api.github.com/repos/datamade/dedupe/issues/479"},"comments":{"href":"https://api.github.com/repos/datamade/dedupe/issues/479/comments"},"review_comments":{"href":"https://api.github.com/repos/datamade/dedupe/pulls/479/comments"},"review_comment":{"href":"https://api.github.com/repos/datamade/dedupe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/datamade/dedupe/pulls/479/commits"},"statuses":{"href":"https://api.github.com/repos/datamade/dedupe/statuses/c8bbe08b30a78f7e439fe88fd2c3b83a20233496"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"jbrissier"}}