GitHub PullRequestEvent at 2014-03-05 14:00:08
Repository: dbpedia-spotlight
Actor: dav009
Payload: {"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/idio/dbpedia-spotlight/pulls/2","id":12456462,"html_url":"https://github.com/idio/dbpedia-spotlight/pull/2","diff_url":"https://github.com/idio/dbpedia-spotlight/pull/2.diff","patch_url":"https://github.com/idio/dbpedia-spotlight/pull/2.patch","issue_url":"https://api.github.com/repos/idio/dbpedia-spotlight/issues/2","number":2,"state":"closed","title":"Feature/relevance scores","user":{"login":"dav009","id":1659415,"avatar_url":"https://gravatar.com/avatar/c8832543e2ed74cbdf26101082e81402?d=https%3A%2F%2Fidenticons.github.com%2F4573dd11dcc33d4944635fbe8c65dfe2.png&r=x","gravatar_id":"c8832543e2ed74cbdf26101082e81402","url":"https://api.github.com/users/dav009","html_url":"https://github.com/dav009","followers_url":"https://api.github.com/users/dav009/followers","following_url":"https://api.github.com/users/dav009/following{/other_user}","gists_url":"https://api.github.com/users/dav009/gists{/gist_id}","starred_url":"https://api.github.com/users/dav009/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dav009/subscriptions","organizations_url":"https://api.github.com/users/dav009/orgs","repos_url":"https://api.github.com/users/dav009/repos","events_url":"https://api.github.com/users/dav009/events{/privacy}","received_events_url":"https://api.github.com/users/dav009/received_events","type":"User","site_admin":false},"body":"## Meaningful Changes\r\n\r\n- So in this pr we introduce `Relevance Scores` which is the relevance of a topic to the given text as a whole. Basically is a number between 0.0 and 1.0.\r\n\r\n- `RelevanceScores` are returned per each topic spotted in the text.\r\n\r\n- the relevance of a topic can be found in the field `relevanceScore`\r\n\r\n- If the property `relevance_scoring` is set to: `default` in `models.properties` then the relevance scores will be calculate. If it is not defined then relevance scores are not calculated and a default value of `0.1` is returned in the field `relevanceScore`\r\n\r\n## More details\r\n\r\n- `BaseRelevanceScore.scala` contains the class calculating the score discussed in the gist below\r\n- `RelevanceScorer.scala` is more of a glue/paste class that I did to sort of follow what I thought was the convention in spotlight. \r\n\r\n- [About relevance score calculation](https://gist.github.com/dav009/53834138ffec2d878acf)\r\n\r\n--------\r\n\r\n- [x] @thiago\r\n- [x] @SoAG","created_at":"2014-02-12T10:31:31Z","updated_at":"2014-03-05T14:00:08Z","closed_at":"2014-03-05T14:00:08Z","merged_at":"2014-03-05T14:00:08Z","merge_commit_sha":"87d5095a3a1ed9a94ff20c4557bae84a67d1d6d9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/idio/dbpedia-spotlight/pulls/2/commits","review_comments_url":"https://api.github.com/repos/idio/dbpedia-spotlight/pulls/2/comments","review_comment_url":"https://api.github.com/repos/idio/dbpedia-spotlight/pulls/comments/{number}","comments_url":"https://api.github.com/repos/idio/dbpedia-spotlight/issues/2/comments","statuses_url":"https://api.github.com/repos/idio/dbpedia-spotlight/statuses/61217c530588c6a5a639d7cb3be0468a1d2b6095","head":{"label":"idio:feature/relevance-scores","ref":"feature/relevance-scores","sha":"61217c530588c6a5a639d7cb3be0468a1d2b6095","user":{"login":"idio","id":394469,"avatar_url":"https://gravatar.com/avatar/b9f5583fcf38527df7a3dd1b3acccecf?d=https%3A%2F%2Fidenticons.github.com%2F54fdbf830188dfeede3788b8f5111acf.png&r=x","gravatar_id":"b9f5583fcf38527df7a3dd1b3acccecf","url":"https://api.github.com/users/idio","html_url":"https://github.com/idio","followers_url":"https://api.github.com/users/idio/followers","following_url":"https://api.github.com/users/idio/following{/other_user}","gists_url":"https://api.github.com/users/idio/gists{/gist_id}","starred_url":"https://api.github.com/users/idio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idio/subscriptions","organizations_url":"https://api.github.com/users/idio/orgs","repos_url":"https://api.github.com/users/idio/repos","events_url":"https://api.github.com/users/idio/events{/privacy}","received_events_url":"https://api.github.com/users/idio/received_events","type":"Organization","site_admin":false},"repo":{"id":12782894,"name":"dbpedia-spotlight","full_name":"idio/dbpedia-spotlight","owner":{"login":"idio","id":394469,"avatar_url":"https://gravatar.com/avatar/b9f5583fcf38527df7a3dd1b3acccecf?d=https%3A%2F%2Fidenticons.github.com%2F54fdbf830188dfeede3788b8f5111acf.png&r=x","gravatar_id":"b9f5583fcf38527df7a3dd1b3acccecf","url":"https://api.github.com/users/idio","html_url":"https://github.com/idio","followers_url":"https://api.github.com/users/idio/followers","following_url":"https://api.github.com/users/idio/following{/other_user}","gists_url":"https://api.github.com/users/idio/gists{/gist_id}","starred_url":"https://api.github.com/users/idio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idio/subscriptions","organizations_url":"https://api.github.com/users/idio/orgs","repos_url":"https://api.github.com/users/idio/repos","events_url":"https://api.github.com/users/idio/events{/privacy}","received_events_url":"https://api.github.com/users/idio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/idio/dbpedia-spotlight","description":"DBpedia Spotlight is a tool for automatically annotating mentions of DBpedia resources in text.","fork":true,"url":"https://api.github.com/repos/idio/dbpedia-spotlight","forks_url":"https://api.github.com/repos/idio/dbpedia-spotlight/forks","keys_url":"https://api.github.com/repos/idio/dbpedia-spotlight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/idio/dbpedia-spotlight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/idio/dbpedia-spotlight/teams","hooks_url":"https://api.github.com/repos/idio/dbpedia-spotlight/hooks","issue_events_url":"https://api.github.com/repos/idio/dbpedia-spotlight/issues/events{/number}","events_url":"https://api.github.com/repos/idio/dbpedia-spotlight/events","assignees_url":"https://api.github.com/repos/idio/dbpedia-spotlight/assignees{/user}","branches_url":"https://api.github.com/repos/idio/dbpedia-spotlight/branches{/branch}","tags_url":"https://api.github.com/repos/idio/dbpedia-spotlight/tags","blobs_url":"https://api.github.com/repos/idio/dbpedia-spotlight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/idio/dbpedia-spotlight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/idio/dbpedia-spotlight/git/refs{/sha}","trees_url":"https://api.github.com/repos/idio/dbpedia-spotlight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/idio/dbpedia-spotlight/statuses/{sha}","languages_url":"https://api.github.com/repos/idio/dbpedia-spotlight/languages","stargazers_url":"https://api.github.com/repos/idio/dbpedia-spotlight/stargazers","contributors_url":"https://api.github.com/repos/idio/dbpedia-spotlight/contributors","subscribers_url":"https://api.github.com/repos/idio/dbpedia-spotlight/subscribers","subscription_url":"https://api.github.com/repos/idio/dbpedia-spotlight/subscription","commits_url":"https://api.github.com/repos/idio/dbpedia-spotlight/commits{/sha}","git_commits_url":"https://api.github.com/repos/idio/dbpedia-spotlight/git/commits{/sha}","comments_url":"https://api.github.com/repos/idio/dbpedia-spotlight/comments{/number}","issue_comment_url":"https://api.github.com/repos/idio/dbpedia-spotlight/issues/comments/{number}","contents_url":"https://api.github.com/repos/idio/dbpedia-spotlight/contents/{+path}","compare_url":"https://api.github.com/repos/idio/dbpedia-spotlight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/idio/dbpedia-spotlight/merges","archive_url":"https://api.github.com/repos/idio/dbpedia-spotlight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/idio/dbpedia-spotlight/downloads","issues_url":"https://api.github.com/repos/idio/dbpedia-spotlight/issues{/number}","pulls_url":"https://api.github.com/repos/idio/dbpedia-spotlight/pulls{/number}","milestones_url":"https://api.github.com/repos/idio/dbpedia-spotlight/milestones{/number}","notifications_url":"https://api.github.com/repos/idio/dbpedia-spotlight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/idio/dbpedia-spotlight/labels{/name}","releases_url":"https://api.github.com/repos/idio/dbpedia-spotlight/releases{/id}","created_at":"2013-09-12T12:24:47Z","updated_at":"2014-03-05T14:00:08Z","pushed_at":"2014-03-05T14:00:08Z","git_url":"git://github.com/idio/dbpedia-spotlight.git","ssh_url":"git@github.com:idio/dbpedia-spotlight.git","clone_url":"https://github.com/idio/dbpedia-spotlight.git","svn_url":"https://github.com/idio/dbpedia-spotlight","homepage":"http://spotlight.dbpedia.org/","size":429185,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"idio:master","ref":"master","sha":"dfe6eca25ae054a2f4d69ce6586af893cf86eea9","user":{"login":"idio","id":394469,"avatar_url":"https://gravatar.com/avatar/b9f5583fcf38527df7a3dd1b3acccecf?d=https%3A%2F%2Fidenticons.github.com%2F54fdbf830188dfeede3788b8f5111acf.png&r=x","gravatar_id":"b9f5583fcf38527df7a3dd1b3acccecf","url":"https://api.github.com/users/idio","html_url":"https://github.com/idio","followers_url":"https://api.github.com/users/idio/followers","following_url":"https://api.github.com/users/idio/following{/other_user}","gists_url":"https://api.github.com/users/idio/gists{/gist_id}","starred_url":"https://api.github.com/users/idio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idio/subscriptions","organizations_url":"https://api.github.com/users/idio/orgs","repos_url":"https://api.github.com/users/idio/repos","events_url":"https://api.github.com/users/idio/events{/privacy}","received_events_url":"https://api.github.com/users/idio/received_events","type":"Organization","site_admin":false},"repo":{"id":12782894,"name":"dbpedia-spotlight","full_name":"idio/dbpedia-spotlight","owner":{"login":"idio","id":394469,"avatar_url":"https://gravatar.com/avatar/b9f5583fcf38527df7a3dd1b3acccecf?d=https%3A%2F%2Fidenticons.github.com%2F54fdbf830188dfeede3788b8f5111acf.png&r=x","gravatar_id":"b9f5583fcf38527df7a3dd1b3acccecf","url":"https://api.github.com/users/idio","html_url":"https://github.com/idio","followers_url":"https://api.github.com/users/idio/followers","following_url":"https://api.github.com/users/idio/following{/other_user}","gists_url":"https://api.github.com/users/idio/gists{/gist_id}","starred_url":"https://api.github.com/users/idio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idio/subscriptions","organizations_url":"https://api.github.com/users/idio/orgs","repos_url":"https://api.github.com/users/idio/repos","events_url":"https://api.github.com/users/idio/events{/privacy}","received_events_url":"https://api.github.com/users/idio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/idio/dbpedia-spotlight","description":"DBpedia Spotlight is a tool for automatically annotating mentions of DBpedia resources in text.","fork":true,"url":"https://api.github.com/repos/idio/dbpedia-spotlight","forks_url":"https://api.github.com/repos/idio/dbpedia-spotlight/forks","keys_url":"https://api.github.com/repos/idio/dbpedia-spotlight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/idio/dbpedia-spotlight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/idio/dbpedia-spotlight/teams","hooks_url":"https://api.github.com/repos/idio/dbpedia-spotlight/hooks","issue_events_url":"https://api.github.com/repos/idio/dbpedia-spotlight/issues/events{/number}","events_url":"https://api.github.com/repos/idio/dbpedia-spotlight/events","assignees_url":"https://api.github.com/repos/idio/dbpedia-spotlight/assignees{/user}","branches_url":"https://api.github.com/repos/idio/dbpedia-spotlight/branches{/branch}","tags_url":"https://api.github.com/repos/idio/dbpedia-spotlight/tags","blobs_url":"https://api.github.com/repos/idio/dbpedia-spotlight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/idio/dbpedia-spotlight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/idio/dbpedia-spotlight/git/refs{/sha}","trees_url":"https://api.github.com/repos/idio/dbpedia-spotlight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/idio/dbpedia-spotlight/statuses/{sha}","languages_url":"https://api.github.com/repos/idio/dbpedia-spotlight/languages","stargazers_url":"https://api.github.com/repos/idio/dbpedia-spotlight/stargazers","contributors_url":"https://api.github.com/repos/idio/dbpedia-spotlight/contributors","subscribers_url":"https://api.github.com/repos/idio/dbpedia-spotlight/subscribers","subscription_url":"https://api.github.com/repos/idio/dbpedia-spotlight/subscription","commits_url":"https://api.github.com/repos/idio/dbpedia-spotlight/commits{/sha}","git_commits_url":"https://api.github.com/repos/idio/dbpedia-spotlight/git/commits{/sha}","comments_url":"https://api.github.com/repos/idio/dbpedia-spotlight/comments{/number}","issue_comment_url":"https://api.github.com/repos/idio/dbpedia-spotlight/issues/comments/{number}","contents_url":"https://api.github.com/repos/idio/dbpedia-spotlight/contents/{+path}","compare_url":"https://api.github.com/repos/idio/dbpedia-spotlight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/idio/dbpedia-spotlight/merges","archive_url":"https://api.github.com/repos/idio/dbpedia-spotlight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/idio/dbpedia-spotlight/downloads","issues_url":"https://api.github.com/repos/idio/dbpedia-spotlight/issues{/number}","pulls_url":"https://api.github.com/repos/idio/dbpedia-spotlight/pulls{/number}","milestones_url":"https://api.github.com/repos/idio/dbpedia-spotlight/milestones{/number}","notifications_url":"https://api.github.com/repos/idio/dbpedia-spotlight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/idio/dbpedia-spotlight/labels{/name}","releases_url":"https://api.github.com/repos/idio/dbpedia-spotlight/releases{/id}","created_at":"2013-09-12T12:24:47Z","updated_at":"2014-03-05T14:00:08Z","pushed_at":"2014-03-05T14:00:08Z","git_url":"git://github.com/idio/dbpedia-spotlight.git","ssh_url":"git@github.com:idio/dbpedia-spotlight.git","clone_url":"https://github.com/idio/dbpedia-spotlight.git","svn_url":"https://github.com/idio/dbpedia-spotlight","homepage":"http://spotlight.dbpedia.org/","size":429185,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/idio/dbpedia-spotlight/pulls/2"},"html":{"href":"https://github.com/idio/dbpedia-spotlight/pull/2"},"issue":{"href":"https://api.github.com/repos/idio/dbpedia-spotlight/issues/2"},"comments":{"href":"https://api.github.com/repos/idio/dbpedia-spotlight/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/idio/dbpedia-spotlight/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/idio/dbpedia-spotlight/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/idio/dbpedia-spotlight/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/idio/dbpedia-spotlight/statuses/61217c530588c6a5a639d7cb3be0468a1d2b6095"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dav009","id":1659415,"avatar_url":"https://gravatar.com/avatar/c8832543e2ed74cbdf26101082e81402?d=https%3A%2F%2Fidenticons.github.com%2F4573dd11dcc33d4944635fbe8c65dfe2.png&r=x","gravatar_id":"c8832543e2ed74cbdf26101082e81402","url":"https://api.github.com/users/dav009","html_url":"https://github.com/dav009","followers_url":"https://api.github.com/users/dav009/followers","following_url":"https://api.github.com/users/dav009/following{/other_user}","gists_url":"https://api.github.com/users/dav009/gists{/gist_id}","starred_url":"https://api.github.com/users/dav009/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dav009/subscriptions","organizations_url":"https://api.github.com/users/dav009/orgs","repos_url":"https://api.github.com/users/dav009/repos","events_url":"https://api.github.com/users/dav009/events{/privacy}","received_events_url":"https://api.github.com/users/dav009/received_events","type":"User","site_admin":false},"comments":5,"review_comments":21,"commits":16,"additions":474,"deletions":4,"changed_files":9}}