{"action":"created","comment":{"url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/pulls/comments/110453879","pull_request_review_id":31632623,"id":110453879,"diff_hunk":"@@ -0,0 +1,20 @@\n+'use strict';\n+\n+const teacherArray = ['taught','coached', 'trained', 'educated'];\n+const studentArray = ['learned from'];\n+const wroteArray = ['wrote','created', 'composed'];\n+const playedArray = ['played','performed'];\n+\n+const dict = {teacher:teacherArray, student:studentArray, wrote:wroteArray, played:playedArray};\n+\n+module.exports.findRelationshipClass = function(word) {\n+  for(let key in dict) {\n+    let list = dict[key];\n+    for(let w in list) {\n+      if(list[w] === word) {\n+        return key;\n+      }\n+    }\n+  }\n+  return null;","path":"app/classification.js","position":19,"original_position":19,"commit_id":"bd77b7899c4d1a719205fbe45eb1d6ddd32c240e","original_commit_id":"bd77b7899c4d1a719205fbe45eb1d6ddd32c240e","user":{"login":"ansjin","id":10348337,"avatar_url":"https://avatars1.githubusercontent.com/u/10348337?v=3","gravatar_id":"","url":"https://api.github.com/users/ansjin","html_url":"https://github.com/ansjin","followers_url":"https://api.github.com/users/ansjin/followers","following_url":"https://api.github.com/users/ansjin/following{/other_user}","gists_url":"https://api.github.com/users/ansjin/gists{/gist_id}","starred_url":"https://api.github.com/users/ansjin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansjin/subscriptions","organizations_url":"https://api.github.com/users/ansjin/orgs","repos_url":"https://api.github.com/users/ansjin/repos","events_url":"https://api.github.com/users/ansjin/events{/privacy}","received_events_url":"https://api.github.com/users/ansjin/received_events","type":"User","site_admin":false},"body":"Yeah Okay! for the time we can go ahead with this at least we will have some correct classification, instead of not having it!","created_at":"2017-04-07T18:31:50Z","updated_at":"2017-04-07T18:31:50Z","html_url":"https://github.com/MusicConnectionMachine/Relationships/pull/38#discussion_r110453879","pull_request_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/MusicConnectionMachine/Relationships/pulls/comments/110453879"},"html":{"href":"https://github.com/MusicConnectionMachine/Relationships/pull/38#discussion_r110453879"},"pull_request":{"href":"https://api.github.com/repos/MusicConnectionMachine/Relationships/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/pulls/38","id":114859065,"html_url":"https://github.com/MusicConnectionMachine/Relationships/pull/38","diff_url":"https://github.com/MusicConnectionMachine/Relationships/pull/38.diff","patch_url":"https://github.com/MusicConnectionMachine/Relationships/pull/38.patch","issue_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/issues/38","number":38,"state":"open","locked":false,"title":"Added temp/basic classification method","user":{"login":"RBirkeland","id":9076192,"avatar_url":"https://avatars3.githubusercontent.com/u/9076192?v=3","gravatar_id":"","url":"https://api.github.com/users/RBirkeland","html_url":"https://github.com/RBirkeland","followers_url":"https://api.github.com/users/RBirkeland/followers","following_url":"https://api.github.com/users/RBirkeland/following{/other_user}","gists_url":"https://api.github.com/users/RBirkeland/gists{/gist_id}","starred_url":"https://api.github.com/users/RBirkeland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RBirkeland/subscriptions","organizations_url":"https://api.github.com/users/RBirkeland/orgs","repos_url":"https://api.github.com/users/RBirkeland/repos","events_url":"https://api.github.com/users/RBirkeland/events{/privacy}","received_events_url":"https://api.github.com/users/RBirkeland/received_events","type":"User","site_admin":false},"body":"While working on using other classification libraries wordnet etc. Simple classification method for testing if classifying can give better relationship results.","created_at":"2017-04-07T17:02:58Z","updated_at":"2017-04-07T18:31:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1253af266537eb6323d3be6a794cf82282863c20","assignee":{"login":"RBirkeland","id":9076192,"avatar_url":"https://avatars3.githubusercontent.com/u/9076192?v=3","gravatar_id":"","url":"https://api.github.com/users/RBirkeland","html_url":"https://github.com/RBirkeland","followers_url":"https://api.github.com/users/RBirkeland/followers","following_url":"https://api.github.com/users/RBirkeland/following{/other_user}","gists_url":"https://api.github.com/users/RBirkeland/gists{/gist_id}","starred_url":"https://api.github.com/users/RBirkeland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RBirkeland/subscriptions","organizations_url":"https://api.github.com/users/RBirkeland/orgs","repos_url":"https://api.github.com/users/RBirkeland/repos","events_url":"https://api.github.com/users/RBirkeland/events{/privacy}","received_events_url":"https://api.github.com/users/RBirkeland/received_events","type":"User","site_admin":false},"assignees":[{"login":"RBirkeland","id":9076192,"avatar_url":"https://avatars3.githubusercontent.com/u/9076192?v=3","gravatar_id":"","url":"https://api.github.com/users/RBirkeland","html_url":"https://github.com/RBirkeland","followers_url":"https://api.github.com/users/RBirkeland/followers","following_url":"https://api.github.com/users/RBirkeland/following{/other_user}","gists_url":"https://api.github.com/users/RBirkeland/gists{/gist_id}","starred_url":"https://api.github.com/users/RBirkeland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RBirkeland/subscriptions","organizations_url":"https://api.github.com/users/RBirkeland/orgs","repos_url":"https://api.github.com/users/RBirkeland/repos","events_url":"https://api.github.com/users/RBirkeland/events{/privacy}","received_events_url":"https://api.github.com/users/RBirkeland/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/pulls/38/commits","review_comments_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/pulls/38/comments","review_comment_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/issues/38/comments","statuses_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/statuses/bd77b7899c4d1a719205fbe45eb1d6ddd32c240e","head":{"label":"MusicConnectionMachine:classification","ref":"classification","sha":"bd77b7899c4d1a719205fbe45eb1d6ddd32c240e","user":{"login":"MusicConnectionMachine","id":25527511,"avatar_url":"https://avatars3.githubusercontent.com/u/25527511?v=3","gravatar_id":"","url":"https://api.github.com/users/MusicConnectionMachine","html_url":"https://github.com/MusicConnectionMachine","followers_url":"https://api.github.com/users/MusicConnectionMachine/followers","following_url":"https://api.github.com/users/MusicConnectionMachine/following{/other_user}","gists_url":"https://api.github.com/users/MusicConnectionMachine/gists{/gist_id}","starred_url":"https://api.github.com/users/MusicConnectionMachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MusicConnectionMachine/subscriptions","organizations_url":"https://api.github.com/users/MusicConnectionMachine/orgs","repos_url":"https://api.github.com/users/MusicConnectionMachine/repos","events_url":"https://api.github.com/users/MusicConnectionMachine/events{/privacy}","received_events_url":"https://api.github.com/users/MusicConnectionMachine/received_events","type":"Organization","site_admin":false},"repo":{"id":86808785,"name":"Relationships","full_name":"MusicConnectionMachine/Relationships","owner":{"login":"MusicConnectionMachine","id":25527511,"avatar_url":"https://avatars3.githubusercontent.com/u/25527511?v=3","gravatar_id":"","url":"https://api.github.com/users/MusicConnectionMachine","html_url":"https://github.com/MusicConnectionMachine","followers_url":"https://api.github.com/users/MusicConnectionMachine/followers","following_url":"https://api.github.com/users/MusicConnectionMachine/following{/other_user}","gists_url":"https://api.github.com/users/MusicConnectionMachine/gists{/gist_id}","starred_url":"https://api.github.com/users/MusicConnectionMachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MusicConnectionMachine/subscriptions","organizations_url":"https://api.github.com/users/MusicConnectionMachine/orgs","repos_url":"https://api.github.com/users/MusicConnectionMachine/repos","events_url":"https://api.github.com/users/MusicConnectionMachine/events{/privacy}","received_events_url":"https://api.github.com/users/MusicConnectionMachine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MusicConnectionMachine/Relationships","description":null,"fork":false,"url":"https://api.github.com/repos/MusicConnectionMachine/Relationships","forks_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/forks","keys_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/teams","hooks_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/hooks","issue_events_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/issues/events{/number}","events_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/events","assignees_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/assignees{/user}","branches_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/branches{/branch}","tags_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/tags","blobs_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/git/refs{/sha}","trees_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/statuses/{sha}","languages_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/languages","stargazers_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/stargazers","contributors_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/contributors","subscribers_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/subscribers","subscription_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/subscription","commits_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/commits{/sha}","git_commits_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/git/commits{/sha}","comments_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/comments{/number}","issue_comment_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/issues/comments{/number}","contents_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/contents/{+path}","compare_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/merges","archive_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/downloads","issues_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/issues{/number}","pulls_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/pulls{/number}","milestones_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/milestones{/number}","notifications_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/labels{/name}","releases_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/releases{/id}","deployments_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/deployments","created_at":"2017-03-31T10:43:25Z","updated_at":"2017-04-04T16:15:11Z","pushed_at":"2017-04-07T17:39:13Z","git_url":"git://github.com/MusicConnectionMachine/Relationships.git","ssh_url":"git@github.com:MusicConnectionMachine/Relationships.git","clone_url":"https://github.com/MusicConnectionMachine/Relationships.git","svn_url":"https://github.com/MusicConnectionMachine/Relationships","homepage":null,"size":43179,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":8,"forks":2,"open_issues":8,"watchers":2,"default_branch":"develop"}},"base":{"label":"MusicConnectionMachine:develop","ref":"develop","sha":"b9b6273c76b8cb08625a16e7d5336bc7cb10e7fa","user":{"login":"MusicConnectionMachine","id":25527511,"avatar_url":"https://avatars3.githubusercontent.com/u/25527511?v=3","gravatar_id":"","url":"https://api.github.com/users/MusicConnectionMachine","html_url":"https://github.com/MusicConnectionMachine","followers_url":"https://api.github.com/users/MusicConnectionMachine/followers","following_url":"https://api.github.com/users/MusicConnectionMachine/following{/other_user}","gists_url":"https://api.github.com/users/MusicConnectionMachine/gists{/gist_id}","starred_url":"https://api.github.com/users/MusicConnectionMachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MusicConnectionMachine/subscriptions","organizations_url":"https://api.github.com/users/MusicConnectionMachine/orgs","repos_url":"https://api.github.com/users/MusicConnectionMachine/repos","events_url":"https://api.github.com/users/MusicConnectionMachine/events{/privacy}","received_events_url":"https://api.github.com/users/MusicConnectionMachine/received_events","type":"Organization","site_admin":false},"repo":{"id":86808785,"name":"Relationships","full_name":"MusicConnectionMachine/Relationships","owner":{"login":"MusicConnectionMachine","id":25527511,"avatar_url":"https://avatars3.githubusercontent.com/u/25527511?v=3","gravatar_id":"","url":"https://api.github.com/users/MusicConnectionMachine","html_url":"https://github.com/MusicConnectionMachine","followers_url":"https://api.github.com/users/MusicConnectionMachine/followers","following_url":"https://api.github.com/users/MusicConnectionMachine/following{/other_user}","gists_url":"https://api.github.com/users/MusicConnectionMachine/gists{/gist_id}","starred_url":"https://api.github.com/users/MusicConnectionMachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MusicConnectionMachine/subscriptions","organizations_url":"https://api.github.com/users/MusicConnectionMachine/orgs","repos_url":"https://api.github.com/users/MusicConnectionMachine/repos","events_url":"https://api.github.com/users/MusicConnectionMachine/events{/privacy}","received_events_url":"https://api.github.com/users/MusicConnectionMachine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MusicConnectionMachine/Relationships","description":null,"fork":false,"url":"https://api.github.com/repos/MusicConnectionMachine/Relationships","forks_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/forks","keys_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/teams","hooks_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/hooks","issue_events_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/issues/events{/number}","events_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/events","assignees_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/assignees{/user}","branches_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/branches{/branch}","tags_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/tags","blobs_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/git/refs{/sha}","trees_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/statuses/{sha}","languages_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/languages","stargazers_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/stargazers","contributors_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/contributors","subscribers_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/subscribers","subscription_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/subscription","commits_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/commits{/sha}","git_commits_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/git/commits{/sha}","comments_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/comments{/number}","issue_comment_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/issues/comments{/number}","contents_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/contents/{+path}","compare_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/merges","archive_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/downloads","issues_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/issues{/number}","pulls_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/pulls{/number}","milestones_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/milestones{/number}","notifications_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/labels{/name}","releases_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/releases{/id}","deployments_url":"https://api.github.com/repos/MusicConnectionMachine/Relationships/deployments","created_at":"2017-03-31T10:43:25Z","updated_at":"2017-04-04T16:15:11Z","pushed_at":"2017-04-07T17:39:13Z","git_url":"git://github.com/MusicConnectionMachine/Relationships.git","ssh_url":"git@github.com:MusicConnectionMachine/Relationships.git","clone_url":"https://github.com/MusicConnectionMachine/Relationships.git","svn_url":"https://github.com/MusicConnectionMachine/Relationships","homepage":null,"size":43179,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":8,"forks":2,"open_issues":8,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/MusicConnectionMachine/Relationships/pulls/38"},"html":{"href":"https://github.com/MusicConnectionMachine/Relationships/pull/38"},"issue":{"href":"https://api.github.com/repos/MusicConnectionMachine/Relationships/issues/38"},"comments":{"href":"https://api.github.com/repos/MusicConnectionMachine/Relationships/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/MusicConnectionMachine/Relationships/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/MusicConnectionMachine/Relationships/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MusicConnectionMachine/Relationships/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/MusicConnectionMachine/Relationships/statuses/bd77b7899c4d1a719205fbe45eb1d6ddd32c240e"}}}}
{"actor":{"display_login":"ansjin"}}