{"action":"created","comment":{"url":"https://api.github.com/repos/sroberts/cacador/pulls/comments/62608294","id":62608294,"diff_hunk":"@@ -1,9 +1,17 @@\n package aux\n \n import (\n+\t\"github.com/urandom/text-summary/summarize\"\n \t\"strings\"\n )\n \n+//Summarizer","path":"aux/auxilary.go","position":8,"original_position":8,"commit_id":"85235b00d383601420b2785d59753450d0478f0b","original_commit_id":"85235b00d383601420b2785d59753450d0478f0b","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"comment on exported function Summarizer should be of the form \"Summarizer ...\"","created_at":"2016-05-10T03:40:15Z","updated_at":"2016-05-10T03:40:15Z","html_url":"https://github.com/sroberts/cacador/pull/19#discussion_r62608294","pull_request_url":"https://api.github.com/repos/sroberts/cacador/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/sroberts/cacador/pulls/comments/62608294"},"html":{"href":"https://github.com/sroberts/cacador/pull/19#discussion_r62608294"},"pull_request":{"href":"https://api.github.com/repos/sroberts/cacador/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/sroberts/cacador/pulls/19","id":69444769,"html_url":"https://github.com/sroberts/cacador/pull/19","diff_url":"https://github.com/sroberts/cacador/pull/19.diff","patch_url":"https://github.com/sroberts/cacador/pull/19.patch","issue_url":"https://api.github.com/repos/sroberts/cacador/issues/19","number":19,"state":"open","locked":false,"title":"WIP: added basic summary actions with text-summary","user":{"login":"sroberts","id":44774,"avatar_url":"https://avatars.githubusercontent.com/u/44774?v=3","gravatar_id":"","url":"https://api.github.com/users/sroberts","html_url":"https://github.com/sroberts","followers_url":"https://api.github.com/users/sroberts/followers","following_url":"https://api.github.com/users/sroberts/following{/other_user}","gists_url":"https://api.github.com/users/sroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/sroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sroberts/subscriptions","organizations_url":"https://api.github.com/users/sroberts/orgs","repos_url":"https://api.github.com/users/sroberts/repos","events_url":"https://api.github.com/users/sroberts/events{/privacy}","received_events_url":"https://api.github.com/users/sroberts/received_events","type":"User","site_admin":true},"body":"I thought it'd be nice to have a summary of the text submitted to cacador. The [text-summary](https://github.com/urandom/text-summary) library looked like a good candidate, but the results have been less than excellent. \r\n\r\nFrom the Equation report:\r\n\r\n> \"What is the Equation group?  What is the Equation group?  002.  002.  001.  002.  001.  002.  001.  002.  002.  002.  002.  002.  001.  001.  001.  001.  002.  001.  Win32.  Win32.  Win32.  Win32.\r\nEquationDrug.  Win32.  Win32.  Win32.  Win32.  Win32.  Win32.  Win32.  Win32.  Win32.  Win32.  Win32.  EquationDrug.  Win32.  EquationDrug.  Win32.  EquationDrug.  Win32.  EquationDrug.  Win32.  EquationDrug.  Wi\r\nn32.  EquationDrug.  Win32.  EquationDrug.  Win32.  EquationDrug.  Win32.  EquationDrug.  Win32.  EquationDrug.  Win32.  Win32.  Win32.  Win32.  Win32.  Win32.  Win32.  Win32.  Win32.  EquationDrug.  EquationDrug\r\n.  Win32.\"\r\n\r\nDoesn't seem terribly useful, but perhaps I'm using the library wrong or need a different library. We'll see.","created_at":"2016-05-10T03:40:05Z","updated_at":"2016-05-10T03:40:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a5506c3aa616040dd1a095bd9342a22216759f70","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sroberts/cacador/pulls/19/commits","review_comments_url":"https://api.github.com/repos/sroberts/cacador/pulls/19/comments","review_comment_url":"https://api.github.com/repos/sroberts/cacador/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sroberts/cacador/issues/19/comments","statuses_url":"https://api.github.com/repos/sroberts/cacador/statuses/85235b00d383601420b2785d59753450d0478f0b","head":{"label":"sroberts:summarizer","ref":"summarizer","sha":"85235b00d383601420b2785d59753450d0478f0b","user":{"login":"sroberts","id":44774,"avatar_url":"https://avatars.githubusercontent.com/u/44774?v=3","gravatar_id":"","url":"https://api.github.com/users/sroberts","html_url":"https://github.com/sroberts","followers_url":"https://api.github.com/users/sroberts/followers","following_url":"https://api.github.com/users/sroberts/following{/other_user}","gists_url":"https://api.github.com/users/sroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/sroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sroberts/subscriptions","organizations_url":"https://api.github.com/users/sroberts/orgs","repos_url":"https://api.github.com/users/sroberts/repos","events_url":"https://api.github.com/users/sroberts/events{/privacy}","received_events_url":"https://api.github.com/users/sroberts/received_events","type":"User","site_admin":true},"repo":{"id":50754264,"name":"cacador","full_name":"sroberts/cacador","owner":{"login":"sroberts","id":44774,"avatar_url":"https://avatars.githubusercontent.com/u/44774?v=3","gravatar_id":"","url":"https://api.github.com/users/sroberts","html_url":"https://github.com/sroberts","followers_url":"https://api.github.com/users/sroberts/followers","following_url":"https://api.github.com/users/sroberts/following{/other_user}","gists_url":"https://api.github.com/users/sroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/sroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sroberts/subscriptions","organizations_url":"https://api.github.com/users/sroberts/orgs","repos_url":"https://api.github.com/users/sroberts/repos","events_url":"https://api.github.com/users/sroberts/events{/privacy}","received_events_url":"https://api.github.com/users/sroberts/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/sroberts/cacador","description":"Indicator Extractor","fork":false,"url":"https://api.github.com/repos/sroberts/cacador","forks_url":"https://api.github.com/repos/sroberts/cacador/forks","keys_url":"https://api.github.com/repos/sroberts/cacador/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sroberts/cacador/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sroberts/cacador/teams","hooks_url":"https://api.github.com/repos/sroberts/cacador/hooks","issue_events_url":"https://api.github.com/repos/sroberts/cacador/issues/events{/number}","events_url":"https://api.github.com/repos/sroberts/cacador/events","assignees_url":"https://api.github.com/repos/sroberts/cacador/assignees{/user}","branches_url":"https://api.github.com/repos/sroberts/cacador/branches{/branch}","tags_url":"https://api.github.com/repos/sroberts/cacador/tags","blobs_url":"https://api.github.com/repos/sroberts/cacador/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sroberts/cacador/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sroberts/cacador/git/refs{/sha}","trees_url":"https://api.github.com/repos/sroberts/cacador/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sroberts/cacador/statuses/{sha}","languages_url":"https://api.github.com/repos/sroberts/cacador/languages","stargazers_url":"https://api.github.com/repos/sroberts/cacador/stargazers","contributors_url":"https://api.github.com/repos/sroberts/cacador/contributors","subscribers_url":"https://api.github.com/repos/sroberts/cacador/subscribers","subscription_url":"https://api.github.com/repos/sroberts/cacador/subscription","commits_url":"https://api.github.com/repos/sroberts/cacador/commits{/sha}","git_commits_url":"https://api.github.com/repos/sroberts/cacador/git/commits{/sha}","comments_url":"https://api.github.com/repos/sroberts/cacador/comments{/number}","issue_comment_url":"https://api.github.com/repos/sroberts/cacador/issues/comments{/number}","contents_url":"https://api.github.com/repos/sroberts/cacador/contents/{+path}","compare_url":"https://api.github.com/repos/sroberts/cacador/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sroberts/cacador/merges","archive_url":"https://api.github.com/repos/sroberts/cacador/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sroberts/cacador/downloads","issues_url":"https://api.github.com/repos/sroberts/cacador/issues{/number}","pulls_url":"https://api.github.com/repos/sroberts/cacador/pulls{/number}","milestones_url":"https://api.github.com/repos/sroberts/cacador/milestones{/number}","notifications_url":"https://api.github.com/repos/sroberts/cacador/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sroberts/cacador/labels{/name}","releases_url":"https://api.github.com/repos/sroberts/cacador/releases{/id}","deployments_url":"https://api.github.com/repos/sroberts/cacador/deployments","created_at":"2016-01-31T01:53:42Z","updated_at":"2016-04-20T14:56:24Z","pushed_at":"2016-05-10T03:40:06Z","git_url":"git://github.com/sroberts/cacador.git","ssh_url":"git@github.com:sroberts/cacador.git","clone_url":"https://github.com/sroberts/cacador.git","svn_url":"https://github.com/sroberts/cacador","homepage":null,"size":34,"stargazers_count":28,"watchers_count":28,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":8,"forks":5,"open_issues":8,"watchers":28,"default_branch":"master"}},"base":{"label":"sroberts:master","ref":"master","sha":"6148da2766e9a946160da2a2c0ccda66520c5999","user":{"login":"sroberts","id":44774,"avatar_url":"https://avatars.githubusercontent.com/u/44774?v=3","gravatar_id":"","url":"https://api.github.com/users/sroberts","html_url":"https://github.com/sroberts","followers_url":"https://api.github.com/users/sroberts/followers","following_url":"https://api.github.com/users/sroberts/following{/other_user}","gists_url":"https://api.github.com/users/sroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/sroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sroberts/subscriptions","organizations_url":"https://api.github.com/users/sroberts/orgs","repos_url":"https://api.github.com/users/sroberts/repos","events_url":"https://api.github.com/users/sroberts/events{/privacy}","received_events_url":"https://api.github.com/users/sroberts/received_events","type":"User","site_admin":true},"repo":{"id":50754264,"name":"cacador","full_name":"sroberts/cacador","owner":{"login":"sroberts","id":44774,"avatar_url":"https://avatars.githubusercontent.com/u/44774?v=3","gravatar_id":"","url":"https://api.github.com/users/sroberts","html_url":"https://github.com/sroberts","followers_url":"https://api.github.com/users/sroberts/followers","following_url":"https://api.github.com/users/sroberts/following{/other_user}","gists_url":"https://api.github.com/users/sroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/sroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sroberts/subscriptions","organizations_url":"https://api.github.com/users/sroberts/orgs","repos_url":"https://api.github.com/users/sroberts/repos","events_url":"https://api.github.com/users/sroberts/events{/privacy}","received_events_url":"https://api.github.com/users/sroberts/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/sroberts/cacador","description":"Indicator Extractor","fork":false,"url":"https://api.github.com/repos/sroberts/cacador","forks_url":"https://api.github.com/repos/sroberts/cacador/forks","keys_url":"https://api.github.com/repos/sroberts/cacador/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sroberts/cacador/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sroberts/cacador/teams","hooks_url":"https://api.github.com/repos/sroberts/cacador/hooks","issue_events_url":"https://api.github.com/repos/sroberts/cacador/issues/events{/number}","events_url":"https://api.github.com/repos/sroberts/cacador/events","assignees_url":"https://api.github.com/repos/sroberts/cacador/assignees{/user}","branches_url":"https://api.github.com/repos/sroberts/cacador/branches{/branch}","tags_url":"https://api.github.com/repos/sroberts/cacador/tags","blobs_url":"https://api.github.com/repos/sroberts/cacador/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sroberts/cacador/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sroberts/cacador/git/refs{/sha}","trees_url":"https://api.github.com/repos/sroberts/cacador/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sroberts/cacador/statuses/{sha}","languages_url":"https://api.github.com/repos/sroberts/cacador/languages","stargazers_url":"https://api.github.com/repos/sroberts/cacador/stargazers","contributors_url":"https://api.github.com/repos/sroberts/cacador/contributors","subscribers_url":"https://api.github.com/repos/sroberts/cacador/subscribers","subscription_url":"https://api.github.com/repos/sroberts/cacador/subscription","commits_url":"https://api.github.com/repos/sroberts/cacador/commits{/sha}","git_commits_url":"https://api.github.com/repos/sroberts/cacador/git/commits{/sha}","comments_url":"https://api.github.com/repos/sroberts/cacador/comments{/number}","issue_comment_url":"https://api.github.com/repos/sroberts/cacador/issues/comments{/number}","contents_url":"https://api.github.com/repos/sroberts/cacador/contents/{+path}","compare_url":"https://api.github.com/repos/sroberts/cacador/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sroberts/cacador/merges","archive_url":"https://api.github.com/repos/sroberts/cacador/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sroberts/cacador/downloads","issues_url":"https://api.github.com/repos/sroberts/cacador/issues{/number}","pulls_url":"https://api.github.com/repos/sroberts/cacador/pulls{/number}","milestones_url":"https://api.github.com/repos/sroberts/cacador/milestones{/number}","notifications_url":"https://api.github.com/repos/sroberts/cacador/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sroberts/cacador/labels{/name}","releases_url":"https://api.github.com/repos/sroberts/cacador/releases{/id}","deployments_url":"https://api.github.com/repos/sroberts/cacador/deployments","created_at":"2016-01-31T01:53:42Z","updated_at":"2016-04-20T14:56:24Z","pushed_at":"2016-05-10T03:40:06Z","git_url":"git://github.com/sroberts/cacador.git","ssh_url":"git@github.com:sroberts/cacador.git","clone_url":"https://github.com/sroberts/cacador.git","svn_url":"https://github.com/sroberts/cacador","homepage":null,"size":34,"stargazers_count":28,"watchers_count":28,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":8,"forks":5,"open_issues":8,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sroberts/cacador/pulls/19"},"html":{"href":"https://github.com/sroberts/cacador/pull/19"},"issue":{"href":"https://api.github.com/repos/sroberts/cacador/issues/19"},"comments":{"href":"https://api.github.com/repos/sroberts/cacador/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/sroberts/cacador/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/sroberts/cacador/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sroberts/cacador/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/sroberts/cacador/statuses/85235b00d383601420b2785d59753450d0478f0b"}}}}