{"action":"created","comment":{"url":"https://api.github.com/repos/castorini/Anserini/pulls/comments/193245010","pull_request_review_id":126180717,"id":193245010,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MzI0NTAxMA==","diff_hunk":"@@ -0,0 +1,81 @@\n+/**\n+ * Anserini: An information retrieval toolkit built on Lucene\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package io.anserini.collection;\n+\n+import edu.unh.cs.treccar_v2.Data;\n+import edu.unh.cs.treccar_v2.read_data.DeserializeData;\n+import io.anserini.document.CAR18Document;\n+import io.anserini.index.IndexCollection;\n+import java.io.File;\n+import java.io.FileInputStream;\n+import java.io.IOException;\n+import java.nio.file.Path;\n+import java.util.Arrays;\n+import java.util.HashSet;\n+import java.util.Iterator;\n+import java.util.List;\n+import java.util.Set;\n+import org.apache.logging.log4j.LogManager;\n+import org.apache.logging.log4j.Logger;\n+\n+/**\n+ * Class representing an instance of a Wikipedia collection. Note that Wikipedia dumps often come","path":"src/main/java/io/anserini/collection/CAR18Collection.java","position":36,"original_position":36,"commit_id":"dd514a547857c2ee607c7e87c6eba24b443395eb","original_commit_id":"dd514a547857c2ee607c7e87c6eba24b443395eb","user":{"login":"Peilin-Yang","id":3334391,"node_id":"MDQ6VXNlcjMzMzQzOTE=","avatar_url":"https://avatars3.githubusercontent.com/u/3334391?v=4","gravatar_id":"","url":"https://api.github.com/users/Peilin-Yang","html_url":"https://github.com/Peilin-Yang","followers_url":"https://api.github.com/users/Peilin-Yang/followers","following_url":"https://api.github.com/users/Peilin-Yang/following{/other_user}","gists_url":"https://api.github.com/users/Peilin-Yang/gists{/gist_id}","starred_url":"https://api.github.com/users/Peilin-Yang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Peilin-Yang/subscriptions","organizations_url":"https://api.github.com/users/Peilin-Yang/orgs","repos_url":"https://api.github.com/users/Peilin-Yang/repos","events_url":"https://api.github.com/users/Peilin-Yang/events{/privacy}","received_events_url":"https://api.github.com/users/Peilin-Yang/received_events","type":"User","site_admin":false},"body":"Forget to change the annotation?","created_at":"2018-06-05T22:45:13Z","updated_at":"2018-06-05T22:45:13Z","html_url":"https://github.com/castorini/Anserini/pull/221#discussion_r193245010","pull_request_url":"https://api.github.com/repos/castorini/Anserini/pulls/221","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/castorini/Anserini/pulls/comments/193245010"},"html":{"href":"https://github.com/castorini/Anserini/pull/221#discussion_r193245010"},"pull_request":{"href":"https://api.github.com/repos/castorini/Anserini/pulls/221"}}},"pull_request":{"url":"https://api.github.com/repos/castorini/Anserini/pulls/221","id":192789791,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyNzg5Nzkx","html_url":"https://github.com/castorini/Anserini/pull/221","diff_url":"https://github.com/castorini/Anserini/pull/221.diff","patch_url":"https://github.com/castorini/Anserini/pull/221.patch","issue_url":"https://api.github.com/repos/castorini/Anserini/issues/221","number":221,"state":"open","locked":false,"title":"Add CAR18 collection","user":{"login":"Victor0118","id":5835901,"node_id":"MDQ6VXNlcjU4MzU5MDE=","avatar_url":"https://avatars3.githubusercontent.com/u/5835901?v=4","gravatar_id":"","url":"https://api.github.com/users/Victor0118","html_url":"https://github.com/Victor0118","followers_url":"https://api.github.com/users/Victor0118/followers","following_url":"https://api.github.com/users/Victor0118/following{/other_user}","gists_url":"https://api.github.com/users/Victor0118/gists{/gist_id}","starred_url":"https://api.github.com/users/Victor0118/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victor0118/subscriptions","organizations_url":"https://api.github.com/users/Victor0118/orgs","repos_url":"https://api.github.com/users/Victor0118/repos","events_url":"https://api.github.com/users/Victor0118/events{/privacy}","received_events_url":"https://api.github.com/users/Victor0118/received_events","type":"User","site_admin":false},"body":"Data link: http://trec-car.cs.unh.edu/datareleases/\r\nRead the paragraph *.cbor file using the tool provided in https://github.com/TREMA-UNH/trec-car-tools/tree/master\r\n\r\nResults with default parameters:\r\n\r\n  Evaluation Metric  | test_200 | benchmark_train | \r\n---------|-------------|-------------|\r\nRprec | 0.1237  | 0.1244 |\r\nMAP | 0.1611 | 0.1639 | \r\nMRR | 0.2228 | 0.2255 | \r\n\r\n@lintool @Peilin-Yang Could you review this PR? #222 ","created_at":"2018-06-05T18:00:15Z","updated_at":"2018-06-05T22:45:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"02eeaf4d23ac2098e37e879f375bf28214ac29b7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/castorini/Anserini/pulls/221/commits","review_comments_url":"https://api.github.com/repos/castorini/Anserini/pulls/221/comments","review_comment_url":"https://api.github.com/repos/castorini/Anserini/pulls/comments{/number}","comments_url":"https://api.github.com/repos/castorini/Anserini/issues/221/comments","statuses_url":"https://api.github.com/repos/castorini/Anserini/statuses/dd514a547857c2ee607c7e87c6eba24b443395eb","head":{"label":"Victor0118:new_add_car_collection","ref":"new_add_car_collection","sha":"dd514a547857c2ee607c7e87c6eba24b443395eb","user":{"login":"Victor0118","id":5835901,"node_id":"MDQ6VXNlcjU4MzU5MDE=","avatar_url":"https://avatars3.githubusercontent.com/u/5835901?v=4","gravatar_id":"","url":"https://api.github.com/users/Victor0118","html_url":"https://github.com/Victor0118","followers_url":"https://api.github.com/users/Victor0118/followers","following_url":"https://api.github.com/users/Victor0118/following{/other_user}","gists_url":"https://api.github.com/users/Victor0118/gists{/gist_id}","starred_url":"https://api.github.com/users/Victor0118/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victor0118/subscriptions","organizations_url":"https://api.github.com/users/Victor0118/orgs","repos_url":"https://api.github.com/users/Victor0118/repos","events_url":"https://api.github.com/users/Victor0118/events{/privacy}","received_events_url":"https://api.github.com/users/Victor0118/received_events","type":"User","site_admin":false},"repo":{"id":135200070,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUyMDAwNzA=","name":"Anserini","full_name":"Victor0118/Anserini","owner":{"login":"Victor0118","id":5835901,"node_id":"MDQ6VXNlcjU4MzU5MDE=","avatar_url":"https://avatars3.githubusercontent.com/u/5835901?v=4","gravatar_id":"","url":"https://api.github.com/users/Victor0118","html_url":"https://github.com/Victor0118","followers_url":"https://api.github.com/users/Victor0118/followers","following_url":"https://api.github.com/users/Victor0118/following{/other_user}","gists_url":"https://api.github.com/users/Victor0118/gists{/gist_id}","starred_url":"https://api.github.com/users/Victor0118/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victor0118/subscriptions","organizations_url":"https://api.github.com/users/Victor0118/orgs","repos_url":"https://api.github.com/users/Victor0118/repos","events_url":"https://api.github.com/users/Victor0118/events{/privacy}","received_events_url":"https://api.github.com/users/Victor0118/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Victor0118/Anserini","description":"An information retrieval toolkit built on Lucene","fork":true,"url":"https://api.github.com/repos/Victor0118/Anserini","forks_url":"https://api.github.com/repos/Victor0118/Anserini/forks","keys_url":"https://api.github.com/repos/Victor0118/Anserini/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Victor0118/Anserini/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Victor0118/Anserini/teams","hooks_url":"https://api.github.com/repos/Victor0118/Anserini/hooks","issue_events_url":"https://api.github.com/repos/Victor0118/Anserini/issues/events{/number}","events_url":"https://api.github.com/repos/Victor0118/Anserini/events","assignees_url":"https://api.github.com/repos/Victor0118/Anserini/assignees{/user}","branches_url":"https://api.github.com/repos/Victor0118/Anserini/branches{/branch}","tags_url":"https://api.github.com/repos/Victor0118/Anserini/tags","blobs_url":"https://api.github.com/repos/Victor0118/Anserini/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Victor0118/Anserini/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Victor0118/Anserini/git/refs{/sha}","trees_url":"https://api.github.com/repos/Victor0118/Anserini/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Victor0118/Anserini/statuses/{sha}","languages_url":"https://api.github.com/repos/Victor0118/Anserini/languages","stargazers_url":"https://api.github.com/repos/Victor0118/Anserini/stargazers","contributors_url":"https://api.github.com/repos/Victor0118/Anserini/contributors","subscribers_url":"https://api.github.com/repos/Victor0118/Anserini/subscribers","subscription_url":"https://api.github.com/repos/Victor0118/Anserini/subscription","commits_url":"https://api.github.com/repos/Victor0118/Anserini/commits{/sha}","git_commits_url":"https://api.github.com/repos/Victor0118/Anserini/git/commits{/sha}","comments_url":"https://api.github.com/repos/Victor0118/Anserini/comments{/number}","issue_comment_url":"https://api.github.com/repos/Victor0118/Anserini/issues/comments{/number}","contents_url":"https://api.github.com/repos/Victor0118/Anserini/contents/{+path}","compare_url":"https://api.github.com/repos/Victor0118/Anserini/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Victor0118/Anserini/merges","archive_url":"https://api.github.com/repos/Victor0118/Anserini/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Victor0118/Anserini/downloads","issues_url":"https://api.github.com/repos/Victor0118/Anserini/issues{/number}","pulls_url":"https://api.github.com/repos/Victor0118/Anserini/pulls{/number}","milestones_url":"https://api.github.com/repos/Victor0118/Anserini/milestones{/number}","notifications_url":"https://api.github.com/repos/Victor0118/Anserini/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Victor0118/Anserini/labels{/name}","releases_url":"https://api.github.com/repos/Victor0118/Anserini/releases{/id}","deployments_url":"https://api.github.com/repos/Victor0118/Anserini/deployments","created_at":"2018-05-28T19:14:31Z","updated_at":"2018-06-05T02:13:18Z","pushed_at":"2018-06-05T17:57:09Z","git_url":"git://github.com/Victor0118/Anserini.git","ssh_url":"git@github.com:Victor0118/Anserini.git","clone_url":"https://github.com/Victor0118/Anserini.git","svn_url":"https://github.com/Victor0118/Anserini","homepage":"http://anserini.io/","size":8718,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"castorini:master","ref":"master","sha":"55607b8552272ffdf48d454cf97d3370148a6df6","user":{"login":"castorini","id":26842848,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2ODQyODQ4","avatar_url":"https://avatars1.githubusercontent.com/u/26842848?v=4","gravatar_id":"","url":"https://api.github.com/users/castorini","html_url":"https://github.com/castorini","followers_url":"https://api.github.com/users/castorini/followers","following_url":"https://api.github.com/users/castorini/following{/other_user}","gists_url":"https://api.github.com/users/castorini/gists{/gist_id}","starred_url":"https://api.github.com/users/castorini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/castorini/subscriptions","organizations_url":"https://api.github.com/users/castorini/orgs","repos_url":"https://api.github.com/users/castorini/repos","events_url":"https://api.github.com/users/castorini/events{/privacy}","received_events_url":"https://api.github.com/users/castorini/received_events","type":"Organization","site_admin":false},"repo":{"id":43719677,"node_id":"MDEwOlJlcG9zaXRvcnk0MzcxOTY3Nw==","name":"Anserini","full_name":"castorini/Anserini","owner":{"login":"castorini","id":26842848,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2ODQyODQ4","avatar_url":"https://avatars1.githubusercontent.com/u/26842848?v=4","gravatar_id":"","url":"https://api.github.com/users/castorini","html_url":"https://github.com/castorini","followers_url":"https://api.github.com/users/castorini/followers","following_url":"https://api.github.com/users/castorini/following{/other_user}","gists_url":"https://api.github.com/users/castorini/gists{/gist_id}","starred_url":"https://api.github.com/users/castorini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/castorini/subscriptions","organizations_url":"https://api.github.com/users/castorini/orgs","repos_url":"https://api.github.com/users/castorini/repos","events_url":"https://api.github.com/users/castorini/events{/privacy}","received_events_url":"https://api.github.com/users/castorini/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/castorini/Anserini","description":"An information retrieval toolkit built on Lucene","fork":false,"url":"https://api.github.com/repos/castorini/Anserini","forks_url":"https://api.github.com/repos/castorini/Anserini/forks","keys_url":"https://api.github.com/repos/castorini/Anserini/keys{/key_id}","collaborators_url":"https://api.github.com/repos/castorini/Anserini/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/castorini/Anserini/teams","hooks_url":"https://api.github.com/repos/castorini/Anserini/hooks","issue_events_url":"https://api.github.com/repos/castorini/Anserini/issues/events{/number}","events_url":"https://api.github.com/repos/castorini/Anserini/events","assignees_url":"https://api.github.com/repos/castorini/Anserini/assignees{/user}","branches_url":"https://api.github.com/repos/castorini/Anserini/branches{/branch}","tags_url":"https://api.github.com/repos/castorini/Anserini/tags","blobs_url":"https://api.github.com/repos/castorini/Anserini/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/castorini/Anserini/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/castorini/Anserini/git/refs{/sha}","trees_url":"https://api.github.com/repos/castorini/Anserini/git/trees{/sha}","statuses_url":"https://api.github.com/repos/castorini/Anserini/statuses/{sha}","languages_url":"https://api.github.com/repos/castorini/Anserini/languages","stargazers_url":"https://api.github.com/repos/castorini/Anserini/stargazers","contributors_url":"https://api.github.com/repos/castorini/Anserini/contributors","subscribers_url":"https://api.github.com/repos/castorini/Anserini/subscribers","subscription_url":"https://api.github.com/repos/castorini/Anserini/subscription","commits_url":"https://api.github.com/repos/castorini/Anserini/commits{/sha}","git_commits_url":"https://api.github.com/repos/castorini/Anserini/git/commits{/sha}","comments_url":"https://api.github.com/repos/castorini/Anserini/comments{/number}","issue_comment_url":"https://api.github.com/repos/castorini/Anserini/issues/comments{/number}","contents_url":"https://api.github.com/repos/castorini/Anserini/contents/{+path}","compare_url":"https://api.github.com/repos/castorini/Anserini/compare/{base}...{head}","merges_url":"https://api.github.com/repos/castorini/Anserini/merges","archive_url":"https://api.github.com/repos/castorini/Anserini/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/castorini/Anserini/downloads","issues_url":"https://api.github.com/repos/castorini/Anserini/issues{/number}","pulls_url":"https://api.github.com/repos/castorini/Anserini/pulls{/number}","milestones_url":"https://api.github.com/repos/castorini/Anserini/milestones{/number}","notifications_url":"https://api.github.com/repos/castorini/Anserini/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/castorini/Anserini/labels{/name}","releases_url":"https://api.github.com/repos/castorini/Anserini/releases{/id}","deployments_url":"https://api.github.com/repos/castorini/Anserini/deployments","created_at":"2015-10-05T23:27:54Z","updated_at":"2018-06-05T17:29:34Z","pushed_at":"2018-06-05T18:00:16Z","git_url":"git://github.com/castorini/Anserini.git","ssh_url":"git@github.com:castorini/Anserini.git","clone_url":"https://github.com/castorini/Anserini.git","svn_url":"https://github.com/castorini/Anserini","homepage":"http://anserini.io/","size":8653,"stargazers_count":39,"watchers_count":39,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":42,"mirror_url":null,"archived":false,"open_issues_count":25,"license":null,"forks":42,"open_issues":25,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/castorini/Anserini/pulls/221"},"html":{"href":"https://github.com/castorini/Anserini/pull/221"},"issue":{"href":"https://api.github.com/repos/castorini/Anserini/issues/221"},"comments":{"href":"https://api.github.com/repos/castorini/Anserini/issues/221/comments"},"review_comments":{"href":"https://api.github.com/repos/castorini/Anserini/pulls/221/comments"},"review_comment":{"href":"https://api.github.com/repos/castorini/Anserini/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/castorini/Anserini/pulls/221/commits"},"statuses":{"href":"https://api.github.com/repos/castorini/Anserini/statuses/dd514a547857c2ee607c7e87c6eba24b443395eb"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"Peilin-Yang"}}