{"action":"created","issue":{"url":"https://api.github.com/repos/nltk/nltk/issues/891","labels_url":"https://api.github.com/repos/nltk/nltk/issues/891/labels{/name}","comments_url":"https://api.github.com/repos/nltk/nltk/issues/891/comments","events_url":"https://api.github.com/repos/nltk/nltk/issues/891/events","html_url":"https://github.com/nltk/nltk/pull/891","id":58204315,"number":891,"title":"Adding _repr_svg_ for Ipython notebook","user":{"login":"oplatek","id":229266,"avatar_url":"https://avatars.githubusercontent.com/u/229266?v=3","gravatar_id":"","url":"https://api.github.com/users/oplatek","html_url":"https://github.com/oplatek","followers_url":"https://api.github.com/users/oplatek/followers","following_url":"https://api.github.com/users/oplatek/following{/other_user}","gists_url":"https://api.github.com/users/oplatek/gists{/gist_id}","starred_url":"https://api.github.com/users/oplatek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oplatek/subscriptions","organizations_url":"https://api.github.com/users/oplatek/orgs","repos_url":"https://api.github.com/users/oplatek/repos","events_url":"https://api.github.com/users/oplatek/events{/privacy}","received_events_url":"https://api.github.com/users/oplatek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-02-19T12:52:56Z","updated_at":"2015-03-12T01:55:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nltk/nltk/pulls/891","html_url":"https://github.com/nltk/nltk/pull/891","diff_url":"https://github.com/nltk/nltk/pull/891.diff","patch_url":"https://github.com/nltk/nltk/pull/891.patch"},"body":"The _repr_svg is implemented using dot and graphviz.\r\nUsage in IPython notebook:\r\n\r\nfrom IPython.display import display\r\nimport nltk.parse.dependencygraph as depgraph\r\ndg = depgraph.DependencyGraph(depgraph.conll_data1)\r\ndisplay(dg)\r\n\r\nShould draw the dependency graph for the sentence\r\n\r\ndraw_dot is based on @gmonce code https://github.com/pln-fing-udelar/pln_inco/blob/master/syntax_trees.py#L52"},"comment":{"url":"https://api.github.com/repos/nltk/nltk/issues/comments/78410293","html_url":"https://github.com/nltk/nltk/pull/891#issuecomment-78410293","issue_url":"https://api.github.com/repos/nltk/nltk/issues/891","id":78410293,"user":{"login":"stevenbird","id":55406,"avatar_url":"https://avatars.githubusercontent.com/u/55406?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenbird","html_url":"https://github.com/stevenbird","followers_url":"https://api.github.com/users/stevenbird/followers","following_url":"https://api.github.com/users/stevenbird/following{/other_user}","gists_url":"https://api.github.com/users/stevenbird/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenbird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenbird/subscriptions","organizations_url":"https://api.github.com/users/stevenbird/orgs","repos_url":"https://api.github.com/users/stevenbird/repos","events_url":"https://api.github.com/users/stevenbird/events{/privacy}","received_events_url":"https://api.github.com/users/stevenbird/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T01:55:27Z","updated_at":"2015-03-12T01:55:27Z","body":"@gmonce thanks for the clarification."}}