{"action":"opened","number":49,"pull_request":{"url":"https://api.github.com/repos/Lynten/stanford-corenlp/pulls/49","id":197286336,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3Mjg2MzM2","html_url":"https://github.com/Lynten/stanford-corenlp/pull/49","diff_url":"https://github.com/Lynten/stanford-corenlp/pull/49.diff","patch_url":"https://github.com/Lynten/stanford-corenlp/pull/49.patch","issue_url":"https://api.github.com/repos/Lynten/stanford-corenlp/issues/49","number":49,"state":"open","locked":false,"title":"add lemmatizer support","user":{"login":"forrestbao","id":438579,"node_id":"MDQ6VXNlcjQzODU3OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/438579?v=4","gravatar_id":"","url":"https://api.github.com/users/forrestbao","html_url":"https://github.com/forrestbao","followers_url":"https://api.github.com/users/forrestbao/followers","following_url":"https://api.github.com/users/forrestbao/following{/other_user}","gists_url":"https://api.github.com/users/forrestbao/gists{/gist_id}","starred_url":"https://api.github.com/users/forrestbao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forrestbao/subscriptions","organizations_url":"https://api.github.com/users/forrestbao/orgs","repos_url":"https://api.github.com/users/forrestbao/repos","events_url":"https://api.github.com/users/forrestbao/events{/privacy}","received_events_url":"https://api.github.com/users/forrestbao/received_events","type":"User","site_admin":false},"body":"The current `stanfordcorenlp` wrapper does not have an explicit way to lemmatize sentences via Stanford CoreNLP. So I've added the support for it. \r\n\r\nExample of use:\r\n```python3\r\n>>>import stanfordcorenlp\r\n>>>nlp = stanfordcorenlp.StanfordCoreNLP(r'../stanford-corenlp-full-2018-02-27/')\r\n>>>print (nlp.lemma(\"I am happy. you are too!\"))\r\nner [('I', 'I'), ('am', 'be'), ('happy', 'happy'), ('.', '.'), ('you', 'you'), ('are', 'be'), ('too', 'too'), ('!', '!')]\r\n```","created_at":"2018-06-26T02:41:03Z","updated_at":"2018-06-26T02:41:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Lynten/stanford-corenlp/pulls/49/commits","review_comments_url":"https://api.github.com/repos/Lynten/stanford-corenlp/pulls/49/comments","review_comment_url":"https://api.github.com/repos/Lynten/stanford-corenlp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Lynten/stanford-corenlp/issues/49/comments","statuses_url":"https://api.github.com/repos/Lynten/stanford-corenlp/statuses/274ffd343c448d1a66a3ab2d4705168d903c61c4","head":{"label":"forrestbao:master","ref":"master","sha":"274ffd343c448d1a66a3ab2d4705168d903c61c4","user":{"login":"forrestbao","id":438579,"node_id":"MDQ6VXNlcjQzODU3OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/438579?v=4","gravatar_id":"","url":"https://api.github.com/users/forrestbao","html_url":"https://github.com/forrestbao","followers_url":"https://api.github.com/users/forrestbao/followers","following_url":"https://api.github.com/users/forrestbao/following{/other_user}","gists_url":"https://api.github.com/users/forrestbao/gists{/gist_id}","starred_url":"https://api.github.com/users/forrestbao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forrestbao/subscriptions","organizations_url":"https://api.github.com/users/forrestbao/orgs","repos_url":"https://api.github.com/users/forrestbao/repos","events_url":"https://api.github.com/users/forrestbao/events{/privacy}","received_events_url":"https://api.github.com/users/forrestbao/received_events","type":"User","site_admin":false},"repo":{"id":138674178,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg2NzQxNzg=","name":"stanford-corenlp","full_name":"forrestbao/stanford-corenlp","owner":{"login":"forrestbao","id":438579,"node_id":"MDQ6VXNlcjQzODU3OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/438579?v=4","gravatar_id":"","url":"https://api.github.com/users/forrestbao","html_url":"https://github.com/forrestbao","followers_url":"https://api.github.com/users/forrestbao/followers","following_url":"https://api.github.com/users/forrestbao/following{/other_user}","gists_url":"https://api.github.com/users/forrestbao/gists{/gist_id}","starred_url":"https://api.github.com/users/forrestbao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forrestbao/subscriptions","organizations_url":"https://api.github.com/users/forrestbao/orgs","repos_url":"https://api.github.com/users/forrestbao/repos","events_url":"https://api.github.com/users/forrestbao/events{/privacy}","received_events_url":"https://api.github.com/users/forrestbao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/forrestbao/stanford-corenlp","description":"Python wrapper for Stanford CoreNLP.","fork":true,"url":"https://api.github.com/repos/forrestbao/stanford-corenlp","forks_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/forks","keys_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/teams","hooks_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/hooks","issue_events_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/issues/events{/number}","events_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/events","assignees_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/assignees{/user}","branches_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/branches{/branch}","tags_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/tags","blobs_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/git/refs{/sha}","trees_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/statuses/{sha}","languages_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/languages","stargazers_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/stargazers","contributors_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/contributors","subscribers_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/subscribers","subscription_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/subscription","commits_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/commits{/sha}","git_commits_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/git/commits{/sha}","comments_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/comments{/number}","issue_comment_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/issues/comments{/number}","contents_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/contents/{+path}","compare_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/merges","archive_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/downloads","issues_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/issues{/number}","pulls_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/pulls{/number}","milestones_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/milestones{/number}","notifications_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/labels{/name}","releases_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/releases{/id}","deployments_url":"https://api.github.com/repos/forrestbao/stanford-corenlp/deployments","created_at":"2018-06-26T02:28:19Z","updated_at":"2018-06-26T02:35:14Z","pushed_at":"2018-06-26T02:35:12Z","git_url":"git://github.com/forrestbao/stanford-corenlp.git","ssh_url":"git@github.com:forrestbao/stanford-corenlp.git","clone_url":"https://github.com/forrestbao/stanford-corenlp.git","svn_url":"https://github.com/forrestbao/stanford-corenlp","homepage":null,"size":45,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Lynten:master","ref":"master","sha":"2af7e80c778a63da16059e9583ed891c77b0835a","user":{"login":"Lynten","id":5766062,"node_id":"MDQ6VXNlcjU3NjYwNjI=","avatar_url":"https://avatars0.githubusercontent.com/u/5766062?v=4","gravatar_id":"","url":"https://api.github.com/users/Lynten","html_url":"https://github.com/Lynten","followers_url":"https://api.github.com/users/Lynten/followers","following_url":"https://api.github.com/users/Lynten/following{/other_user}","gists_url":"https://api.github.com/users/Lynten/gists{/gist_id}","starred_url":"https://api.github.com/users/Lynten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lynten/subscriptions","organizations_url":"https://api.github.com/users/Lynten/orgs","repos_url":"https://api.github.com/users/Lynten/repos","events_url":"https://api.github.com/users/Lynten/events{/privacy}","received_events_url":"https://api.github.com/users/Lynten/received_events","type":"User","site_admin":false},"repo":{"id":92424780,"node_id":"MDEwOlJlcG9zaXRvcnk5MjQyNDc4MA==","name":"stanford-corenlp","full_name":"Lynten/stanford-corenlp","owner":{"login":"Lynten","id":5766062,"node_id":"MDQ6VXNlcjU3NjYwNjI=","avatar_url":"https://avatars0.githubusercontent.com/u/5766062?v=4","gravatar_id":"","url":"https://api.github.com/users/Lynten","html_url":"https://github.com/Lynten","followers_url":"https://api.github.com/users/Lynten/followers","following_url":"https://api.github.com/users/Lynten/following{/other_user}","gists_url":"https://api.github.com/users/Lynten/gists{/gist_id}","starred_url":"https://api.github.com/users/Lynten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lynten/subscriptions","organizations_url":"https://api.github.com/users/Lynten/orgs","repos_url":"https://api.github.com/users/Lynten/repos","events_url":"https://api.github.com/users/Lynten/events{/privacy}","received_events_url":"https://api.github.com/users/Lynten/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Lynten/stanford-corenlp","description":"Python wrapper for Stanford CoreNLP.","fork":false,"url":"https://api.github.com/repos/Lynten/stanford-corenlp","forks_url":"https://api.github.com/repos/Lynten/stanford-corenlp/forks","keys_url":"https://api.github.com/repos/Lynten/stanford-corenlp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lynten/stanford-corenlp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lynten/stanford-corenlp/teams","hooks_url":"https://api.github.com/repos/Lynten/stanford-corenlp/hooks","issue_events_url":"https://api.github.com/repos/Lynten/stanford-corenlp/issues/events{/number}","events_url":"https://api.github.com/repos/Lynten/stanford-corenlp/events","assignees_url":"https://api.github.com/repos/Lynten/stanford-corenlp/assignees{/user}","branches_url":"https://api.github.com/repos/Lynten/stanford-corenlp/branches{/branch}","tags_url":"https://api.github.com/repos/Lynten/stanford-corenlp/tags","blobs_url":"https://api.github.com/repos/Lynten/stanford-corenlp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lynten/stanford-corenlp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lynten/stanford-corenlp/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lynten/stanford-corenlp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lynten/stanford-corenlp/statuses/{sha}","languages_url":"https://api.github.com/repos/Lynten/stanford-corenlp/languages","stargazers_url":"https://api.github.com/repos/Lynten/stanford-corenlp/stargazers","contributors_url":"https://api.github.com/repos/Lynten/stanford-corenlp/contributors","subscribers_url":"https://api.github.com/repos/Lynten/stanford-corenlp/subscribers","subscription_url":"https://api.github.com/repos/Lynten/stanford-corenlp/subscription","commits_url":"https://api.github.com/repos/Lynten/stanford-corenlp/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lynten/stanford-corenlp/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lynten/stanford-corenlp/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lynten/stanford-corenlp/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lynten/stanford-corenlp/contents/{+path}","compare_url":"https://api.github.com/repos/Lynten/stanford-corenlp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lynten/stanford-corenlp/merges","archive_url":"https://api.github.com/repos/Lynten/stanford-corenlp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lynten/stanford-corenlp/downloads","issues_url":"https://api.github.com/repos/Lynten/stanford-corenlp/issues{/number}","pulls_url":"https://api.github.com/repos/Lynten/stanford-corenlp/pulls{/number}","milestones_url":"https://api.github.com/repos/Lynten/stanford-corenlp/milestones{/number}","notifications_url":"https://api.github.com/repos/Lynten/stanford-corenlp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lynten/stanford-corenlp/labels{/name}","releases_url":"https://api.github.com/repos/Lynten/stanford-corenlp/releases{/id}","deployments_url":"https://api.github.com/repos/Lynten/stanford-corenlp/deployments","created_at":"2017-05-25T16:53:03Z","updated_at":"2018-06-25T22:11:58Z","pushed_at":"2018-06-25T12:45:53Z","git_url":"git://github.com/Lynten/stanford-corenlp.git","ssh_url":"git@github.com:Lynten/stanford-corenlp.git","clone_url":"https://github.com/Lynten/stanford-corenlp.git","svn_url":"https://github.com/Lynten/stanford-corenlp","homepage":null,"size":45,"stargazers_count":236,"watchers_count":236,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"archived":false,"open_issues_count":31,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":61,"open_issues":31,"watchers":236,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Lynten/stanford-corenlp/pulls/49"},"html":{"href":"https://github.com/Lynten/stanford-corenlp/pull/49"},"issue":{"href":"https://api.github.com/repos/Lynten/stanford-corenlp/issues/49"},"comments":{"href":"https://api.github.com/repos/Lynten/stanford-corenlp/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/Lynten/stanford-corenlp/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/Lynten/stanford-corenlp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Lynten/stanford-corenlp/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/Lynten/stanford-corenlp/statuses/274ffd343c448d1a66a3ab2d4705168d903c61c4"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":11,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"forrestbao"}}