{"action":"created","comment":{"url":"https://api.github.com/repos/OnizukaLab/100knock/pulls/comments/189479288","pull_request_review_id":121664975,"id":189479288,"diff_hunk":"@@ -0,0 +1,22 @@\n+# coding: UTF-8\n+# \n+# 形態素解析\n+# $ mecab -F\"%m,%f[6],%f[0],%f[1]\\n\" neko.txt > neko.txt.mecab\n+\n+\n+def readma(path):\n+    tpl = [\"surface\", \"base\", \"pos\", \"pos1\"]\n+\n+    rst = []\n+    ln = []\n+    with open(path, \"r\") as f:\n+        for l in f.readlines():\n+            if(\"EOS\" in l):","path":"2018/nishihara/chap04/q30.py","position":14,"original_position":14,"commit_id":"9889b35e8dc16c8ffeb339c1ee5540fd40495eb6","original_commit_id":"9889b35e8dc16c8ffeb339c1ee5540fd40495eb6","user":{"login":"traymihael","id":28769279,"avatar_url":"https://avatars2.githubusercontent.com/u/28769279?v=4","gravatar_id":"","url":"https://api.github.com/users/traymihael","html_url":"https://github.com/traymihael","followers_url":"https://api.github.com/users/traymihael/followers","following_url":"https://api.github.com/users/traymihael/following{/other_user}","gists_url":"https://api.github.com/users/traymihael/gists{/gist_id}","starred_url":"https://api.github.com/users/traymihael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/traymihael/subscriptions","organizations_url":"https://api.github.com/users/traymihael/orgs","repos_url":"https://api.github.com/users/traymihael/repos","events_url":"https://api.github.com/users/traymihael/events{/privacy}","received_events_url":"https://api.github.com/users/traymihael/received_events","type":"User","site_admin":false},"body":"`text = f.read()`\r\n`lines = text.split('EOS\\n\\n')`\r\n`for line in lines.split('\\n')`\r\nとかでもいけそう\r\n","created_at":"2018-05-21T01:32:43Z","updated_at":"2018-05-21T01:32:44Z","html_url":"https://github.com/OnizukaLab/100knock/pull/43#discussion_r189479288","pull_request_url":"https://api.github.com/repos/OnizukaLab/100knock/pulls/43","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/OnizukaLab/100knock/pulls/comments/189479288"},"html":{"href":"https://github.com/OnizukaLab/100knock/pull/43#discussion_r189479288"},"pull_request":{"href":"https://api.github.com/repos/OnizukaLab/100knock/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/OnizukaLab/100knock/pulls/43","id":189188054,"html_url":"https://github.com/OnizukaLab/100knock/pull/43","diff_url":"https://github.com/OnizukaLab/100knock/pull/43.diff","patch_url":"https://github.com/OnizukaLab/100knock/pull/43.patch","issue_url":"https://api.github.com/repos/OnizukaLab/100knock/issues/43","number":43,"state":"open","locked":false,"title":"Nishihara 04","user":{"login":"Nishihara-Daiki","id":15244574,"avatar_url":"https://avatars1.githubusercontent.com/u/15244574?v=4","gravatar_id":"","url":"https://api.github.com/users/Nishihara-Daiki","html_url":"https://github.com/Nishihara-Daiki","followers_url":"https://api.github.com/users/Nishihara-Daiki/followers","following_url":"https://api.github.com/users/Nishihara-Daiki/following{/other_user}","gists_url":"https://api.github.com/users/Nishihara-Daiki/gists{/gist_id}","starred_url":"https://api.github.com/users/Nishihara-Daiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nishihara-Daiki/subscriptions","organizations_url":"https://api.github.com/users/Nishihara-Daiki/orgs","repos_url":"https://api.github.com/users/Nishihara-Daiki/repos","events_url":"https://api.github.com/users/Nishihara-Daiki/events{/privacy}","received_events_url":"https://api.github.com/users/Nishihara-Daiki/received_events","type":"User","site_admin":false},"body":"close #36 ","created_at":"2018-05-19T13:24:49Z","updated_at":"2018-05-21T01:32:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dbf9c11dccccacd6970477e1a2a32ea8723e7d17","assignee":{"login":"Nishihara-Daiki","id":15244574,"avatar_url":"https://avatars1.githubusercontent.com/u/15244574?v=4","gravatar_id":"","url":"https://api.github.com/users/Nishihara-Daiki","html_url":"https://github.com/Nishihara-Daiki","followers_url":"https://api.github.com/users/Nishihara-Daiki/followers","following_url":"https://api.github.com/users/Nishihara-Daiki/following{/other_user}","gists_url":"https://api.github.com/users/Nishihara-Daiki/gists{/gist_id}","starred_url":"https://api.github.com/users/Nishihara-Daiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nishihara-Daiki/subscriptions","organizations_url":"https://api.github.com/users/Nishihara-Daiki/orgs","repos_url":"https://api.github.com/users/Nishihara-Daiki/repos","events_url":"https://api.github.com/users/Nishihara-Daiki/events{/privacy}","received_events_url":"https://api.github.com/users/Nishihara-Daiki/received_events","type":"User","site_admin":false},"assignees":[{"login":"Nishihara-Daiki","id":15244574,"avatar_url":"https://avatars1.githubusercontent.com/u/15244574?v=4","gravatar_id":"","url":"https://api.github.com/users/Nishihara-Daiki","html_url":"https://github.com/Nishihara-Daiki","followers_url":"https://api.github.com/users/Nishihara-Daiki/followers","following_url":"https://api.github.com/users/Nishihara-Daiki/following{/other_user}","gists_url":"https://api.github.com/users/Nishihara-Daiki/gists{/gist_id}","starred_url":"https://api.github.com/users/Nishihara-Daiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nishihara-Daiki/subscriptions","organizations_url":"https://api.github.com/users/Nishihara-Daiki/orgs","repos_url":"https://api.github.com/users/Nishihara-Daiki/repos","events_url":"https://api.github.com/users/Nishihara-Daiki/events{/privacy}","received_events_url":"https://api.github.com/users/Nishihara-Daiki/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OnizukaLab/100knock/pulls/43/commits","review_comments_url":"https://api.github.com/repos/OnizukaLab/100knock/pulls/43/comments","review_comment_url":"https://api.github.com/repos/OnizukaLab/100knock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OnizukaLab/100knock/issues/43/comments","statuses_url":"https://api.github.com/repos/OnizukaLab/100knock/statuses/9889b35e8dc16c8ffeb339c1ee5540fd40495eb6","head":{"label":"OnizukaLab:nishihara-04","ref":"nishihara-04","sha":"9889b35e8dc16c8ffeb339c1ee5540fd40495eb6","user":{"login":"OnizukaLab","id":12064534,"avatar_url":"https://avatars3.githubusercontent.com/u/12064534?v=4","gravatar_id":"","url":"https://api.github.com/users/OnizukaLab","html_url":"https://github.com/OnizukaLab","followers_url":"https://api.github.com/users/OnizukaLab/followers","following_url":"https://api.github.com/users/OnizukaLab/following{/other_user}","gists_url":"https://api.github.com/users/OnizukaLab/gists{/gist_id}","starred_url":"https://api.github.com/users/OnizukaLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OnizukaLab/subscriptions","organizations_url":"https://api.github.com/users/OnizukaLab/orgs","repos_url":"https://api.github.com/users/OnizukaLab/repos","events_url":"https://api.github.com/users/OnizukaLab/events{/privacy}","received_events_url":"https://api.github.com/users/OnizukaLab/received_events","type":"Organization","site_admin":false},"repo":{"id":125474125,"name":"100knock","full_name":"OnizukaLab/100knock","owner":{"login":"OnizukaLab","id":12064534,"avatar_url":"https://avatars3.githubusercontent.com/u/12064534?v=4","gravatar_id":"","url":"https://api.github.com/users/OnizukaLab","html_url":"https://github.com/OnizukaLab","followers_url":"https://api.github.com/users/OnizukaLab/followers","following_url":"https://api.github.com/users/OnizukaLab/following{/other_user}","gists_url":"https://api.github.com/users/OnizukaLab/gists{/gist_id}","starred_url":"https://api.github.com/users/OnizukaLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OnizukaLab/subscriptions","organizations_url":"https://api.github.com/users/OnizukaLab/orgs","repos_url":"https://api.github.com/users/OnizukaLab/repos","events_url":"https://api.github.com/users/OnizukaLab/events{/privacy}","received_events_url":"https://api.github.com/users/OnizukaLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OnizukaLab/100knock","description":"100本ノックのリポジトリ","fork":false,"url":"https://api.github.com/repos/OnizukaLab/100knock","forks_url":"https://api.github.com/repos/OnizukaLab/100knock/forks","keys_url":"https://api.github.com/repos/OnizukaLab/100knock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OnizukaLab/100knock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OnizukaLab/100knock/teams","hooks_url":"https://api.github.com/repos/OnizukaLab/100knock/hooks","issue_events_url":"https://api.github.com/repos/OnizukaLab/100knock/issues/events{/number}","events_url":"https://api.github.com/repos/OnizukaLab/100knock/events","assignees_url":"https://api.github.com/repos/OnizukaLab/100knock/assignees{/user}","branches_url":"https://api.github.com/repos/OnizukaLab/100knock/branches{/branch}","tags_url":"https://api.github.com/repos/OnizukaLab/100knock/tags","blobs_url":"https://api.github.com/repos/OnizukaLab/100knock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OnizukaLab/100knock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OnizukaLab/100knock/git/refs{/sha}","trees_url":"https://api.github.com/repos/OnizukaLab/100knock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OnizukaLab/100knock/statuses/{sha}","languages_url":"https://api.github.com/repos/OnizukaLab/100knock/languages","stargazers_url":"https://api.github.com/repos/OnizukaLab/100knock/stargazers","contributors_url":"https://api.github.com/repos/OnizukaLab/100knock/contributors","subscribers_url":"https://api.github.com/repos/OnizukaLab/100knock/subscribers","subscription_url":"https://api.github.com/repos/OnizukaLab/100knock/subscription","commits_url":"https://api.github.com/repos/OnizukaLab/100knock/commits{/sha}","git_commits_url":"https://api.github.com/repos/OnizukaLab/100knock/git/commits{/sha}","comments_url":"https://api.github.com/repos/OnizukaLab/100knock/comments{/number}","issue_comment_url":"https://api.github.com/repos/OnizukaLab/100knock/issues/comments{/number}","contents_url":"https://api.github.com/repos/OnizukaLab/100knock/contents/{+path}","compare_url":"https://api.github.com/repos/OnizukaLab/100knock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OnizukaLab/100knock/merges","archive_url":"https://api.github.com/repos/OnizukaLab/100knock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OnizukaLab/100knock/downloads","issues_url":"https://api.github.com/repos/OnizukaLab/100knock/issues{/number}","pulls_url":"https://api.github.com/repos/OnizukaLab/100knock/pulls{/number}","milestones_url":"https://api.github.com/repos/OnizukaLab/100knock/milestones{/number}","notifications_url":"https://api.github.com/repos/OnizukaLab/100knock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OnizukaLab/100knock/labels{/name}","releases_url":"https://api.github.com/repos/OnizukaLab/100knock/releases{/id}","deployments_url":"https://api.github.com/repos/OnizukaLab/100knock/deployments","created_at":"2018-03-16T06:34:46Z","updated_at":"2018-05-18T01:36:58Z","pushed_at":"2018-05-20T15:12:41Z","git_url":"git://github.com/OnizukaLab/100knock.git","ssh_url":"git@github.com:OnizukaLab/100knock.git","clone_url":"https://github.com/OnizukaLab/100knock.git","svn_url":"https://github.com/OnizukaLab/100knock","homepage":null,"size":87,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":18,"license":null,"forks":0,"open_issues":18,"watchers":0,"default_branch":"2018"}},"base":{"label":"OnizukaLab:2018","ref":"2018","sha":"28a62e3c3d1dab639ce6d131a4fc901c4299d744","user":{"login":"OnizukaLab","id":12064534,"avatar_url":"https://avatars3.githubusercontent.com/u/12064534?v=4","gravatar_id":"","url":"https://api.github.com/users/OnizukaLab","html_url":"https://github.com/OnizukaLab","followers_url":"https://api.github.com/users/OnizukaLab/followers","following_url":"https://api.github.com/users/OnizukaLab/following{/other_user}","gists_url":"https://api.github.com/users/OnizukaLab/gists{/gist_id}","starred_url":"https://api.github.com/users/OnizukaLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OnizukaLab/subscriptions","organizations_url":"https://api.github.com/users/OnizukaLab/orgs","repos_url":"https://api.github.com/users/OnizukaLab/repos","events_url":"https://api.github.com/users/OnizukaLab/events{/privacy}","received_events_url":"https://api.github.com/users/OnizukaLab/received_events","type":"Organization","site_admin":false},"repo":{"id":125474125,"name":"100knock","full_name":"OnizukaLab/100knock","owner":{"login":"OnizukaLab","id":12064534,"avatar_url":"https://avatars3.githubusercontent.com/u/12064534?v=4","gravatar_id":"","url":"https://api.github.com/users/OnizukaLab","html_url":"https://github.com/OnizukaLab","followers_url":"https://api.github.com/users/OnizukaLab/followers","following_url":"https://api.github.com/users/OnizukaLab/following{/other_user}","gists_url":"https://api.github.com/users/OnizukaLab/gists{/gist_id}","starred_url":"https://api.github.com/users/OnizukaLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OnizukaLab/subscriptions","organizations_url":"https://api.github.com/users/OnizukaLab/orgs","repos_url":"https://api.github.com/users/OnizukaLab/repos","events_url":"https://api.github.com/users/OnizukaLab/events{/privacy}","received_events_url":"https://api.github.com/users/OnizukaLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OnizukaLab/100knock","description":"100本ノックのリポジトリ","fork":false,"url":"https://api.github.com/repos/OnizukaLab/100knock","forks_url":"https://api.github.com/repos/OnizukaLab/100knock/forks","keys_url":"https://api.github.com/repos/OnizukaLab/100knock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OnizukaLab/100knock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OnizukaLab/100knock/teams","hooks_url":"https://api.github.com/repos/OnizukaLab/100knock/hooks","issue_events_url":"https://api.github.com/repos/OnizukaLab/100knock/issues/events{/number}","events_url":"https://api.github.com/repos/OnizukaLab/100knock/events","assignees_url":"https://api.github.com/repos/OnizukaLab/100knock/assignees{/user}","branches_url":"https://api.github.com/repos/OnizukaLab/100knock/branches{/branch}","tags_url":"https://api.github.com/repos/OnizukaLab/100knock/tags","blobs_url":"https://api.github.com/repos/OnizukaLab/100knock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OnizukaLab/100knock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OnizukaLab/100knock/git/refs{/sha}","trees_url":"https://api.github.com/repos/OnizukaLab/100knock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OnizukaLab/100knock/statuses/{sha}","languages_url":"https://api.github.com/repos/OnizukaLab/100knock/languages","stargazers_url":"https://api.github.com/repos/OnizukaLab/100knock/stargazers","contributors_url":"https://api.github.com/repos/OnizukaLab/100knock/contributors","subscribers_url":"https://api.github.com/repos/OnizukaLab/100knock/subscribers","subscription_url":"https://api.github.com/repos/OnizukaLab/100knock/subscription","commits_url":"https://api.github.com/repos/OnizukaLab/100knock/commits{/sha}","git_commits_url":"https://api.github.com/repos/OnizukaLab/100knock/git/commits{/sha}","comments_url":"https://api.github.com/repos/OnizukaLab/100knock/comments{/number}","issue_comment_url":"https://api.github.com/repos/OnizukaLab/100knock/issues/comments{/number}","contents_url":"https://api.github.com/repos/OnizukaLab/100knock/contents/{+path}","compare_url":"https://api.github.com/repos/OnizukaLab/100knock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OnizukaLab/100knock/merges","archive_url":"https://api.github.com/repos/OnizukaLab/100knock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OnizukaLab/100knock/downloads","issues_url":"https://api.github.com/repos/OnizukaLab/100knock/issues{/number}","pulls_url":"https://api.github.com/repos/OnizukaLab/100knock/pulls{/number}","milestones_url":"https://api.github.com/repos/OnizukaLab/100knock/milestones{/number}","notifications_url":"https://api.github.com/repos/OnizukaLab/100knock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OnizukaLab/100knock/labels{/name}","releases_url":"https://api.github.com/repos/OnizukaLab/100knock/releases{/id}","deployments_url":"https://api.github.com/repos/OnizukaLab/100knock/deployments","created_at":"2018-03-16T06:34:46Z","updated_at":"2018-05-18T01:36:58Z","pushed_at":"2018-05-20T15:12:41Z","git_url":"git://github.com/OnizukaLab/100knock.git","ssh_url":"git@github.com:OnizukaLab/100knock.git","clone_url":"https://github.com/OnizukaLab/100knock.git","svn_url":"https://github.com/OnizukaLab/100knock","homepage":null,"size":87,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":18,"license":null,"forks":0,"open_issues":18,"watchers":0,"default_branch":"2018"}},"_links":{"self":{"href":"https://api.github.com/repos/OnizukaLab/100knock/pulls/43"},"html":{"href":"https://github.com/OnizukaLab/100knock/pull/43"},"issue":{"href":"https://api.github.com/repos/OnizukaLab/100knock/issues/43"},"comments":{"href":"https://api.github.com/repos/OnizukaLab/100knock/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/OnizukaLab/100knock/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/OnizukaLab/100knock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OnizukaLab/100knock/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/OnizukaLab/100knock/statuses/9889b35e8dc16c8ffeb339c1ee5540fd40495eb6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"traymihael"}}