{"action":"created","comment":{"url":"https://api.github.com/repos/irit-melodi/educe/pulls/comments/31496323","id":31496323,"diff_hunk":"@@ -26,6 +31,60 @@ def from_span(span):\n             return None\n     return sorted(nodes, key=lambda x: from_span(x.text_span()))\n \n+\n+def _blank_out(text, rejects):\n+    \"\"\"Return a copy of a text with the indicated regions replaced\n+    by spaces","path":"educe/stac/context.py","position":22,"original_position":22,"commit_id":"0036263502269b4806dc042641158deead59b68b","original_commit_id":"0036263502269b4806dc042641158deead59b68b","user":{"login":"kowey","id":30669,"avatar_url":"https://avatars.githubusercontent.com/u/30669?v=3","gravatar_id":"","url":"https://api.github.com/users/kowey","html_url":"https://github.com/kowey","followers_url":"https://api.github.com/users/kowey/followers","following_url":"https://api.github.com/users/kowey/following{/other_user}","gists_url":"https://api.github.com/users/kowey/gists{/gist_id}","starred_url":"https://api.github.com/users/kowey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kowey/subscriptions","organizations_url":"https://api.github.com/users/kowey/orgs","repos_url":"https://api.github.com/users/kowey/repos","events_url":"https://api.github.com/users/kowey/events{/privacy}","received_events_url":"https://api.github.com/users/kowey/received_events","type":"User","site_admin":false},"body":"Will be addressed in update","created_at":"2015-06-02T06:48:03Z","updated_at":"2015-06-02T06:48:03Z","html_url":"https://github.com/irit-melodi/educe/pull/47#discussion_r31496323","pull_request_url":"https://api.github.com/repos/irit-melodi/educe/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/irit-melodi/educe/pulls/comments/31496323"},"html":{"href":"https://github.com/irit-melodi/educe/pull/47#discussion_r31496323"},"pull_request":{"href":"https://api.github.com/repos/irit-melodi/educe/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/irit-melodi/educe/pulls/47","id":35654802,"html_url":"https://github.com/irit-melodi/educe/pull/47","diff_url":"https://github.com/irit-melodi/educe/pull/47.diff","patch_url":"https://github.com/irit-melodi/educe/pull/47.patch","issue_url":"https://api.github.com/repos/irit-melodi/educe/issues/47","number":47,"state":"open","locked":false,"title":"[MRG] Turn star","user":{"login":"kowey","id":30669,"avatar_url":"https://avatars.githubusercontent.com/u/30669?v=3","gravatar_id":"","url":"https://api.github.com/users/kowey","html_url":"https://github.com/kowey","followers_url":"https://api.github.com/users/kowey/followers","following_url":"https://api.github.com/users/kowey/following{/other_user}","gists_url":"https://api.github.com/users/kowey/gists{/gist_id}","starred_url":"https://api.github.com/users/kowey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kowey/subscriptions","organizations_url":"https://api.github.com/users/kowey/orgs","repos_url":"https://api.github.com/users/kowey/repos","events_url":"https://api.github.com/users/kowey/events{/privacy}","received_events_url":"https://api.github.com/users/kowey/received_events","type":"User","site_admin":false},"body":"This feels wrong","created_at":"2015-05-18T17:21:31Z","updated_at":"2015-06-02T06:48:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"847d2b5dcddf3675e44ea633d265a9a6771fc26d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/irit-melodi/educe/pulls/47/commits","review_comments_url":"https://api.github.com/repos/irit-melodi/educe/pulls/47/comments","review_comment_url":"https://api.github.com/repos/irit-melodi/educe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/irit-melodi/educe/issues/47/comments","statuses_url":"https://api.github.com/repos/irit-melodi/educe/statuses/0036263502269b4806dc042641158deead59b68b","head":{"label":"kowey:turn_star","ref":"turn_star","sha":"0036263502269b4806dc042641158deead59b68b","user":{"login":"kowey","id":30669,"avatar_url":"https://avatars.githubusercontent.com/u/30669?v=3","gravatar_id":"","url":"https://api.github.com/users/kowey","html_url":"https://github.com/kowey","followers_url":"https://api.github.com/users/kowey/followers","following_url":"https://api.github.com/users/kowey/following{/other_user}","gists_url":"https://api.github.com/users/kowey/gists{/gist_id}","starred_url":"https://api.github.com/users/kowey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kowey/subscriptions","organizations_url":"https://api.github.com/users/kowey/orgs","repos_url":"https://api.github.com/users/kowey/repos","events_url":"https://api.github.com/users/kowey/events{/privacy}","received_events_url":"https://api.github.com/users/kowey/received_events","type":"User","site_admin":false},"repo":{"id":35217694,"name":"educe","full_name":"kowey/educe","owner":{"login":"kowey","id":30669,"avatar_url":"https://avatars.githubusercontent.com/u/30669?v=3","gravatar_id":"","url":"https://api.github.com/users/kowey","html_url":"https://github.com/kowey","followers_url":"https://api.github.com/users/kowey/followers","following_url":"https://api.github.com/users/kowey/following{/other_user}","gists_url":"https://api.github.com/users/kowey/gists{/gist_id}","starred_url":"https://api.github.com/users/kowey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kowey/subscriptions","organizations_url":"https://api.github.com/users/kowey/orgs","repos_url":"https://api.github.com/users/kowey/repos","events_url":"https://api.github.com/users/kowey/events{/privacy}","received_events_url":"https://api.github.com/users/kowey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kowey/educe","description":"Abstract representation of a discourse-annotated corpus.","fork":true,"url":"https://api.github.com/repos/kowey/educe","forks_url":"https://api.github.com/repos/kowey/educe/forks","keys_url":"https://api.github.com/repos/kowey/educe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kowey/educe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kowey/educe/teams","hooks_url":"https://api.github.com/repos/kowey/educe/hooks","issue_events_url":"https://api.github.com/repos/kowey/educe/issues/events{/number}","events_url":"https://api.github.com/repos/kowey/educe/events","assignees_url":"https://api.github.com/repos/kowey/educe/assignees{/user}","branches_url":"https://api.github.com/repos/kowey/educe/branches{/branch}","tags_url":"https://api.github.com/repos/kowey/educe/tags","blobs_url":"https://api.github.com/repos/kowey/educe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kowey/educe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kowey/educe/git/refs{/sha}","trees_url":"https://api.github.com/repos/kowey/educe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kowey/educe/statuses/{sha}","languages_url":"https://api.github.com/repos/kowey/educe/languages","stargazers_url":"https://api.github.com/repos/kowey/educe/stargazers","contributors_url":"https://api.github.com/repos/kowey/educe/contributors","subscribers_url":"https://api.github.com/repos/kowey/educe/subscribers","subscription_url":"https://api.github.com/repos/kowey/educe/subscription","commits_url":"https://api.github.com/repos/kowey/educe/commits{/sha}","git_commits_url":"https://api.github.com/repos/kowey/educe/git/commits{/sha}","comments_url":"https://api.github.com/repos/kowey/educe/comments{/number}","issue_comment_url":"https://api.github.com/repos/kowey/educe/issues/comments{/number}","contents_url":"https://api.github.com/repos/kowey/educe/contents/{+path}","compare_url":"https://api.github.com/repos/kowey/educe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kowey/educe/merges","archive_url":"https://api.github.com/repos/kowey/educe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kowey/educe/downloads","issues_url":"https://api.github.com/repos/kowey/educe/issues{/number}","pulls_url":"https://api.github.com/repos/kowey/educe/pulls{/number}","milestones_url":"https://api.github.com/repos/kowey/educe/milestones{/number}","notifications_url":"https://api.github.com/repos/kowey/educe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kowey/educe/labels{/name}","releases_url":"https://api.github.com/repos/kowey/educe/releases{/id}","created_at":"2015-05-07T12:03:27Z","updated_at":"2015-05-07T12:03:31Z","pushed_at":"2015-05-29T19:55:47Z","git_url":"git://github.com/kowey/educe.git","ssh_url":"git@github.com:kowey/educe.git","clone_url":"https://github.com/kowey/educe.git","svn_url":"https://github.com/kowey/educe","homepage":null,"size":3996,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"irit-melodi:master","ref":"master","sha":"9c45aea93177fde719d3c5f308e110e734c16788","user":{"login":"irit-melodi","id":6310512,"avatar_url":"https://avatars.githubusercontent.com/u/6310512?v=3","gravatar_id":"","url":"https://api.github.com/users/irit-melodi","html_url":"https://github.com/irit-melodi","followers_url":"https://api.github.com/users/irit-melodi/followers","following_url":"https://api.github.com/users/irit-melodi/following{/other_user}","gists_url":"https://api.github.com/users/irit-melodi/gists{/gist_id}","starred_url":"https://api.github.com/users/irit-melodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irit-melodi/subscriptions","organizations_url":"https://api.github.com/users/irit-melodi/orgs","repos_url":"https://api.github.com/users/irit-melodi/repos","events_url":"https://api.github.com/users/irit-melodi/events{/privacy}","received_events_url":"https://api.github.com/users/irit-melodi/received_events","type":"Organization","site_admin":false},"repo":{"id":7911714,"name":"educe","full_name":"irit-melodi/educe","owner":{"login":"irit-melodi","id":6310512,"avatar_url":"https://avatars.githubusercontent.com/u/6310512?v=3","gravatar_id":"","url":"https://api.github.com/users/irit-melodi","html_url":"https://github.com/irit-melodi","followers_url":"https://api.github.com/users/irit-melodi/followers","following_url":"https://api.github.com/users/irit-melodi/following{/other_user}","gists_url":"https://api.github.com/users/irit-melodi/gists{/gist_id}","starred_url":"https://api.github.com/users/irit-melodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irit-melodi/subscriptions","organizations_url":"https://api.github.com/users/irit-melodi/orgs","repos_url":"https://api.github.com/users/irit-melodi/repos","events_url":"https://api.github.com/users/irit-melodi/events{/privacy}","received_events_url":"https://api.github.com/users/irit-melodi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/irit-melodi/educe","description":"Abstract representation of a discourse-annotated corpus.","fork":false,"url":"https://api.github.com/repos/irit-melodi/educe","forks_url":"https://api.github.com/repos/irit-melodi/educe/forks","keys_url":"https://api.github.com/repos/irit-melodi/educe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/irit-melodi/educe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/irit-melodi/educe/teams","hooks_url":"https://api.github.com/repos/irit-melodi/educe/hooks","issue_events_url":"https://api.github.com/repos/irit-melodi/educe/issues/events{/number}","events_url":"https://api.github.com/repos/irit-melodi/educe/events","assignees_url":"https://api.github.com/repos/irit-melodi/educe/assignees{/user}","branches_url":"https://api.github.com/repos/irit-melodi/educe/branches{/branch}","tags_url":"https://api.github.com/repos/irit-melodi/educe/tags","blobs_url":"https://api.github.com/repos/irit-melodi/educe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/irit-melodi/educe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/irit-melodi/educe/git/refs{/sha}","trees_url":"https://api.github.com/repos/irit-melodi/educe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/irit-melodi/educe/statuses/{sha}","languages_url":"https://api.github.com/repos/irit-melodi/educe/languages","stargazers_url":"https://api.github.com/repos/irit-melodi/educe/stargazers","contributors_url":"https://api.github.com/repos/irit-melodi/educe/contributors","subscribers_url":"https://api.github.com/repos/irit-melodi/educe/subscribers","subscription_url":"https://api.github.com/repos/irit-melodi/educe/subscription","commits_url":"https://api.github.com/repos/irit-melodi/educe/commits{/sha}","git_commits_url":"https://api.github.com/repos/irit-melodi/educe/git/commits{/sha}","comments_url":"https://api.github.com/repos/irit-melodi/educe/comments{/number}","issue_comment_url":"https://api.github.com/repos/irit-melodi/educe/issues/comments{/number}","contents_url":"https://api.github.com/repos/irit-melodi/educe/contents/{+path}","compare_url":"https://api.github.com/repos/irit-melodi/educe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/irit-melodi/educe/merges","archive_url":"https://api.github.com/repos/irit-melodi/educe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/irit-melodi/educe/downloads","issues_url":"https://api.github.com/repos/irit-melodi/educe/issues{/number}","pulls_url":"https://api.github.com/repos/irit-melodi/educe/pulls{/number}","milestones_url":"https://api.github.com/repos/irit-melodi/educe/milestones{/number}","notifications_url":"https://api.github.com/repos/irit-melodi/educe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/irit-melodi/educe/labels{/name}","releases_url":"https://api.github.com/repos/irit-melodi/educe/releases{/id}","created_at":"2013-01-30T09:38:25Z","updated_at":"2015-05-05T15:59:41Z","pushed_at":"2015-05-26T12:44:51Z","git_url":"git://github.com/irit-melodi/educe.git","ssh_url":"git@github.com:irit-melodi/educe.git","clone_url":"https://github.com/irit-melodi/educe.git","svn_url":"https://github.com/irit-melodi/educe","homepage":null,"size":5552,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":11,"forks":6,"open_issues":11,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/irit-melodi/educe/pulls/47"},"html":{"href":"https://github.com/irit-melodi/educe/pull/47"},"issue":{"href":"https://api.github.com/repos/irit-melodi/educe/issues/47"},"comments":{"href":"https://api.github.com/repos/irit-melodi/educe/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/irit-melodi/educe/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/irit-melodi/educe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/irit-melodi/educe/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/irit-melodi/educe/statuses/0036263502269b4806dc042641158deead59b68b"}}}}