{"action":"opened","number":222,"pull_request":{"url":"https://api.github.com/repos/honnibal/spaCy/pulls/222","id":55939535,"html_url":"https://github.com/honnibal/spaCy/pull/222","diff_url":"https://github.com/honnibal/spaCy/pull/222.diff","patch_url":"https://github.com/honnibal/spaCy/pull/222.patch","issue_url":"https://api.github.com/repos/honnibal/spaCy/issues/222","number":222,"state":"open","locked":false,"title":"integrate with sputnik","user":{"login":"henningpeters","id":166570,"avatar_url":"https://avatars.githubusercontent.com/u/166570?v=3","gravatar_id":"","url":"https://api.github.com/users/henningpeters","html_url":"https://github.com/henningpeters","followers_url":"https://api.github.com/users/henningpeters/followers","following_url":"https://api.github.com/users/henningpeters/following{/other_user}","gists_url":"https://api.github.com/users/henningpeters/gists{/gist_id}","starred_url":"https://api.github.com/users/henningpeters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henningpeters/subscriptions","organizations_url":"https://api.github.com/users/henningpeters/orgs","repos_url":"https://api.github.com/users/henningpeters/repos","events_url":"https://api.github.com/users/henningpeters/events{/privacy}","received_events_url":"https://api.github.com/users/henningpeters/received_events","type":"User","site_admin":false},"body":"Sputnik now includes a new DirPackage class that offers a Package interface around a model directory. You can now instantiate spaCy as follows:\r\n\r\n```\r\n1) default\r\nnlp = spacy.en.English()\r\n\r\n2) model directory without dealing with packages (e.g., for development)\r\nnlp = spacy.en.English('my/directory')\r\nnlp = spacy.en.English(data_dir='my/directory')\r\n\r\n3) with a different model\r\nnlp = spacy.en.English('fr_default')\r\n\r\n4) with a relocated package base\r\nnlp = spacy.en.English(model='en_default', data_dir='new/root')\r\n\r\n5) with an existing package\r\npackage = sputnik.package(<app_name>, <app_version>, 'my_model >=1.0.0', data_path='packages')\r\nnlp = spacy.en.English(package)\r\n```\r\n\r\nTokenizer/Tagger/Vocab/etc load() accepts string, directory or package\r\n```","created_at":"2016-01-13T18:56:11Z","updated_at":"2016-01-13T18:56:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/honnibal/spaCy/pulls/222/commits","review_comments_url":"https://api.github.com/repos/honnibal/spaCy/pulls/222/comments","review_comment_url":"https://api.github.com/repos/honnibal/spaCy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/honnibal/spaCy/issues/222/comments","statuses_url":"https://api.github.com/repos/honnibal/spaCy/statuses/bc229790ac342c273cb9cd1124477a29732dc90b","head":{"label":"henningpeters:revise_packaging","ref":"revise_packaging","sha":"bc229790ac342c273cb9cd1124477a29732dc90b","user":{"login":"henningpeters","id":166570,"avatar_url":"https://avatars.githubusercontent.com/u/166570?v=3","gravatar_id":"","url":"https://api.github.com/users/henningpeters","html_url":"https://github.com/henningpeters","followers_url":"https://api.github.com/users/henningpeters/followers","following_url":"https://api.github.com/users/henningpeters/following{/other_user}","gists_url":"https://api.github.com/users/henningpeters/gists{/gist_id}","starred_url":"https://api.github.com/users/henningpeters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henningpeters/subscriptions","organizations_url":"https://api.github.com/users/henningpeters/orgs","repos_url":"https://api.github.com/users/henningpeters/repos","events_url":"https://api.github.com/users/henningpeters/events{/privacy}","received_events_url":"https://api.github.com/users/henningpeters/received_events","type":"User","site_admin":false},"repo":{"id":43934700,"name":"spaCy","full_name":"henningpeters/spaCy","owner":{"login":"henningpeters","id":166570,"avatar_url":"https://avatars.githubusercontent.com/u/166570?v=3","gravatar_id":"","url":"https://api.github.com/users/henningpeters","html_url":"https://github.com/henningpeters","followers_url":"https://api.github.com/users/henningpeters/followers","following_url":"https://api.github.com/users/henningpeters/following{/other_user}","gists_url":"https://api.github.com/users/henningpeters/gists{/gist_id}","starred_url":"https://api.github.com/users/henningpeters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henningpeters/subscriptions","organizations_url":"https://api.github.com/users/henningpeters/orgs","repos_url":"https://api.github.com/users/henningpeters/repos","events_url":"https://api.github.com/users/henningpeters/events{/privacy}","received_events_url":"https://api.github.com/users/henningpeters/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/henningpeters/spaCy","description":"Industrial-strength Natural Language Processing with Python and Cython","fork":true,"url":"https://api.github.com/repos/henningpeters/spaCy","forks_url":"https://api.github.com/repos/henningpeters/spaCy/forks","keys_url":"https://api.github.com/repos/henningpeters/spaCy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/henningpeters/spaCy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/henningpeters/spaCy/teams","hooks_url":"https://api.github.com/repos/henningpeters/spaCy/hooks","issue_events_url":"https://api.github.com/repos/henningpeters/spaCy/issues/events{/number}","events_url":"https://api.github.com/repos/henningpeters/spaCy/events","assignees_url":"https://api.github.com/repos/henningpeters/spaCy/assignees{/user}","branches_url":"https://api.github.com/repos/henningpeters/spaCy/branches{/branch}","tags_url":"https://api.github.com/repos/henningpeters/spaCy/tags","blobs_url":"https://api.github.com/repos/henningpeters/spaCy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/henningpeters/spaCy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/henningpeters/spaCy/git/refs{/sha}","trees_url":"https://api.github.com/repos/henningpeters/spaCy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/henningpeters/spaCy/statuses/{sha}","languages_url":"https://api.github.com/repos/henningpeters/spaCy/languages","stargazers_url":"https://api.github.com/repos/henningpeters/spaCy/stargazers","contributors_url":"https://api.github.com/repos/henningpeters/spaCy/contributors","subscribers_url":"https://api.github.com/repos/henningpeters/spaCy/subscribers","subscription_url":"https://api.github.com/repos/henningpeters/spaCy/subscription","commits_url":"https://api.github.com/repos/henningpeters/spaCy/commits{/sha}","git_commits_url":"https://api.github.com/repos/henningpeters/spaCy/git/commits{/sha}","comments_url":"https://api.github.com/repos/henningpeters/spaCy/comments{/number}","issue_comment_url":"https://api.github.com/repos/henningpeters/spaCy/issues/comments{/number}","contents_url":"https://api.github.com/repos/henningpeters/spaCy/contents/{+path}","compare_url":"https://api.github.com/repos/henningpeters/spaCy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/henningpeters/spaCy/merges","archive_url":"https://api.github.com/repos/henningpeters/spaCy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/henningpeters/spaCy/downloads","issues_url":"https://api.github.com/repos/henningpeters/spaCy/issues{/number}","pulls_url":"https://api.github.com/repos/henningpeters/spaCy/pulls{/number}","milestones_url":"https://api.github.com/repos/henningpeters/spaCy/milestones{/number}","notifications_url":"https://api.github.com/repos/henningpeters/spaCy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/henningpeters/spaCy/labels{/name}","releases_url":"https://api.github.com/repos/henningpeters/spaCy/releases{/id}","created_at":"2015-10-09T05:22:50Z","updated_at":"2015-11-26T08:15:56Z","pushed_at":"2016-01-13T18:46:34Z","git_url":"git://github.com/henningpeters/spaCy.git","ssh_url":"git@github.com:henningpeters/spaCy.git","clone_url":"https://github.com/henningpeters/spaCy.git","svn_url":"https://github.com/henningpeters/spaCy","homepage":"http://spacy.io","size":37499,"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":"honnibal:revise_packaging","ref":"revise_packaging","sha":"aa51014f71b6052c2958dc39985bcb1f8b52ce0b","user":{"login":"honnibal","id":8059750,"avatar_url":"https://avatars.githubusercontent.com/u/8059750?v=3","gravatar_id":"","url":"https://api.github.com/users/honnibal","html_url":"https://github.com/honnibal","followers_url":"https://api.github.com/users/honnibal/followers","following_url":"https://api.github.com/users/honnibal/following{/other_user}","gists_url":"https://api.github.com/users/honnibal/gists{/gist_id}","starred_url":"https://api.github.com/users/honnibal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honnibal/subscriptions","organizations_url":"https://api.github.com/users/honnibal/orgs","repos_url":"https://api.github.com/users/honnibal/repos","events_url":"https://api.github.com/users/honnibal/events{/privacy}","received_events_url":"https://api.github.com/users/honnibal/received_events","type":"User","site_admin":false},"repo":{"id":21467110,"name":"spaCy","full_name":"honnibal/spaCy","owner":{"login":"honnibal","id":8059750,"avatar_url":"https://avatars.githubusercontent.com/u/8059750?v=3","gravatar_id":"","url":"https://api.github.com/users/honnibal","html_url":"https://github.com/honnibal","followers_url":"https://api.github.com/users/honnibal/followers","following_url":"https://api.github.com/users/honnibal/following{/other_user}","gists_url":"https://api.github.com/users/honnibal/gists{/gist_id}","starred_url":"https://api.github.com/users/honnibal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honnibal/subscriptions","organizations_url":"https://api.github.com/users/honnibal/orgs","repos_url":"https://api.github.com/users/honnibal/repos","events_url":"https://api.github.com/users/honnibal/events{/privacy}","received_events_url":"https://api.github.com/users/honnibal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/honnibal/spaCy","description":"Industrial-strength Natural Language Processing with Python and Cython","fork":false,"url":"https://api.github.com/repos/honnibal/spaCy","forks_url":"https://api.github.com/repos/honnibal/spaCy/forks","keys_url":"https://api.github.com/repos/honnibal/spaCy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/honnibal/spaCy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/honnibal/spaCy/teams","hooks_url":"https://api.github.com/repos/honnibal/spaCy/hooks","issue_events_url":"https://api.github.com/repos/honnibal/spaCy/issues/events{/number}","events_url":"https://api.github.com/repos/honnibal/spaCy/events","assignees_url":"https://api.github.com/repos/honnibal/spaCy/assignees{/user}","branches_url":"https://api.github.com/repos/honnibal/spaCy/branches{/branch}","tags_url":"https://api.github.com/repos/honnibal/spaCy/tags","blobs_url":"https://api.github.com/repos/honnibal/spaCy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/honnibal/spaCy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/honnibal/spaCy/git/refs{/sha}","trees_url":"https://api.github.com/repos/honnibal/spaCy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/honnibal/spaCy/statuses/{sha}","languages_url":"https://api.github.com/repos/honnibal/spaCy/languages","stargazers_url":"https://api.github.com/repos/honnibal/spaCy/stargazers","contributors_url":"https://api.github.com/repos/honnibal/spaCy/contributors","subscribers_url":"https://api.github.com/repos/honnibal/spaCy/subscribers","subscription_url":"https://api.github.com/repos/honnibal/spaCy/subscription","commits_url":"https://api.github.com/repos/honnibal/spaCy/commits{/sha}","git_commits_url":"https://api.github.com/repos/honnibal/spaCy/git/commits{/sha}","comments_url":"https://api.github.com/repos/honnibal/spaCy/comments{/number}","issue_comment_url":"https://api.github.com/repos/honnibal/spaCy/issues/comments{/number}","contents_url":"https://api.github.com/repos/honnibal/spaCy/contents/{+path}","compare_url":"https://api.github.com/repos/honnibal/spaCy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/honnibal/spaCy/merges","archive_url":"https://api.github.com/repos/honnibal/spaCy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/honnibal/spaCy/downloads","issues_url":"https://api.github.com/repos/honnibal/spaCy/issues{/number}","pulls_url":"https://api.github.com/repos/honnibal/spaCy/pulls{/number}","milestones_url":"https://api.github.com/repos/honnibal/spaCy/milestones{/number}","notifications_url":"https://api.github.com/repos/honnibal/spaCy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/honnibal/spaCy/labels{/name}","releases_url":"https://api.github.com/repos/honnibal/spaCy/releases{/id}","created_at":"2014-07-03T15:15:40Z","updated_at":"2016-01-13T13:44:45Z","pushed_at":"2015-12-31T14:37:13Z","git_url":"git://github.com/honnibal/spaCy.git","ssh_url":"git@github.com:honnibal/spaCy.git","clone_url":"https://github.com/honnibal/spaCy.git","svn_url":"https://github.com/honnibal/spaCy","homepage":"http://spacy.io","size":46834,"stargazers_count":1351,"watchers_count":1351,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":136,"mirror_url":null,"open_issues_count":44,"forks":136,"open_issues":44,"watchers":1351,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/honnibal/spaCy/pulls/222"},"html":{"href":"https://github.com/honnibal/spaCy/pull/222"},"issue":{"href":"https://api.github.com/repos/honnibal/spaCy/issues/222"},"comments":{"href":"https://api.github.com/repos/honnibal/spaCy/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/honnibal/spaCy/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/honnibal/spaCy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/honnibal/spaCy/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/honnibal/spaCy/statuses/bc229790ac342c273cb9cd1124477a29732dc90b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":34,"deletions":83,"changed_files":10}}