{"action":"created","issue":{"url":"https://api.github.com/repos/nltk/nltk/issues/944","labels_url":"https://api.github.com/repos/nltk/nltk/issues/944/labels{/name}","comments_url":"https://api.github.com/repos/nltk/nltk/issues/944/comments","events_url":"https://api.github.com/repos/nltk/nltk/issues/944/events","html_url":"https://github.com/nltk/nltk/pull/944","id":67261183,"number":944,"title":"Stabilized MaltParser API","user":{"login":"alvations","id":1050316,"avatar_url":"https://avatars.githubusercontent.com/u/1050316?v=3","gravatar_id":"","url":"https://api.github.com/users/alvations","html_url":"https://github.com/alvations","followers_url":"https://api.github.com/users/alvations/followers","following_url":"https://api.github.com/users/alvations/following{/other_user}","gists_url":"https://api.github.com/users/alvations/gists{/gist_id}","starred_url":"https://api.github.com/users/alvations/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvations/subscriptions","organizations_url":"https://api.github.com/users/alvations/orgs","repos_url":"https://api.github.com/users/alvations/repos","events_url":"https://api.github.com/users/alvations/events{/privacy}","received_events_url":"https://api.github.com/users/alvations/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":12,"created_at":"2015-04-09T02:03:58Z","updated_at":"2015-06-09T00:31:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nltk/nltk/pulls/944","html_url":"https://github.com/nltk/nltk/pull/944","diff_url":"https://github.com/nltk/nltk/pull/944.diff","patch_url":"https://github.com/nltk/nltk/pull/944.patch"},"body":"From #943, \r\n\r\nMaltParser was requiring all sorts of weird `os.environ` to make it find the binary and then call jar file with environment java classpath.\r\n - The new API requires only where the user saves his/her installed version of maltparser and finds the jar files using `os.walk` and uses full classpath and `org.maltparser.Malt` to call Maltparser instead of -jar\r\n - Also the `generate_malt_command` makes updating the API to suit Maltparser easier.\r\n\r\nI've tried with `Maltparser-1.7.2` and `Maltparser-1.8`\r\n"},"comment":{"url":"https://api.github.com/repos/nltk/nltk/issues/comments/110181011","html_url":"https://github.com/nltk/nltk/pull/944#issuecomment-110181011","issue_url":"https://api.github.com/repos/nltk/nltk/issues/944","id":110181011,"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-06-09T00:31:48Z","updated_at":"2015-06-09T00:31:48Z","body":"Thanks @alvations and @dimazest.\r\n\r\nIf either of you has time it would be nice to include a doctest with little demonstration in the docstring for the MaltParser class, cf: https://github.com/nltk/nltk/blob/develop/nltk/tag/stanford.py#L120\r\n"}}