{"action":"opened","number":41,"pull_request":{"url":"https://api.github.com/repos/dbpedia/fact-extractor/pulls/41","id":33885990,"html_url":"https://github.com/dbpedia/fact-extractor/pull/41","diff_url":"https://github.com/dbpedia/fact-extractor/pull/41.diff","patch_url":"https://github.com/dbpedia/fact-extractor/pull/41.patch","issue_url":"https://api.github.com/repos/dbpedia/fact-extractor/issues/41","number":41,"state":"open","locked":false,"title":"Chunk combo","user":{"login":"e-dorigatti","id":5585926,"avatar_url":"https://avatars.githubusercontent.com/u/5585926?v=3","gravatar_id":"","url":"https://api.github.com/users/e-dorigatti","html_url":"https://github.com/e-dorigatti","followers_url":"https://api.github.com/users/e-dorigatti/followers","following_url":"https://api.github.com/users/e-dorigatti/following{/other_user}","gists_url":"https://api.github.com/users/e-dorigatti/gists{/gist_id}","starred_url":"https://api.github.com/users/e-dorigatti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-dorigatti/subscriptions","organizations_url":"https://api.github.com/users/e-dorigatti/orgs","repos_url":"https://api.github.com/users/e-dorigatti/repos","events_url":"https://api.github.com/users/e-dorigatti/events{/privacy}","received_events_url":"https://api.github.com/users/e-dorigatti/received_events","type":"User","site_admin":false},"body":"Here's the pull request. I also refactored the file into functions and added docstrings.\r\n\r\nI have found a case in which a file was missing the initial token of a chunk, currently I basically ignore it but this might indicate a problem with textpro. The sentence id is 33 and the relevant section is [this](https://github.com/e-dorigatti/fact-extractor/blob/chunk-combo/combine_chunks.py#L78)","created_at":"2015-04-22T18:20:07Z","updated_at":"2015-04-22T18:20:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dbpedia/fact-extractor/pulls/41/commits","review_comments_url":"https://api.github.com/repos/dbpedia/fact-extractor/pulls/41/comments","review_comment_url":"https://api.github.com/repos/dbpedia/fact-extractor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dbpedia/fact-extractor/issues/41/comments","statuses_url":"https://api.github.com/repos/dbpedia/fact-extractor/statuses/64a7e5ce2ab11b77ae3fce88a42accc4a78434d6","head":{"label":"e-dorigatti:chunk-combo","ref":"chunk-combo","sha":"64a7e5ce2ab11b77ae3fce88a42accc4a78434d6","user":{"login":"e-dorigatti","id":5585926,"avatar_url":"https://avatars.githubusercontent.com/u/5585926?v=3","gravatar_id":"","url":"https://api.github.com/users/e-dorigatti","html_url":"https://github.com/e-dorigatti","followers_url":"https://api.github.com/users/e-dorigatti/followers","following_url":"https://api.github.com/users/e-dorigatti/following{/other_user}","gists_url":"https://api.github.com/users/e-dorigatti/gists{/gist_id}","starred_url":"https://api.github.com/users/e-dorigatti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-dorigatti/subscriptions","organizations_url":"https://api.github.com/users/e-dorigatti/orgs","repos_url":"https://api.github.com/users/e-dorigatti/repos","events_url":"https://api.github.com/users/e-dorigatti/events{/privacy}","received_events_url":"https://api.github.com/users/e-dorigatti/received_events","type":"User","site_admin":false},"repo":{"id":33300386,"name":"fact-extractor","full_name":"e-dorigatti/fact-extractor","owner":{"login":"e-dorigatti","id":5585926,"avatar_url":"https://avatars.githubusercontent.com/u/5585926?v=3","gravatar_id":"","url":"https://api.github.com/users/e-dorigatti","html_url":"https://github.com/e-dorigatti","followers_url":"https://api.github.com/users/e-dorigatti/followers","following_url":"https://api.github.com/users/e-dorigatti/following{/other_user}","gists_url":"https://api.github.com/users/e-dorigatti/gists{/gist_id}","starred_url":"https://api.github.com/users/e-dorigatti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-dorigatti/subscriptions","organizations_url":"https://api.github.com/users/e-dorigatti/orgs","repos_url":"https://api.github.com/users/e-dorigatti/repos","events_url":"https://api.github.com/users/e-dorigatti/events{/privacy}","received_events_url":"https://api.github.com/users/e-dorigatti/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/e-dorigatti/fact-extractor","description":"Fact Extraction from Wikipedia Text","fork":true,"url":"https://api.github.com/repos/e-dorigatti/fact-extractor","forks_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/forks","keys_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/teams","hooks_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/hooks","issue_events_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/issues/events{/number}","events_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/events","assignees_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/assignees{/user}","branches_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/branches{/branch}","tags_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/tags","blobs_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/git/refs{/sha}","trees_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/statuses/{sha}","languages_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/languages","stargazers_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/stargazers","contributors_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/contributors","subscribers_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/subscribers","subscription_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/subscription","commits_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/commits{/sha}","git_commits_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/git/commits{/sha}","comments_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/comments{/number}","issue_comment_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/issues/comments{/number}","contents_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/contents/{+path}","compare_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/merges","archive_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/downloads","issues_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/issues{/number}","pulls_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/pulls{/number}","milestones_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/milestones{/number}","notifications_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/labels{/name}","releases_url":"https://api.github.com/repos/e-dorigatti/fact-extractor/releases{/id}","created_at":"2015-04-02T09:21:44Z","updated_at":"2015-04-02T09:21:45Z","pushed_at":"2015-04-22T18:14:55Z","git_url":"git://github.com/e-dorigatti/fact-extractor.git","ssh_url":"git@github.com:e-dorigatti/fact-extractor.git","clone_url":"https://github.com/e-dorigatti/fact-extractor.git","svn_url":"https://github.com/e-dorigatti/fact-extractor","homepage":null,"size":419,"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":"dbpedia:chunk-combo","ref":"chunk-combo","sha":"2ab8070d28f55059f049f76e0b8927d00d52a7f8","user":{"login":"dbpedia","id":2864602,"avatar_url":"https://avatars.githubusercontent.com/u/2864602?v=3","gravatar_id":"","url":"https://api.github.com/users/dbpedia","html_url":"https://github.com/dbpedia","followers_url":"https://api.github.com/users/dbpedia/followers","following_url":"https://api.github.com/users/dbpedia/following{/other_user}","gists_url":"https://api.github.com/users/dbpedia/gists{/gist_id}","starred_url":"https://api.github.com/users/dbpedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbpedia/subscriptions","organizations_url":"https://api.github.com/users/dbpedia/orgs","repos_url":"https://api.github.com/users/dbpedia/repos","events_url":"https://api.github.com/users/dbpedia/events{/privacy}","received_events_url":"https://api.github.com/users/dbpedia/received_events","type":"Organization","site_admin":false},"repo":{"id":31899686,"name":"fact-extractor","full_name":"dbpedia/fact-extractor","owner":{"login":"dbpedia","id":2864602,"avatar_url":"https://avatars.githubusercontent.com/u/2864602?v=3","gravatar_id":"","url":"https://api.github.com/users/dbpedia","html_url":"https://github.com/dbpedia","followers_url":"https://api.github.com/users/dbpedia/followers","following_url":"https://api.github.com/users/dbpedia/following{/other_user}","gists_url":"https://api.github.com/users/dbpedia/gists{/gist_id}","starred_url":"https://api.github.com/users/dbpedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbpedia/subscriptions","organizations_url":"https://api.github.com/users/dbpedia/orgs","repos_url":"https://api.github.com/users/dbpedia/repos","events_url":"https://api.github.com/users/dbpedia/events{/privacy}","received_events_url":"https://api.github.com/users/dbpedia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dbpedia/fact-extractor","description":"Fact Extraction from Wikipedia Text","fork":false,"url":"https://api.github.com/repos/dbpedia/fact-extractor","forks_url":"https://api.github.com/repos/dbpedia/fact-extractor/forks","keys_url":"https://api.github.com/repos/dbpedia/fact-extractor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dbpedia/fact-extractor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dbpedia/fact-extractor/teams","hooks_url":"https://api.github.com/repos/dbpedia/fact-extractor/hooks","issue_events_url":"https://api.github.com/repos/dbpedia/fact-extractor/issues/events{/number}","events_url":"https://api.github.com/repos/dbpedia/fact-extractor/events","assignees_url":"https://api.github.com/repos/dbpedia/fact-extractor/assignees{/user}","branches_url":"https://api.github.com/repos/dbpedia/fact-extractor/branches{/branch}","tags_url":"https://api.github.com/repos/dbpedia/fact-extractor/tags","blobs_url":"https://api.github.com/repos/dbpedia/fact-extractor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dbpedia/fact-extractor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dbpedia/fact-extractor/git/refs{/sha}","trees_url":"https://api.github.com/repos/dbpedia/fact-extractor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dbpedia/fact-extractor/statuses/{sha}","languages_url":"https://api.github.com/repos/dbpedia/fact-extractor/languages","stargazers_url":"https://api.github.com/repos/dbpedia/fact-extractor/stargazers","contributors_url":"https://api.github.com/repos/dbpedia/fact-extractor/contributors","subscribers_url":"https://api.github.com/repos/dbpedia/fact-extractor/subscribers","subscription_url":"https://api.github.com/repos/dbpedia/fact-extractor/subscription","commits_url":"https://api.github.com/repos/dbpedia/fact-extractor/commits{/sha}","git_commits_url":"https://api.github.com/repos/dbpedia/fact-extractor/git/commits{/sha}","comments_url":"https://api.github.com/repos/dbpedia/fact-extractor/comments{/number}","issue_comment_url":"https://api.github.com/repos/dbpedia/fact-extractor/issues/comments{/number}","contents_url":"https://api.github.com/repos/dbpedia/fact-extractor/contents/{+path}","compare_url":"https://api.github.com/repos/dbpedia/fact-extractor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dbpedia/fact-extractor/merges","archive_url":"https://api.github.com/repos/dbpedia/fact-extractor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dbpedia/fact-extractor/downloads","issues_url":"https://api.github.com/repos/dbpedia/fact-extractor/issues{/number}","pulls_url":"https://api.github.com/repos/dbpedia/fact-extractor/pulls{/number}","milestones_url":"https://api.github.com/repos/dbpedia/fact-extractor/milestones{/number}","notifications_url":"https://api.github.com/repos/dbpedia/fact-extractor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dbpedia/fact-extractor/labels{/name}","releases_url":"https://api.github.com/repos/dbpedia/fact-extractor/releases{/id}","created_at":"2015-03-09T13:27:43Z","updated_at":"2015-04-13T10:20:21Z","pushed_at":"2015-04-20T14:23:15Z","git_url":"git://github.com/dbpedia/fact-extractor.git","ssh_url":"git@github.com:dbpedia/fact-extractor.git","clone_url":"https://github.com/dbpedia/fact-extractor.git","svn_url":"https://github.com/dbpedia/fact-extractor","homepage":null,"size":962,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":21,"forks":15,"open_issues":21,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dbpedia/fact-extractor/pulls/41"},"html":{"href":"https://github.com/dbpedia/fact-extractor/pull/41"},"issue":{"href":"https://api.github.com/repos/dbpedia/fact-extractor/issues/41"},"comments":{"href":"https://api.github.com/repos/dbpedia/fact-extractor/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/dbpedia/fact-extractor/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/dbpedia/fact-extractor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dbpedia/fact-extractor/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/dbpedia/fact-extractor/statuses/64a7e5ce2ab11b77ae3fce88a42accc4a78434d6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":170,"deletions":122,"changed_files":1}}