{"action":"created","comment":{"url":"https://api.github.com/repos/NTMC-Community/MatchZoo/pulls/comments/225227157","pull_request_review_id":164781445,"id":225227157,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTIyNzE1Nw==","diff_hunk":"@@ -38,14 +39,28 @@ class CDSSMPreprocessor(engine.BasePreprocessor, preprocessor.SegmentMixin):\n         <class 'matchzoo.datapack.DataPack'>\n     \"\"\"\n \n-    def __init__(self, sliding_window: int=3):\n+    def __init__(self, sliding_window: int=3, window_nb: int=5,\n+                 pad_value: int=0, pad_mode: str='pre',\n+                 truncate_mode: str='pre'):\n         \"\"\"Initialization.\n \n         :param sliding_window: sliding window length.\n-        :param remove: user-defined removed tokens.\n+        :param window_nb: sliding window number.","path":"matchzoo/preprocessor/cdssm_preprocessor.py","position":20,"original_position":20,"commit_id":"4f8df24fd467b4d35381ae1745550fb5274b1726","original_commit_id":"4f8df24fd467b4d35381ae1745550fb5274b1726","user":{"login":"bwanglzu","id":9794489,"node_id":"MDQ6VXNlcjk3OTQ0ODk=","avatar_url":"https://avatars1.githubusercontent.com/u/9794489?v=4","gravatar_id":"","url":"https://api.github.com/users/bwanglzu","html_url":"https://github.com/bwanglzu","followers_url":"https://api.github.com/users/bwanglzu/followers","following_url":"https://api.github.com/users/bwanglzu/following{/other_user}","gists_url":"https://api.github.com/users/bwanglzu/gists{/gist_id}","starred_url":"https://api.github.com/users/bwanglzu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwanglzu/subscriptions","organizations_url":"https://api.github.com/users/bwanglzu/orgs","repos_url":"https://api.github.com/users/bwanglzu/repos","events_url":"https://api.github.com/users/bwanglzu/events{/privacy}","received_events_url":"https://api.github.com/users/bwanglzu/received_events","type":"User","site_admin":false},"body":"same","created_at":"2018-10-15T16:11:34Z","updated_at":"2018-10-15T16:19:59Z","html_url":"https://github.com/NTMC-Community/MatchZoo/pull/415#discussion_r225227157","pull_request_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/pulls/415","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/NTMC-Community/MatchZoo/pulls/comments/225227157"},"html":{"href":"https://github.com/NTMC-Community/MatchZoo/pull/415#discussion_r225227157"},"pull_request":{"href":"https://api.github.com/repos/NTMC-Community/MatchZoo/pulls/415"}}},"pull_request":{"url":"https://api.github.com/repos/NTMC-Community/MatchZoo/pulls/415","id":222945505,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyOTQ1NTA1","html_url":"https://github.com/NTMC-Community/MatchZoo/pull/415","diff_url":"https://github.com/NTMC-Community/MatchZoo/pull/415.diff","patch_url":"https://github.com/NTMC-Community/MatchZoo/pull/415.patch","issue_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/issues/415","number":415,"state":"open","locked":false,"title":"Feature/inte test cdssm","user":{"login":"ZizhenWang","id":8414897,"node_id":"MDQ6VXNlcjg0MTQ4OTc=","avatar_url":"https://avatars2.githubusercontent.com/u/8414897?v=4","gravatar_id":"","url":"https://api.github.com/users/ZizhenWang","html_url":"https://github.com/ZizhenWang","followers_url":"https://api.github.com/users/ZizhenWang/followers","following_url":"https://api.github.com/users/ZizhenWang/following{/other_user}","gists_url":"https://api.github.com/users/ZizhenWang/gists{/gist_id}","starred_url":"https://api.github.com/users/ZizhenWang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZizhenWang/subscriptions","organizations_url":"https://api.github.com/users/ZizhenWang/orgs","repos_url":"https://api.github.com/users/ZizhenWang/repos","events_url":"https://api.github.com/users/ZizhenWang/events{/privacy}","received_events_url":"https://api.github.com/users/ZizhenWang/received_events","type":"User","site_admin":false},"body":"#360 ","created_at":"2018-10-15T15:20:40Z","updated_at":"2018-10-15T16:19:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a34b7ee7632cf801f508f1a6d72f0e94bc8b435d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"pl8787","id":1762835,"node_id":"MDQ6VXNlcjE3NjI4MzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1762835?v=4","gravatar_id":"","url":"https://api.github.com/users/pl8787","html_url":"https://github.com/pl8787","followers_url":"https://api.github.com/users/pl8787/followers","following_url":"https://api.github.com/users/pl8787/following{/other_user}","gists_url":"https://api.github.com/users/pl8787/gists{/gist_id}","starred_url":"https://api.github.com/users/pl8787/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pl8787/subscriptions","organizations_url":"https://api.github.com/users/pl8787/orgs","repos_url":"https://api.github.com/users/pl8787/repos","events_url":"https://api.github.com/users/pl8787/events{/privacy}","received_events_url":"https://api.github.com/users/pl8787/received_events","type":"User","site_admin":false},{"login":"faneshion","id":4699451,"node_id":"MDQ6VXNlcjQ2OTk0NTE=","avatar_url":"https://avatars2.githubusercontent.com/u/4699451?v=4","gravatar_id":"","url":"https://api.github.com/users/faneshion","html_url":"https://github.com/faneshion","followers_url":"https://api.github.com/users/faneshion/followers","following_url":"https://api.github.com/users/faneshion/following{/other_user}","gists_url":"https://api.github.com/users/faneshion/gists{/gist_id}","starred_url":"https://api.github.com/users/faneshion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faneshion/subscriptions","organizations_url":"https://api.github.com/users/faneshion/orgs","repos_url":"https://api.github.com/users/faneshion/repos","events_url":"https://api.github.com/users/faneshion/events{/privacy}","received_events_url":"https://api.github.com/users/faneshion/received_events","type":"User","site_admin":false},{"login":"wqh17101","id":26429138,"node_id":"MDQ6VXNlcjI2NDI5MTM4","avatar_url":"https://avatars0.githubusercontent.com/u/26429138?v=4","gravatar_id":"","url":"https://api.github.com/users/wqh17101","html_url":"https://github.com/wqh17101","followers_url":"https://api.github.com/users/wqh17101/followers","following_url":"https://api.github.com/users/wqh17101/following{/other_user}","gists_url":"https://api.github.com/users/wqh17101/gists{/gist_id}","starred_url":"https://api.github.com/users/wqh17101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wqh17101/subscriptions","organizations_url":"https://api.github.com/users/wqh17101/orgs","repos_url":"https://api.github.com/users/wqh17101/repos","events_url":"https://api.github.com/users/wqh17101/events{/privacy}","received_events_url":"https://api.github.com/users/wqh17101/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":946398538,"node_id":"MDU6TGFiZWw5NDYzOTg1Mzg=","url":"https://api.github.com/repos/NTMC-Community/MatchZoo/labels/2.0","name":"2.0","color":"0ebff9","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/pulls/415/commits","review_comments_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/pulls/415/comments","review_comment_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/issues/415/comments","statuses_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/statuses/4f8df24fd467b4d35381ae1745550fb5274b1726","head":{"label":"NTMC-Community:feature/inte_test_cdssm","ref":"feature/inte_test_cdssm","sha":"4f8df24fd467b4d35381ae1745550fb5274b1726","user":{"login":"NTMC-Community","id":37836806,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3ODM2ODA2","avatar_url":"https://avatars2.githubusercontent.com/u/37836806?v=4","gravatar_id":"","url":"https://api.github.com/users/NTMC-Community","html_url":"https://github.com/NTMC-Community","followers_url":"https://api.github.com/users/NTMC-Community/followers","following_url":"https://api.github.com/users/NTMC-Community/following{/other_user}","gists_url":"https://api.github.com/users/NTMC-Community/gists{/gist_id}","starred_url":"https://api.github.com/users/NTMC-Community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NTMC-Community/subscriptions","organizations_url":"https://api.github.com/users/NTMC-Community/orgs","repos_url":"https://api.github.com/users/NTMC-Community/repos","events_url":"https://api.github.com/users/NTMC-Community/events{/privacy}","received_events_url":"https://api.github.com/users/NTMC-Community/received_events","type":"Organization","site_admin":false},"repo":{"id":93728104,"node_id":"MDEwOlJlcG9zaXRvcnk5MzcyODEwNA==","name":"MatchZoo","full_name":"NTMC-Community/MatchZoo","private":false,"owner":{"login":"NTMC-Community","id":37836806,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3ODM2ODA2","avatar_url":"https://avatars2.githubusercontent.com/u/37836806?v=4","gravatar_id":"","url":"https://api.github.com/users/NTMC-Community","html_url":"https://github.com/NTMC-Community","followers_url":"https://api.github.com/users/NTMC-Community/followers","following_url":"https://api.github.com/users/NTMC-Community/following{/other_user}","gists_url":"https://api.github.com/users/NTMC-Community/gists{/gist_id}","starred_url":"https://api.github.com/users/NTMC-Community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NTMC-Community/subscriptions","organizations_url":"https://api.github.com/users/NTMC-Community/orgs","repos_url":"https://api.github.com/users/NTMC-Community/repos","events_url":"https://api.github.com/users/NTMC-Community/events{/privacy}","received_events_url":"https://api.github.com/users/NTMC-Community/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/NTMC-Community/MatchZoo","description":"MatchZoo is a toolkit for text matching. It was developed to facilitate the designing, comparing, and sharing of deep text matching models.","fork":false,"url":"https://api.github.com/repos/NTMC-Community/MatchZoo","forks_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/forks","keys_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/teams","hooks_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/hooks","issue_events_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/issues/events{/number}","events_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/events","assignees_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/assignees{/user}","branches_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/branches{/branch}","tags_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/tags","blobs_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/statuses/{sha}","languages_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/languages","stargazers_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/stargazers","contributors_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/contributors","subscribers_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/subscribers","subscription_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/subscription","commits_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/contents/{+path}","compare_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/merges","archive_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/downloads","issues_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/issues{/number}","pulls_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/pulls{/number}","milestones_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/milestones{/number}","notifications_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/labels{/name}","releases_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/releases{/id}","deployments_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/deployments","created_at":"2017-06-08T08:55:22Z","updated_at":"2018-10-15T13:50:04Z","pushed_at":"2018-10-15T15:20:40Z","git_url":"git://github.com/NTMC-Community/MatchZoo.git","ssh_url":"git@github.com:NTMC-Community/MatchZoo.git","clone_url":"https://github.com/NTMC-Community/MatchZoo.git","svn_url":"https://github.com/NTMC-Community/MatchZoo","homepage":"","size":39957,"stargazers_count":1595,"watchers_count":1595,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":478,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":478,"open_issues":28,"watchers":1595,"default_branch":"master"}},"base":{"label":"NTMC-Community:2.0","ref":"2.0","sha":"c85f7d9049ad587051268d93f566f14181a83528","user":{"login":"NTMC-Community","id":37836806,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3ODM2ODA2","avatar_url":"https://avatars2.githubusercontent.com/u/37836806?v=4","gravatar_id":"","url":"https://api.github.com/users/NTMC-Community","html_url":"https://github.com/NTMC-Community","followers_url":"https://api.github.com/users/NTMC-Community/followers","following_url":"https://api.github.com/users/NTMC-Community/following{/other_user}","gists_url":"https://api.github.com/users/NTMC-Community/gists{/gist_id}","starred_url":"https://api.github.com/users/NTMC-Community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NTMC-Community/subscriptions","organizations_url":"https://api.github.com/users/NTMC-Community/orgs","repos_url":"https://api.github.com/users/NTMC-Community/repos","events_url":"https://api.github.com/users/NTMC-Community/events{/privacy}","received_events_url":"https://api.github.com/users/NTMC-Community/received_events","type":"Organization","site_admin":false},"repo":{"id":93728104,"node_id":"MDEwOlJlcG9zaXRvcnk5MzcyODEwNA==","name":"MatchZoo","full_name":"NTMC-Community/MatchZoo","private":false,"owner":{"login":"NTMC-Community","id":37836806,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3ODM2ODA2","avatar_url":"https://avatars2.githubusercontent.com/u/37836806?v=4","gravatar_id":"","url":"https://api.github.com/users/NTMC-Community","html_url":"https://github.com/NTMC-Community","followers_url":"https://api.github.com/users/NTMC-Community/followers","following_url":"https://api.github.com/users/NTMC-Community/following{/other_user}","gists_url":"https://api.github.com/users/NTMC-Community/gists{/gist_id}","starred_url":"https://api.github.com/users/NTMC-Community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NTMC-Community/subscriptions","organizations_url":"https://api.github.com/users/NTMC-Community/orgs","repos_url":"https://api.github.com/users/NTMC-Community/repos","events_url":"https://api.github.com/users/NTMC-Community/events{/privacy}","received_events_url":"https://api.github.com/users/NTMC-Community/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/NTMC-Community/MatchZoo","description":"MatchZoo is a toolkit for text matching. It was developed to facilitate the designing, comparing, and sharing of deep text matching models.","fork":false,"url":"https://api.github.com/repos/NTMC-Community/MatchZoo","forks_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/forks","keys_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/teams","hooks_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/hooks","issue_events_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/issues/events{/number}","events_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/events","assignees_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/assignees{/user}","branches_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/branches{/branch}","tags_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/tags","blobs_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/statuses/{sha}","languages_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/languages","stargazers_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/stargazers","contributors_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/contributors","subscribers_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/subscribers","subscription_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/subscription","commits_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/contents/{+path}","compare_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/merges","archive_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/downloads","issues_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/issues{/number}","pulls_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/pulls{/number}","milestones_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/milestones{/number}","notifications_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/labels{/name}","releases_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/releases{/id}","deployments_url":"https://api.github.com/repos/NTMC-Community/MatchZoo/deployments","created_at":"2017-06-08T08:55:22Z","updated_at":"2018-10-15T13:50:04Z","pushed_at":"2018-10-15T15:20:40Z","git_url":"git://github.com/NTMC-Community/MatchZoo.git","ssh_url":"git@github.com:NTMC-Community/MatchZoo.git","clone_url":"https://github.com/NTMC-Community/MatchZoo.git","svn_url":"https://github.com/NTMC-Community/MatchZoo","homepage":"","size":39957,"stargazers_count":1595,"watchers_count":1595,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":478,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":478,"open_issues":28,"watchers":1595,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NTMC-Community/MatchZoo/pulls/415"},"html":{"href":"https://github.com/NTMC-Community/MatchZoo/pull/415"},"issue":{"href":"https://api.github.com/repos/NTMC-Community/MatchZoo/issues/415"},"comments":{"href":"https://api.github.com/repos/NTMC-Community/MatchZoo/issues/415/comments"},"review_comments":{"href":"https://api.github.com/repos/NTMC-Community/MatchZoo/pulls/415/comments"},"review_comment":{"href":"https://api.github.com/repos/NTMC-Community/MatchZoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NTMC-Community/MatchZoo/pulls/415/commits"},"statuses":{"href":"https://api.github.com/repos/NTMC-Community/MatchZoo/statuses/4f8df24fd467b4d35381ae1745550fb5274b1726"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"bwanglzu"}}