{"action":"created","comment":{"url":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/comments/55859678","id":55859678,"diff_hunk":"@@ -1,12 +1,54 @@\n import { flattenObjectToArray } from './../shared/utilities';\r\n \r\n+// http://www.ranks.nl/stopwords\r\n+const stopList = ['a', 'about', 'above', 'after', 'again', 'against', 'all', 'am', 'an', 'and', 'any', 'are', \"aren't\", 'as', 'at', 'be', 'because', 'been', 'before', 'being', 'below', 'between', 'both', 'but', 'by', \"can't\", 'cannot', 'could', \"couldn't\", 'did', \"didn't\", 'do', 'does', \"doesn't\", 'doing', \"don't\", 'down', 'during', 'each', 'few', 'for', 'from', 'further', 'had', \"hadn't\", 'has', \"hasn't\", 'have', \"haven't\", 'having', 'he', \"he'd\", \"he'll\", \"he's\", 'her', 'here', \"here's\", 'hers', 'herself', 'him', 'himself', 'his', 'how', \"how's\", 'i', \"i'd\", \"i'll\", \"i'm\", \"i've\", 'if', 'in', 'into', 'is', \"isn't\", 'it', \"it's\", 'its', 'itself', \"let's\", 'me', 'more', 'most', \"mustn't\", 'my', 'myself', 'no', 'nor', 'not', 'of', 'off', 'on', 'once', 'only', 'or', 'other', 'ought', 'our', 'ours\tourselves', 'out', 'over', 'own', 'same', \"shan't\", 'she', \"she'd\", \"she'll\", \"she's\", 'should', \"shouldn't\", 'so', 'some', 'such', 'than', 'that', \"that's\", 'the', 'their', 'theirs', 'them', 'themselves', 'then', 'there', \"there's\", 'these', 'they', \"they'd\", \"they'll\", \"they're\", \"they've\", 'this', 'those', 'through', 'to', 'too', 'under', 'until', 'up', 'very', 'was', \"wasn't\", 'we', \"we'd\", \"we'll\", \"we're\", \"we've\", 'were', \"weren't\", 'what', \"what's\", 'when', \"when's\", 'where', \"where's\", 'which', 'while', 'who', \"who's\", 'whom', 'why', \"why's\", 'with', \"won't\", 'would', \"wouldn't\", 'you', \"you'd\", \"you'll\", \"you're\", \"you've\", 'your', 'yours', 'yourself', 'yourselves'];\r","path":"src/client/tweetAnalysis.js","position":4,"original_position":4,"commit_id":"335d7e6abb41a235f8d250238275f95c81f04827","original_commit_id":"335d7e6abb41a235f8d250238275f95c81f04827","user":{"login":"Winwardo","id":840549,"avatar_url":"https://avatars.githubusercontent.com/u/840549?v=3","gravatar_id":"","url":"https://api.github.com/users/Winwardo","html_url":"https://github.com/Winwardo","followers_url":"https://api.github.com/users/Winwardo/followers","following_url":"https://api.github.com/users/Winwardo/following{/other_user}","gists_url":"https://api.github.com/users/Winwardo/gists{/gist_id}","starred_url":"https://api.github.com/users/Winwardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Winwardo/subscriptions","organizations_url":"https://api.github.com/users/Winwardo/orgs","repos_url":"https://api.github.com/users/Winwardo/repos","events_url":"https://api.github.com/users/Winwardo/events{/privacy}","received_events_url":"https://api.github.com/users/Winwardo/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Mixed double and single quotes.](https://www.codacy.com/app/winwardo/solid-octo-disco/file/2223776510/issues/source?bid=3148782&fileBranchId=3167298#l4)","created_at":"2016-03-11T17:22:50Z","updated_at":"2016-03-11T17:22:50Z","html_url":"https://github.com/Winwardo/solid-octo-disco/pull/58#discussion_r55859678","pull_request_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/58","_links":{"self":{"href":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/comments/55859678"},"html":{"href":"https://github.com/Winwardo/solid-octo-disco/pull/58#discussion_r55859678"},"pull_request":{"href":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/58","id":62105383,"html_url":"https://github.com/Winwardo/solid-octo-disco/pull/58","diff_url":"https://github.com/Winwardo/solid-octo-disco/pull/58.diff","patch_url":"https://github.com/Winwardo/solid-octo-disco/pull/58.patch","issue_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues/58","number":58,"state":"open","locked":false,"title":"Most used words search","user":{"login":"Winwardo","id":840549,"avatar_url":"https://avatars.githubusercontent.com/u/840549?v=3","gravatar_id":"","url":"https://api.github.com/users/Winwardo","html_url":"https://github.com/Winwardo","followers_url":"https://api.github.com/users/Winwardo/followers","following_url":"https://api.github.com/users/Winwardo/following{/other_user}","gists_url":"https://api.github.com/users/Winwardo/gists{/gist_id}","starred_url":"https://api.github.com/users/Winwardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Winwardo/subscriptions","organizations_url":"https://api.github.com/users/Winwardo/orgs","repos_url":"https://api.github.com/users/Winwardo/repos","events_url":"https://api.github.com/users/Winwardo/events{/privacy}","received_events_url":"https://api.github.com/users/Winwardo/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-08T17:26:47Z","updated_at":"2016-03-11T17:22:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"076222f7ebc4454135494f0207ce3416d780db3f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/58/commits","review_comments_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/58/comments","review_comment_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues/58/comments","statuses_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/statuses/335d7e6abb41a235f8d250238275f95c81f04827","head":{"label":"Winwardo:most-used-words-search","ref":"most-used-words-search","sha":"335d7e6abb41a235f8d250238275f95c81f04827","user":{"login":"Winwardo","id":840549,"avatar_url":"https://avatars.githubusercontent.com/u/840549?v=3","gravatar_id":"","url":"https://api.github.com/users/Winwardo","html_url":"https://github.com/Winwardo","followers_url":"https://api.github.com/users/Winwardo/followers","following_url":"https://api.github.com/users/Winwardo/following{/other_user}","gists_url":"https://api.github.com/users/Winwardo/gists{/gist_id}","starred_url":"https://api.github.com/users/Winwardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Winwardo/subscriptions","organizations_url":"https://api.github.com/users/Winwardo/orgs","repos_url":"https://api.github.com/users/Winwardo/repos","events_url":"https://api.github.com/users/Winwardo/events{/privacy}","received_events_url":"https://api.github.com/users/Winwardo/received_events","type":"User","site_admin":false},"repo":{"id":52749606,"name":"solid-octo-disco","full_name":"Winwardo/solid-octo-disco","owner":{"login":"Winwardo","id":840549,"avatar_url":"https://avatars.githubusercontent.com/u/840549?v=3","gravatar_id":"","url":"https://api.github.com/users/Winwardo","html_url":"https://github.com/Winwardo","followers_url":"https://api.github.com/users/Winwardo/followers","following_url":"https://api.github.com/users/Winwardo/following{/other_user}","gists_url":"https://api.github.com/users/Winwardo/gists{/gist_id}","starred_url":"https://api.github.com/users/Winwardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Winwardo/subscriptions","organizations_url":"https://api.github.com/users/Winwardo/orgs","repos_url":"https://api.github.com/users/Winwardo/repos","events_url":"https://api.github.com/users/Winwardo/events{/privacy}","received_events_url":"https://api.github.com/users/Winwardo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Winwardo/solid-octo-disco","description":"Topher and Vasily's Intelligent Web Assignment","fork":false,"url":"https://api.github.com/repos/Winwardo/solid-octo-disco","forks_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/forks","keys_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/teams","hooks_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/hooks","issue_events_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues/events{/number}","events_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/events","assignees_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/assignees{/user}","branches_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/branches{/branch}","tags_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/tags","blobs_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/refs{/sha}","trees_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/statuses/{sha}","languages_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/languages","stargazers_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/stargazers","contributors_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/contributors","subscribers_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/subscribers","subscription_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/subscription","commits_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/commits{/sha}","git_commits_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/commits{/sha}","comments_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/comments{/number}","issue_comment_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues/comments{/number}","contents_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/contents/{+path}","compare_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/merges","archive_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/downloads","issues_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues{/number}","pulls_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls{/number}","milestones_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/milestones{/number}","notifications_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/labels{/name}","releases_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/releases{/id}","deployments_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/deployments","created_at":"2016-02-28T23:07:39Z","updated_at":"2016-02-28T23:19:43Z","pushed_at":"2016-03-11T17:20:01Z","git_url":"git://github.com/Winwardo/solid-octo-disco.git","ssh_url":"git@github.com:Winwardo/solid-octo-disco.git","clone_url":"https://github.com/Winwardo/solid-octo-disco.git","svn_url":"https://github.com/Winwardo/solid-octo-disco","homepage":null,"size":31674,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":24,"forks":0,"open_issues":24,"watchers":0,"default_branch":"master"}},"base":{"label":"Winwardo:master","ref":"master","sha":"8a5a72283098d2c126ff9ec959d3cb9ad5a06c23","user":{"login":"Winwardo","id":840549,"avatar_url":"https://avatars.githubusercontent.com/u/840549?v=3","gravatar_id":"","url":"https://api.github.com/users/Winwardo","html_url":"https://github.com/Winwardo","followers_url":"https://api.github.com/users/Winwardo/followers","following_url":"https://api.github.com/users/Winwardo/following{/other_user}","gists_url":"https://api.github.com/users/Winwardo/gists{/gist_id}","starred_url":"https://api.github.com/users/Winwardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Winwardo/subscriptions","organizations_url":"https://api.github.com/users/Winwardo/orgs","repos_url":"https://api.github.com/users/Winwardo/repos","events_url":"https://api.github.com/users/Winwardo/events{/privacy}","received_events_url":"https://api.github.com/users/Winwardo/received_events","type":"User","site_admin":false},"repo":{"id":52749606,"name":"solid-octo-disco","full_name":"Winwardo/solid-octo-disco","owner":{"login":"Winwardo","id":840549,"avatar_url":"https://avatars.githubusercontent.com/u/840549?v=3","gravatar_id":"","url":"https://api.github.com/users/Winwardo","html_url":"https://github.com/Winwardo","followers_url":"https://api.github.com/users/Winwardo/followers","following_url":"https://api.github.com/users/Winwardo/following{/other_user}","gists_url":"https://api.github.com/users/Winwardo/gists{/gist_id}","starred_url":"https://api.github.com/users/Winwardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Winwardo/subscriptions","organizations_url":"https://api.github.com/users/Winwardo/orgs","repos_url":"https://api.github.com/users/Winwardo/repos","events_url":"https://api.github.com/users/Winwardo/events{/privacy}","received_events_url":"https://api.github.com/users/Winwardo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Winwardo/solid-octo-disco","description":"Topher and Vasily's Intelligent Web Assignment","fork":false,"url":"https://api.github.com/repos/Winwardo/solid-octo-disco","forks_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/forks","keys_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/teams","hooks_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/hooks","issue_events_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues/events{/number}","events_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/events","assignees_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/assignees{/user}","branches_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/branches{/branch}","tags_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/tags","blobs_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/refs{/sha}","trees_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/statuses/{sha}","languages_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/languages","stargazers_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/stargazers","contributors_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/contributors","subscribers_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/subscribers","subscription_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/subscription","commits_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/commits{/sha}","git_commits_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/git/commits{/sha}","comments_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/comments{/number}","issue_comment_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues/comments{/number}","contents_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/contents/{+path}","compare_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/merges","archive_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/downloads","issues_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues{/number}","pulls_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls{/number}","milestones_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/milestones{/number}","notifications_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/labels{/name}","releases_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/releases{/id}","deployments_url":"https://api.github.com/repos/Winwardo/solid-octo-disco/deployments","created_at":"2016-02-28T23:07:39Z","updated_at":"2016-02-28T23:19:43Z","pushed_at":"2016-03-11T17:20:01Z","git_url":"git://github.com/Winwardo/solid-octo-disco.git","ssh_url":"git@github.com:Winwardo/solid-octo-disco.git","clone_url":"https://github.com/Winwardo/solid-octo-disco.git","svn_url":"https://github.com/Winwardo/solid-octo-disco","homepage":null,"size":31674,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":24,"forks":0,"open_issues":24,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/58"},"html":{"href":"https://github.com/Winwardo/solid-octo-disco/pull/58"},"issue":{"href":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues/58"},"comments":{"href":"https://api.github.com/repos/Winwardo/solid-octo-disco/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Winwardo/solid-octo-disco/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/Winwardo/solid-octo-disco/statuses/335d7e6abb41a235f8d250238275f95c81f04827"}}}}