{"action":"opened","number":131,"pull_request":{"url":"https://api.github.com/repos/allenai/nlpstack/pulls/131","id":34223137,"html_url":"https://github.com/allenai/nlpstack/pull/131","diff_url":"https://github.com/allenai/nlpstack/pull/131.diff","patch_url":"https://github.com/allenai/nlpstack/pull/131.patch","issue_url":"https://api.github.com/repos/allenai/nlpstack/issues/131","number":131,"state":"open","locked":false,"title":"Google Ngram based features","user":{"login":"sbhaktha","id":5631150,"avatar_url":"https://avatars.githubusercontent.com/u/5631150?v=3","gravatar_id":"","url":"https://api.github.com/users/sbhaktha","html_url":"https://github.com/sbhaktha","followers_url":"https://api.github.com/users/sbhaktha/followers","following_url":"https://api.github.com/users/sbhaktha/following{/other_user}","gists_url":"https://api.github.com/users/sbhaktha/gists{/gist_id}","starred_url":"https://api.github.com/users/sbhaktha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbhaktha/subscriptions","organizations_url":"https://api.github.com/users/sbhaktha/orgs","repos_url":"https://api.github.com/users/sbhaktha/repos","events_url":"https://api.github.com/users/sbhaktha/events{/privacy}","received_events_url":"https://api.github.com/users/sbhaktha/received_events","type":"User","site_admin":false},"body":"@mhrmm : Here it is. Although only using unigrams (Nodes dataset) of the Google Ngram data, utility class has been coded to be general (if we want to use bigram/trigram based features in the future).\r\n\r\nFor any given token, the word associated with the token is looked up in the Google Ngram frequency map, filtered to just the ones matching the token's POS tag. Then a normalized frequency distribution of the various dependency labels for that word and that POS tag is used to generate the features.","created_at":"2015-04-28T00:14:18Z","updated_at":"2015-04-28T00:14:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/allenai/nlpstack/pulls/131/commits","review_comments_url":"https://api.github.com/repos/allenai/nlpstack/pulls/131/comments","review_comment_url":"https://api.github.com/repos/allenai/nlpstack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/allenai/nlpstack/issues/131/comments","statuses_url":"https://api.github.com/repos/allenai/nlpstack/statuses/b2091b4af92794214aef9c4a4500b8fdd1e9878a","head":{"label":"sbhaktha:ngrams","ref":"ngrams","sha":"b2091b4af92794214aef9c4a4500b8fdd1e9878a","user":{"login":"sbhaktha","id":5631150,"avatar_url":"https://avatars.githubusercontent.com/u/5631150?v=3","gravatar_id":"","url":"https://api.github.com/users/sbhaktha","html_url":"https://github.com/sbhaktha","followers_url":"https://api.github.com/users/sbhaktha/followers","following_url":"https://api.github.com/users/sbhaktha/following{/other_user}","gists_url":"https://api.github.com/users/sbhaktha/gists{/gist_id}","starred_url":"https://api.github.com/users/sbhaktha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbhaktha/subscriptions","organizations_url":"https://api.github.com/users/sbhaktha/orgs","repos_url":"https://api.github.com/users/sbhaktha/repos","events_url":"https://api.github.com/users/sbhaktha/events{/privacy}","received_events_url":"https://api.github.com/users/sbhaktha/received_events","type":"User","site_admin":false},"repo":{"id":31919534,"name":"nlpstack","full_name":"sbhaktha/nlpstack","owner":{"login":"sbhaktha","id":5631150,"avatar_url":"https://avatars.githubusercontent.com/u/5631150?v=3","gravatar_id":"","url":"https://api.github.com/users/sbhaktha","html_url":"https://github.com/sbhaktha","followers_url":"https://api.github.com/users/sbhaktha/followers","following_url":"https://api.github.com/users/sbhaktha/following{/other_user}","gists_url":"https://api.github.com/users/sbhaktha/gists{/gist_id}","starred_url":"https://api.github.com/users/sbhaktha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbhaktha/subscriptions","organizations_url":"https://api.github.com/users/sbhaktha/orgs","repos_url":"https://api.github.com/users/sbhaktha/repos","events_url":"https://api.github.com/users/sbhaktha/events{/privacy}","received_events_url":"https://api.github.com/users/sbhaktha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sbhaktha/nlpstack","description":"NLP toolkit (tokenizer, POS-tagger, parser, etc.)","fork":true,"url":"https://api.github.com/repos/sbhaktha/nlpstack","forks_url":"https://api.github.com/repos/sbhaktha/nlpstack/forks","keys_url":"https://api.github.com/repos/sbhaktha/nlpstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sbhaktha/nlpstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sbhaktha/nlpstack/teams","hooks_url":"https://api.github.com/repos/sbhaktha/nlpstack/hooks","issue_events_url":"https://api.github.com/repos/sbhaktha/nlpstack/issues/events{/number}","events_url":"https://api.github.com/repos/sbhaktha/nlpstack/events","assignees_url":"https://api.github.com/repos/sbhaktha/nlpstack/assignees{/user}","branches_url":"https://api.github.com/repos/sbhaktha/nlpstack/branches{/branch}","tags_url":"https://api.github.com/repos/sbhaktha/nlpstack/tags","blobs_url":"https://api.github.com/repos/sbhaktha/nlpstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sbhaktha/nlpstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sbhaktha/nlpstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/sbhaktha/nlpstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sbhaktha/nlpstack/statuses/{sha}","languages_url":"https://api.github.com/repos/sbhaktha/nlpstack/languages","stargazers_url":"https://api.github.com/repos/sbhaktha/nlpstack/stargazers","contributors_url":"https://api.github.com/repos/sbhaktha/nlpstack/contributors","subscribers_url":"https://api.github.com/repos/sbhaktha/nlpstack/subscribers","subscription_url":"https://api.github.com/repos/sbhaktha/nlpstack/subscription","commits_url":"https://api.github.com/repos/sbhaktha/nlpstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/sbhaktha/nlpstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/sbhaktha/nlpstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/sbhaktha/nlpstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/sbhaktha/nlpstack/contents/{+path}","compare_url":"https://api.github.com/repos/sbhaktha/nlpstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sbhaktha/nlpstack/merges","archive_url":"https://api.github.com/repos/sbhaktha/nlpstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sbhaktha/nlpstack/downloads","issues_url":"https://api.github.com/repos/sbhaktha/nlpstack/issues{/number}","pulls_url":"https://api.github.com/repos/sbhaktha/nlpstack/pulls{/number}","milestones_url":"https://api.github.com/repos/sbhaktha/nlpstack/milestones{/number}","notifications_url":"https://api.github.com/repos/sbhaktha/nlpstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sbhaktha/nlpstack/labels{/name}","releases_url":"https://api.github.com/repos/sbhaktha/nlpstack/releases{/id}","created_at":"2015-03-09T19:58:42Z","updated_at":"2015-03-09T19:58:43Z","pushed_at":"2015-04-28T00:07:59Z","git_url":"git://github.com/sbhaktha/nlpstack.git","ssh_url":"git@github.com:sbhaktha/nlpstack.git","clone_url":"https://github.com/sbhaktha/nlpstack.git","svn_url":"https://github.com/sbhaktha/nlpstack","homepage":"http://nlpstack.dev.allenai.org:8062/tools.html","size":1606,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"allenai:master","ref":"master","sha":"daca5d6146e6264fed7a907afe7aa4cec7282409","user":{"login":"allenai","id":5667695,"avatar_url":"https://avatars.githubusercontent.com/u/5667695?v=3","gravatar_id":"","url":"https://api.github.com/users/allenai","html_url":"https://github.com/allenai","followers_url":"https://api.github.com/users/allenai/followers","following_url":"https://api.github.com/users/allenai/following{/other_user}","gists_url":"https://api.github.com/users/allenai/gists{/gist_id}","starred_url":"https://api.github.com/users/allenai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenai/subscriptions","organizations_url":"https://api.github.com/users/allenai/orgs","repos_url":"https://api.github.com/users/allenai/repos","events_url":"https://api.github.com/users/allenai/events{/privacy}","received_events_url":"https://api.github.com/users/allenai/received_events","type":"Organization","site_admin":false},"repo":{"id":13838096,"name":"nlpstack","full_name":"allenai/nlpstack","owner":{"login":"allenai","id":5667695,"avatar_url":"https://avatars.githubusercontent.com/u/5667695?v=3","gravatar_id":"","url":"https://api.github.com/users/allenai","html_url":"https://github.com/allenai","followers_url":"https://api.github.com/users/allenai/followers","following_url":"https://api.github.com/users/allenai/following{/other_user}","gists_url":"https://api.github.com/users/allenai/gists{/gist_id}","starred_url":"https://api.github.com/users/allenai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenai/subscriptions","organizations_url":"https://api.github.com/users/allenai/orgs","repos_url":"https://api.github.com/users/allenai/repos","events_url":"https://api.github.com/users/allenai/events{/privacy}","received_events_url":"https://api.github.com/users/allenai/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/allenai/nlpstack","description":"NLP toolkit (tokenizer, POS-tagger, parser, etc.)","fork":false,"url":"https://api.github.com/repos/allenai/nlpstack","forks_url":"https://api.github.com/repos/allenai/nlpstack/forks","keys_url":"https://api.github.com/repos/allenai/nlpstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allenai/nlpstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allenai/nlpstack/teams","hooks_url":"https://api.github.com/repos/allenai/nlpstack/hooks","issue_events_url":"https://api.github.com/repos/allenai/nlpstack/issues/events{/number}","events_url":"https://api.github.com/repos/allenai/nlpstack/events","assignees_url":"https://api.github.com/repos/allenai/nlpstack/assignees{/user}","branches_url":"https://api.github.com/repos/allenai/nlpstack/branches{/branch}","tags_url":"https://api.github.com/repos/allenai/nlpstack/tags","blobs_url":"https://api.github.com/repos/allenai/nlpstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allenai/nlpstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allenai/nlpstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/allenai/nlpstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allenai/nlpstack/statuses/{sha}","languages_url":"https://api.github.com/repos/allenai/nlpstack/languages","stargazers_url":"https://api.github.com/repos/allenai/nlpstack/stargazers","contributors_url":"https://api.github.com/repos/allenai/nlpstack/contributors","subscribers_url":"https://api.github.com/repos/allenai/nlpstack/subscribers","subscription_url":"https://api.github.com/repos/allenai/nlpstack/subscription","commits_url":"https://api.github.com/repos/allenai/nlpstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/allenai/nlpstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/allenai/nlpstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/allenai/nlpstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/allenai/nlpstack/contents/{+path}","compare_url":"https://api.github.com/repos/allenai/nlpstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allenai/nlpstack/merges","archive_url":"https://api.github.com/repos/allenai/nlpstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allenai/nlpstack/downloads","issues_url":"https://api.github.com/repos/allenai/nlpstack/issues{/number}","pulls_url":"https://api.github.com/repos/allenai/nlpstack/pulls{/number}","milestones_url":"https://api.github.com/repos/allenai/nlpstack/milestones{/number}","notifications_url":"https://api.github.com/repos/allenai/nlpstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allenai/nlpstack/labels{/name}","releases_url":"https://api.github.com/repos/allenai/nlpstack/releases{/id}","created_at":"2013-10-24T16:43:22Z","updated_at":"2015-04-23T19:02:05Z","pushed_at":"2015-04-24T16:31:17Z","git_url":"git://github.com/allenai/nlpstack.git","ssh_url":"git@github.com:allenai/nlpstack.git","clone_url":"https://github.com/allenai/nlpstack.git","svn_url":"https://github.com/allenai/nlpstack","homepage":"http://nlpstack.dev.allenai.org:8062/tools.html","size":3277,"stargazers_count":6,"watchers_count":6,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":21,"forks":5,"open_issues":21,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/allenai/nlpstack/pulls/131"},"html":{"href":"https://github.com/allenai/nlpstack/pull/131"},"issue":{"href":"https://api.github.com/repos/allenai/nlpstack/issues/131"},"comments":{"href":"https://api.github.com/repos/allenai/nlpstack/issues/131/comments"},"review_comments":{"href":"https://api.github.com/repos/allenai/nlpstack/pulls/131/comments"},"review_comment":{"href":"https://api.github.com/repos/allenai/nlpstack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/allenai/nlpstack/pulls/131/commits"},"statuses":{"href":"https://api.github.com/repos/allenai/nlpstack/statuses/b2091b4af92794214aef9c4a4500b8fdd1e9878a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":448,"deletions":28,"changed_files":8}}