{"action":"created","comment":{"url":"https://api.github.com/repos/sd17spring/TextMining/pulls/comments/111455261","pull_request_review_id":32704711,"id":111455261,"diff_hunk":"@@ -0,0 +1,105 @@\n+import pronouncing\n+\n+def analyze_text(myString):\n+    myString = myString.replace(\",\", \"\")\n+    myString = myString.replace(\".\", \"\")\n+    myString = myString.replace(\"?\", \"\")\n+    myList = myString.split(\" \")\n+    running = []\n+    running.append(myList[0])\n+\n+    idk = 0\n+    same = 0\n+    usedRhymes = []\n+    for i in range(1, len(myList)):\n+        for j in running:\n+            if not usedRhymes.__contains__(j + myList[i]):\n+                usedRhymes.append(j + myList[i])\n+                rating = two_rhyme(j, myList[i])\n+                if rating == -1:\n+                    while two_rhyme(j, myList[i]) == -1 and len(myList[i]) > 1:\n+                        myList[i] = myList[i][1:len(myList[i])]\n+                    if two_rhyme(j, myList[i]) == -1:","path":"read_lyrics.py","position":22,"original_position":22,"commit_id":"b06bc94efdf60ec51c9467b0897379388d04e931","original_commit_id":"b06bc94efdf60ec51c9467b0897379388d04e931","user":{"login":"SungwooPark","id":1912285,"avatar_url":"https://avatars0.githubusercontent.com/u/1912285?v=3","gravatar_id":"","url":"https://api.github.com/users/SungwooPark","html_url":"https://github.com/SungwooPark","followers_url":"https://api.github.com/users/SungwooPark/followers","following_url":"https://api.github.com/users/SungwooPark/following{/other_user}","gists_url":"https://api.github.com/users/SungwooPark/gists{/gist_id}","starred_url":"https://api.github.com/users/SungwooPark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SungwooPark/subscriptions","organizations_url":"https://api.github.com/users/SungwooPark/orgs","repos_url":"https://api.github.com/users/SungwooPark/repos","events_url":"https://api.github.com/users/SungwooPark/events{/privacy}","received_events_url":"https://api.github.com/users/SungwooPark/received_events","type":"User","site_admin":false},"body":"This is pretty complicated logic here so in-line comment describing what is happening would be good.","created_at":"2017-04-13T18:25:57Z","updated_at":"2017-04-13T18:25:57Z","html_url":"https://github.com/sd17spring/TextMining/pull/10#discussion_r111455261","pull_request_url":"https://api.github.com/repos/sd17spring/TextMining/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/sd17spring/TextMining/pulls/comments/111455261"},"html":{"href":"https://github.com/sd17spring/TextMining/pull/10#discussion_r111455261"},"pull_request":{"href":"https://api.github.com/repos/sd17spring/TextMining/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/sd17spring/TextMining/pulls/10","id":107487359,"html_url":"https://github.com/sd17spring/TextMining/pull/10","diff_url":"https://github.com/sd17spring/TextMining/pull/10.diff","patch_url":"https://github.com/sd17spring/TextMining/pull/10.patch","issue_url":"https://api.github.com/repos/sd17spring/TextMining/issues/10","number":10,"state":"open","locked":false,"title":"Done!","user":{"login":"CleanestMink126","id":23203564,"avatar_url":"https://avatars1.githubusercontent.com/u/23203564?v=3","gravatar_id":"","url":"https://api.github.com/users/CleanestMink126","html_url":"https://github.com/CleanestMink126","followers_url":"https://api.github.com/users/CleanestMink126/followers","following_url":"https://api.github.com/users/CleanestMink126/following{/other_user}","gists_url":"https://api.github.com/users/CleanestMink126/gists{/gist_id}","starred_url":"https://api.github.com/users/CleanestMink126/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CleanestMink126/subscriptions","organizations_url":"https://api.github.com/users/CleanestMink126/orgs","repos_url":"https://api.github.com/users/CleanestMink126/repos","events_url":"https://api.github.com/users/CleanestMink126/events{/privacy}","received_events_url":"https://api.github.com/users/CleanestMink126/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-02-22T20:06:20Z","updated_at":"2017-04-13T18:25:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"376804101c5936e1fcda1137421361a64a1a2c23","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sd17spring/TextMining/pulls/10/commits","review_comments_url":"https://api.github.com/repos/sd17spring/TextMining/pulls/10/comments","review_comment_url":"https://api.github.com/repos/sd17spring/TextMining/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sd17spring/TextMining/issues/10/comments","statuses_url":"https://api.github.com/repos/sd17spring/TextMining/statuses/b06bc94efdf60ec51c9467b0897379388d04e931","head":{"label":"CleanestMink126:master","ref":"master","sha":"b06bc94efdf60ec51c9467b0897379388d04e931","user":{"login":"CleanestMink126","id":23203564,"avatar_url":"https://avatars1.githubusercontent.com/u/23203564?v=3","gravatar_id":"","url":"https://api.github.com/users/CleanestMink126","html_url":"https://github.com/CleanestMink126","followers_url":"https://api.github.com/users/CleanestMink126/followers","following_url":"https://api.github.com/users/CleanestMink126/following{/other_user}","gists_url":"https://api.github.com/users/CleanestMink126/gists{/gist_id}","starred_url":"https://api.github.com/users/CleanestMink126/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CleanestMink126/subscriptions","organizations_url":"https://api.github.com/users/CleanestMink126/orgs","repos_url":"https://api.github.com/users/CleanestMink126/repos","events_url":"https://api.github.com/users/CleanestMink126/events{/privacy}","received_events_url":"https://api.github.com/users/CleanestMink126/received_events","type":"User","site_admin":false},"repo":{"id":82215719,"name":"TextMining","full_name":"CleanestMink126/TextMining","owner":{"login":"CleanestMink126","id":23203564,"avatar_url":"https://avatars1.githubusercontent.com/u/23203564?v=3","gravatar_id":"","url":"https://api.github.com/users/CleanestMink126","html_url":"https://github.com/CleanestMink126","followers_url":"https://api.github.com/users/CleanestMink126/followers","following_url":"https://api.github.com/users/CleanestMink126/following{/other_user}","gists_url":"https://api.github.com/users/CleanestMink126/gists{/gist_id}","starred_url":"https://api.github.com/users/CleanestMink126/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CleanestMink126/subscriptions","organizations_url":"https://api.github.com/users/CleanestMink126/orgs","repos_url":"https://api.github.com/users/CleanestMink126/repos","events_url":"https://api.github.com/users/CleanestMink126/events{/privacy}","received_events_url":"https://api.github.com/users/CleanestMink126/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CleanestMink126/TextMining","description":"This is the base repo for the text mining and analysis project for Software Design, Spring 2017 at Olin College.","fork":true,"url":"https://api.github.com/repos/CleanestMink126/TextMining","forks_url":"https://api.github.com/repos/CleanestMink126/TextMining/forks","keys_url":"https://api.github.com/repos/CleanestMink126/TextMining/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CleanestMink126/TextMining/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CleanestMink126/TextMining/teams","hooks_url":"https://api.github.com/repos/CleanestMink126/TextMining/hooks","issue_events_url":"https://api.github.com/repos/CleanestMink126/TextMining/issues/events{/number}","events_url":"https://api.github.com/repos/CleanestMink126/TextMining/events","assignees_url":"https://api.github.com/repos/CleanestMink126/TextMining/assignees{/user}","branches_url":"https://api.github.com/repos/CleanestMink126/TextMining/branches{/branch}","tags_url":"https://api.github.com/repos/CleanestMink126/TextMining/tags","blobs_url":"https://api.github.com/repos/CleanestMink126/TextMining/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CleanestMink126/TextMining/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CleanestMink126/TextMining/git/refs{/sha}","trees_url":"https://api.github.com/repos/CleanestMink126/TextMining/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CleanestMink126/TextMining/statuses/{sha}","languages_url":"https://api.github.com/repos/CleanestMink126/TextMining/languages","stargazers_url":"https://api.github.com/repos/CleanestMink126/TextMining/stargazers","contributors_url":"https://api.github.com/repos/CleanestMink126/TextMining/contributors","subscribers_url":"https://api.github.com/repos/CleanestMink126/TextMining/subscribers","subscription_url":"https://api.github.com/repos/CleanestMink126/TextMining/subscription","commits_url":"https://api.github.com/repos/CleanestMink126/TextMining/commits{/sha}","git_commits_url":"https://api.github.com/repos/CleanestMink126/TextMining/git/commits{/sha}","comments_url":"https://api.github.com/repos/CleanestMink126/TextMining/comments{/number}","issue_comment_url":"https://api.github.com/repos/CleanestMink126/TextMining/issues/comments{/number}","contents_url":"https://api.github.com/repos/CleanestMink126/TextMining/contents/{+path}","compare_url":"https://api.github.com/repos/CleanestMink126/TextMining/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CleanestMink126/TextMining/merges","archive_url":"https://api.github.com/repos/CleanestMink126/TextMining/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CleanestMink126/TextMining/downloads","issues_url":"https://api.github.com/repos/CleanestMink126/TextMining/issues{/number}","pulls_url":"https://api.github.com/repos/CleanestMink126/TextMining/pulls{/number}","milestones_url":"https://api.github.com/repos/CleanestMink126/TextMining/milestones{/number}","notifications_url":"https://api.github.com/repos/CleanestMink126/TextMining/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CleanestMink126/TextMining/labels{/name}","releases_url":"https://api.github.com/repos/CleanestMink126/TextMining/releases{/id}","deployments_url":"https://api.github.com/repos/CleanestMink126/TextMining/deployments","created_at":"2017-02-16T19:04:05Z","updated_at":"2017-02-20T23:28:41Z","pushed_at":"2017-04-03T20:47:59Z","git_url":"git://github.com/CleanestMink126/TextMining.git","ssh_url":"git@github.com:CleanestMink126/TextMining.git","clone_url":"https://github.com/CleanestMink126/TextMining.git","svn_url":"https://github.com/CleanestMink126/TextMining","homepage":"https://sd17spring.github.io/assignments/mini-project-3-text-mining/","size":939,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"sd17spring:master","ref":"master","sha":"cf5601aff21b3dcba89372de1bf078d3302e2148","user":{"login":"sd17spring","id":25120876,"avatar_url":"https://avatars1.githubusercontent.com/u/25120876?v=3","gravatar_id":"","url":"https://api.github.com/users/sd17spring","html_url":"https://github.com/sd17spring","followers_url":"https://api.github.com/users/sd17spring/followers","following_url":"https://api.github.com/users/sd17spring/following{/other_user}","gists_url":"https://api.github.com/users/sd17spring/gists{/gist_id}","starred_url":"https://api.github.com/users/sd17spring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sd17spring/subscriptions","organizations_url":"https://api.github.com/users/sd17spring/orgs","repos_url":"https://api.github.com/users/sd17spring/repos","events_url":"https://api.github.com/users/sd17spring/events{/privacy}","received_events_url":"https://api.github.com/users/sd17spring/received_events","type":"Organization","site_admin":false},"repo":{"id":79575749,"name":"TextMining","full_name":"sd17spring/TextMining","owner":{"login":"sd17spring","id":25120876,"avatar_url":"https://avatars1.githubusercontent.com/u/25120876?v=3","gravatar_id":"","url":"https://api.github.com/users/sd17spring","html_url":"https://github.com/sd17spring","followers_url":"https://api.github.com/users/sd17spring/followers","following_url":"https://api.github.com/users/sd17spring/following{/other_user}","gists_url":"https://api.github.com/users/sd17spring/gists{/gist_id}","starred_url":"https://api.github.com/users/sd17spring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sd17spring/subscriptions","organizations_url":"https://api.github.com/users/sd17spring/orgs","repos_url":"https://api.github.com/users/sd17spring/repos","events_url":"https://api.github.com/users/sd17spring/events{/privacy}","received_events_url":"https://api.github.com/users/sd17spring/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sd17spring/TextMining","description":"This is the base repo for the text mining and analysis project for Software Design, Spring 2017 at Olin College.","fork":false,"url":"https://api.github.com/repos/sd17spring/TextMining","forks_url":"https://api.github.com/repos/sd17spring/TextMining/forks","keys_url":"https://api.github.com/repos/sd17spring/TextMining/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sd17spring/TextMining/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sd17spring/TextMining/teams","hooks_url":"https://api.github.com/repos/sd17spring/TextMining/hooks","issue_events_url":"https://api.github.com/repos/sd17spring/TextMining/issues/events{/number}","events_url":"https://api.github.com/repos/sd17spring/TextMining/events","assignees_url":"https://api.github.com/repos/sd17spring/TextMining/assignees{/user}","branches_url":"https://api.github.com/repos/sd17spring/TextMining/branches{/branch}","tags_url":"https://api.github.com/repos/sd17spring/TextMining/tags","blobs_url":"https://api.github.com/repos/sd17spring/TextMining/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sd17spring/TextMining/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sd17spring/TextMining/git/refs{/sha}","trees_url":"https://api.github.com/repos/sd17spring/TextMining/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sd17spring/TextMining/statuses/{sha}","languages_url":"https://api.github.com/repos/sd17spring/TextMining/languages","stargazers_url":"https://api.github.com/repos/sd17spring/TextMining/stargazers","contributors_url":"https://api.github.com/repos/sd17spring/TextMining/contributors","subscribers_url":"https://api.github.com/repos/sd17spring/TextMining/subscribers","subscription_url":"https://api.github.com/repos/sd17spring/TextMining/subscription","commits_url":"https://api.github.com/repos/sd17spring/TextMining/commits{/sha}","git_commits_url":"https://api.github.com/repos/sd17spring/TextMining/git/commits{/sha}","comments_url":"https://api.github.com/repos/sd17spring/TextMining/comments{/number}","issue_comment_url":"https://api.github.com/repos/sd17spring/TextMining/issues/comments{/number}","contents_url":"https://api.github.com/repos/sd17spring/TextMining/contents/{+path}","compare_url":"https://api.github.com/repos/sd17spring/TextMining/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sd17spring/TextMining/merges","archive_url":"https://api.github.com/repos/sd17spring/TextMining/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sd17spring/TextMining/downloads","issues_url":"https://api.github.com/repos/sd17spring/TextMining/issues{/number}","pulls_url":"https://api.github.com/repos/sd17spring/TextMining/pulls{/number}","milestones_url":"https://api.github.com/repos/sd17spring/TextMining/milestones{/number}","notifications_url":"https://api.github.com/repos/sd17spring/TextMining/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sd17spring/TextMining/labels{/name}","releases_url":"https://api.github.com/repos/sd17spring/TextMining/releases{/id}","deployments_url":"https://api.github.com/repos/sd17spring/TextMining/deployments","created_at":"2017-01-20T16:27:58Z","updated_at":"2017-01-24T02:57:51Z","pushed_at":"2017-04-11T00:29:11Z","git_url":"git://github.com/sd17spring/TextMining.git","ssh_url":"git@github.com:sd17spring/TextMining.git","clone_url":"https://github.com/sd17spring/TextMining.git","svn_url":"https://github.com/sd17spring/TextMining","homepage":"https://sd17spring.github.io/assignments/mini-project-3-text-mining/","size":1,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":57,"mirror_url":null,"open_issues_count":6,"forks":57,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sd17spring/TextMining/pulls/10"},"html":{"href":"https://github.com/sd17spring/TextMining/pull/10"},"issue":{"href":"https://api.github.com/repos/sd17spring/TextMining/issues/10"},"comments":{"href":"https://api.github.com/repos/sd17spring/TextMining/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/sd17spring/TextMining/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/sd17spring/TextMining/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sd17spring/TextMining/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/sd17spring/TextMining/statuses/b06bc94efdf60ec51c9467b0897379388d04e931"}}}}
{"actor":{"display_login":"SungwooPark"}}