{"action":"closed","number":532,"pull_request":{"url":"https://api.github.com/repos/korpling/ANNIS/pulls/532","id":85835395,"html_url":"https://github.com/korpling/ANNIS/pull/532","diff_url":"https://github.com/korpling/ANNIS/pull/532.diff","patch_url":"https://github.com/korpling/ANNIS/pull/532.patch","issue_url":"https://api.github.com/repos/korpling/ANNIS/issues/532","number":532,"state":"closed","locked":false,"title":"Implement templating for grid issue #530","user":{"login":"zangsir","id":4996391,"avatar_url":"https://avatars.githubusercontent.com/u/4996391?v=3","gravatar_id":"","url":"https://api.github.com/users/zangsir","html_url":"https://github.com/zangsir","followers_url":"https://api.github.com/users/zangsir/followers","following_url":"https://api.github.com/users/zangsir/following{/other_user}","gists_url":"https://api.github.com/users/zangsir/gists{/gist_id}","starred_url":"https://api.github.com/users/zangsir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zangsir/subscriptions","organizations_url":"https://api.github.com/users/zangsir/orgs","repos_url":"https://api.github.com/users/zangsir/repos","events_url":"https://api.github.com/users/zangsir/events{/privacy}","received_events_url":"https://api.github.com/users/zangsir/received_events","type":"User","site_admin":false},"body":"implemented and tested grid templates functionality (issue #530 ). This enables parsing of templates (including html templates) instructions in resolver_vis_map, for example, this test line in the resolver_vis_map of GUM will turn all cases of \"person\" entity into \":)\" and make all infstat bold font:\r\n\r\nGUM\tNULL\tref\tnode\tgrid\treferents (grid)\thidden\t4\tannos:/ref::coref_val/,/ref::entity/,/ref::infstat/;templates:entity=\"person\"==>:)||infstat==><b>%%value%%</b>;escape_html:false\r\n\r\nThese two cases illustrates the two different cases to be handled: in the entity='person' case, we need to iterate until we find the specific value ('person') we're looking for and replace; and in the second case, we just need to find the row with the key value (infstat) and replace all annotation values. The implementation reflects the handling of these two cases. For screenshots of example test cases in ANNIS GUI query results using this example resolver_vis_map configuration, see http://zangsir.altervista.org/displayPics.php.\r\n","created_at":"2016-09-19T17:28:20Z","updated_at":"2016-10-12T09:38:07Z","closed_at":"2016-10-12T09:38:07Z","merged_at":"2016-10-12T09:38:07Z","merge_commit_sha":"1a8f4ab0b75b0a629da931fc9fa5437d911ce425","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/korpling/ANNIS/pulls/532/commits","review_comments_url":"https://api.github.com/repos/korpling/ANNIS/pulls/532/comments","review_comment_url":"https://api.github.com/repos/korpling/ANNIS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/korpling/ANNIS/issues/532/comments","statuses_url":"https://api.github.com/repos/korpling/ANNIS/statuses/72eb5ba5d3e9e0d70d10713c89317e516bd42ed3","head":{"label":"zangsir:develop","ref":"develop","sha":"72eb5ba5d3e9e0d70d10713c89317e516bd42ed3","user":{"login":"zangsir","id":4996391,"avatar_url":"https://avatars.githubusercontent.com/u/4996391?v=3","gravatar_id":"","url":"https://api.github.com/users/zangsir","html_url":"https://github.com/zangsir","followers_url":"https://api.github.com/users/zangsir/followers","following_url":"https://api.github.com/users/zangsir/following{/other_user}","gists_url":"https://api.github.com/users/zangsir/gists{/gist_id}","starred_url":"https://api.github.com/users/zangsir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zangsir/subscriptions","organizations_url":"https://api.github.com/users/zangsir/orgs","repos_url":"https://api.github.com/users/zangsir/repos","events_url":"https://api.github.com/users/zangsir/events{/privacy}","received_events_url":"https://api.github.com/users/zangsir/received_events","type":"User","site_admin":false},"repo":{"id":23714146,"name":"ANNIS","full_name":"zangsir/ANNIS","owner":{"login":"zangsir","id":4996391,"avatar_url":"https://avatars.githubusercontent.com/u/4996391?v=3","gravatar_id":"","url":"https://api.github.com/users/zangsir","html_url":"https://github.com/zangsir","followers_url":"https://api.github.com/users/zangsir/followers","following_url":"https://api.github.com/users/zangsir/following{/other_user}","gists_url":"https://api.github.com/users/zangsir/gists{/gist_id}","starred_url":"https://api.github.com/users/zangsir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zangsir/subscriptions","organizations_url":"https://api.github.com/users/zangsir/orgs","repos_url":"https://api.github.com/users/zangsir/repos","events_url":"https://api.github.com/users/zangsir/events{/privacy}","received_events_url":"https://api.github.com/users/zangsir/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zangsir/ANNIS","description":"ANNIS is an open source, versatile web browser-based search and visualization architecture for complex multilevel linguistic corpora with diverse types of annotation.","fork":true,"url":"https://api.github.com/repos/zangsir/ANNIS","forks_url":"https://api.github.com/repos/zangsir/ANNIS/forks","keys_url":"https://api.github.com/repos/zangsir/ANNIS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zangsir/ANNIS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zangsir/ANNIS/teams","hooks_url":"https://api.github.com/repos/zangsir/ANNIS/hooks","issue_events_url":"https://api.github.com/repos/zangsir/ANNIS/issues/events{/number}","events_url":"https://api.github.com/repos/zangsir/ANNIS/events","assignees_url":"https://api.github.com/repos/zangsir/ANNIS/assignees{/user}","branches_url":"https://api.github.com/repos/zangsir/ANNIS/branches{/branch}","tags_url":"https://api.github.com/repos/zangsir/ANNIS/tags","blobs_url":"https://api.github.com/repos/zangsir/ANNIS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zangsir/ANNIS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zangsir/ANNIS/git/refs{/sha}","trees_url":"https://api.github.com/repos/zangsir/ANNIS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zangsir/ANNIS/statuses/{sha}","languages_url":"https://api.github.com/repos/zangsir/ANNIS/languages","stargazers_url":"https://api.github.com/repos/zangsir/ANNIS/stargazers","contributors_url":"https://api.github.com/repos/zangsir/ANNIS/contributors","subscribers_url":"https://api.github.com/repos/zangsir/ANNIS/subscribers","subscription_url":"https://api.github.com/repos/zangsir/ANNIS/subscription","commits_url":"https://api.github.com/repos/zangsir/ANNIS/commits{/sha}","git_commits_url":"https://api.github.com/repos/zangsir/ANNIS/git/commits{/sha}","comments_url":"https://api.github.com/repos/zangsir/ANNIS/comments{/number}","issue_comment_url":"https://api.github.com/repos/zangsir/ANNIS/issues/comments{/number}","contents_url":"https://api.github.com/repos/zangsir/ANNIS/contents/{+path}","compare_url":"https://api.github.com/repos/zangsir/ANNIS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zangsir/ANNIS/merges","archive_url":"https://api.github.com/repos/zangsir/ANNIS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zangsir/ANNIS/downloads","issues_url":"https://api.github.com/repos/zangsir/ANNIS/issues{/number}","pulls_url":"https://api.github.com/repos/zangsir/ANNIS/pulls{/number}","milestones_url":"https://api.github.com/repos/zangsir/ANNIS/milestones{/number}","notifications_url":"https://api.github.com/repos/zangsir/ANNIS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zangsir/ANNIS/labels{/name}","releases_url":"https://api.github.com/repos/zangsir/ANNIS/releases{/id}","deployments_url":"https://api.github.com/repos/zangsir/ANNIS/deployments","created_at":"2014-09-05T18:38:44Z","updated_at":"2016-04-29T16:35:53Z","pushed_at":"2016-09-19T17:21:29Z","git_url":"git://github.com/zangsir/ANNIS.git","ssh_url":"git@github.com:zangsir/ANNIS.git","clone_url":"https://github.com/zangsir/ANNIS.git","svn_url":"https://github.com/zangsir/ANNIS","homepage":"http://www.sfb632.uni-potsdam.de/annis/","size":317029,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"korpling:develop","ref":"develop","sha":"4de11bc414e8dc1e4dd236c321444448cf0a1f99","user":{"login":"korpling","id":2168128,"avatar_url":"https://avatars.githubusercontent.com/u/2168128?v=3","gravatar_id":"","url":"https://api.github.com/users/korpling","html_url":"https://github.com/korpling","followers_url":"https://api.github.com/users/korpling/followers","following_url":"https://api.github.com/users/korpling/following{/other_user}","gists_url":"https://api.github.com/users/korpling/gists{/gist_id}","starred_url":"https://api.github.com/users/korpling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/korpling/subscriptions","organizations_url":"https://api.github.com/users/korpling/orgs","repos_url":"https://api.github.com/users/korpling/repos","events_url":"https://api.github.com/users/korpling/events{/privacy}","received_events_url":"https://api.github.com/users/korpling/received_events","type":"Organization","site_admin":false},"repo":{"id":5449546,"name":"ANNIS","full_name":"korpling/ANNIS","owner":{"login":"korpling","id":2168128,"avatar_url":"https://avatars.githubusercontent.com/u/2168128?v=3","gravatar_id":"","url":"https://api.github.com/users/korpling","html_url":"https://github.com/korpling","followers_url":"https://api.github.com/users/korpling/followers","following_url":"https://api.github.com/users/korpling/following{/other_user}","gists_url":"https://api.github.com/users/korpling/gists{/gist_id}","starred_url":"https://api.github.com/users/korpling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/korpling/subscriptions","organizations_url":"https://api.github.com/users/korpling/orgs","repos_url":"https://api.github.com/users/korpling/repos","events_url":"https://api.github.com/users/korpling/events{/privacy}","received_events_url":"https://api.github.com/users/korpling/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/korpling/ANNIS","description":"ANNIS is an open source, versatile web browser-based search and visualization architecture for complex multilevel linguistic corpora with diverse types of annotation.","fork":false,"url":"https://api.github.com/repos/korpling/ANNIS","forks_url":"https://api.github.com/repos/korpling/ANNIS/forks","keys_url":"https://api.github.com/repos/korpling/ANNIS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/korpling/ANNIS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/korpling/ANNIS/teams","hooks_url":"https://api.github.com/repos/korpling/ANNIS/hooks","issue_events_url":"https://api.github.com/repos/korpling/ANNIS/issues/events{/number}","events_url":"https://api.github.com/repos/korpling/ANNIS/events","assignees_url":"https://api.github.com/repos/korpling/ANNIS/assignees{/user}","branches_url":"https://api.github.com/repos/korpling/ANNIS/branches{/branch}","tags_url":"https://api.github.com/repos/korpling/ANNIS/tags","blobs_url":"https://api.github.com/repos/korpling/ANNIS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/korpling/ANNIS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/korpling/ANNIS/git/refs{/sha}","trees_url":"https://api.github.com/repos/korpling/ANNIS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/korpling/ANNIS/statuses/{sha}","languages_url":"https://api.github.com/repos/korpling/ANNIS/languages","stargazers_url":"https://api.github.com/repos/korpling/ANNIS/stargazers","contributors_url":"https://api.github.com/repos/korpling/ANNIS/contributors","subscribers_url":"https://api.github.com/repos/korpling/ANNIS/subscribers","subscription_url":"https://api.github.com/repos/korpling/ANNIS/subscription","commits_url":"https://api.github.com/repos/korpling/ANNIS/commits{/sha}","git_commits_url":"https://api.github.com/repos/korpling/ANNIS/git/commits{/sha}","comments_url":"https://api.github.com/repos/korpling/ANNIS/comments{/number}","issue_comment_url":"https://api.github.com/repos/korpling/ANNIS/issues/comments{/number}","contents_url":"https://api.github.com/repos/korpling/ANNIS/contents/{+path}","compare_url":"https://api.github.com/repos/korpling/ANNIS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/korpling/ANNIS/merges","archive_url":"https://api.github.com/repos/korpling/ANNIS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/korpling/ANNIS/downloads","issues_url":"https://api.github.com/repos/korpling/ANNIS/issues{/number}","pulls_url":"https://api.github.com/repos/korpling/ANNIS/pulls{/number}","milestones_url":"https://api.github.com/repos/korpling/ANNIS/milestones{/number}","notifications_url":"https://api.github.com/repos/korpling/ANNIS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/korpling/ANNIS/labels{/name}","releases_url":"https://api.github.com/repos/korpling/ANNIS/releases{/id}","deployments_url":"https://api.github.com/repos/korpling/ANNIS/deployments","created_at":"2012-08-17T08:03:40Z","updated_at":"2016-09-07T10:21:19Z","pushed_at":"2016-10-12T09:38:07Z","git_url":"git://github.com/korpling/ANNIS.git","ssh_url":"git@github.com:korpling/ANNIS.git","clone_url":"https://github.com/korpling/ANNIS.git","svn_url":"https://github.com/korpling/ANNIS","homepage":"http://annis-tools.org","size":174460,"stargazers_count":25,"watchers_count":25,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":19,"mirror_url":null,"open_issues_count":74,"forks":19,"open_issues":74,"watchers":25,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/korpling/ANNIS/pulls/532"},"html":{"href":"https://github.com/korpling/ANNIS/pull/532"},"issue":{"href":"https://api.github.com/repos/korpling/ANNIS/issues/532"},"comments":{"href":"https://api.github.com/repos/korpling/ANNIS/issues/532/comments"},"review_comments":{"href":"https://api.github.com/repos/korpling/ANNIS/pulls/532/comments"},"review_comment":{"href":"https://api.github.com/repos/korpling/ANNIS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/korpling/ANNIS/pulls/532/commits"},"statuses":{"href":"https://api.github.com/repos/korpling/ANNIS/statuses/72eb5ba5d3e9e0d70d10713c89317e516bd42ed3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"thomaskrause","id":2168104,"avatar_url":"https://avatars.githubusercontent.com/u/2168104?v=3","gravatar_id":"","url":"https://api.github.com/users/thomaskrause","html_url":"https://github.com/thomaskrause","followers_url":"https://api.github.com/users/thomaskrause/followers","following_url":"https://api.github.com/users/thomaskrause/following{/other_user}","gists_url":"https://api.github.com/users/thomaskrause/gists{/gist_id}","starred_url":"https://api.github.com/users/thomaskrause/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomaskrause/subscriptions","organizations_url":"https://api.github.com/users/thomaskrause/orgs","repos_url":"https://api.github.com/users/thomaskrause/repos","events_url":"https://api.github.com/users/thomaskrause/events{/privacy}","received_events_url":"https://api.github.com/users/thomaskrause/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":4,"additions":100,"deletions":21,"changed_files":1}}
{"actor":{"display_login":"thomaskrause"}}